eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'JavaScriptEnvironment::Date':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Date (private in JavaScriptEnvironment

This class is only visible from within JavaScriptEnvironment.

Inheritance:

   Object
   |
   +--Magnitude
      |
      +--AbstractTime
         |
         +--Timestamp
            |
            +--JavaScriptEnvironment::Date

Package:
stx:libjavascript
Category:
Languages-JavaScript-Framework
Owner:
JavaScriptEnvironment

Instance protocol:

accessing
o  js_getDate
get the day of month

o  js_getDay
get the day of week

o  js_getHours

o  js_getMinutes

o  js_getMonth

o  js_getSeconds
(comment from inherited method)
return the seconds (0..60)

o  js_getTime

o  js_getTimezoneOffset

o  js_getYear

o  js_setDay: newDay
self now js_setDay:1

o  js_setHour: newHour
self now js_setHour:0

o  js_setMinutes: newMin
self now js_setMinutes:0

o  js_setMonth: newMonth
self now js_setMonth:7

o  js_setSeconds: newSecs
self now js_setSeconds:0

o  js_setYear: newYear
self now js_setYear:2000



ST/X 7.2.0.0; WebServer 1.670 at bd0aa1f87cdd.unknown:8081; Fri, 07 Oct 2022 18:23:23 GMT