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
      |
      +--AbstractChronologyObject
         |
         +--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_getFullYear
(comment from inherited method)
return the Javascript year.
For JavaScript only:
Generated for getFullYear() in javascript.
See JavaScriptParser >> commonTranslatedSelectorFor:jsSelector

o  js_getHours
(comment from inherited method)
return the hours (0..24).
For JavaScript only:
Generated for getHours() in javascript.
See JavaScriptParser >> commonTranslatedSelectorFor:jsSelector

o  js_getMinutes
(comment from inherited method)
return the minutes (0..60).
For JavaScript only:
Generated for getMinutes() in javascript.
See JavaScriptParser >> commonTranslatedSelectorFor:jsSelector

o  js_getMonth
(comment from inherited method)
return the Javascript day of the month (1..12).
For JavaScript only:
Generated for getMonth() in javascript.
See JavaScriptParser >> commonTranslatedSelectorFor:jsSelector

o  js_getSeconds
(comment from inherited method)
return the seconds (0..60).
For JavaScript only:
Generated for getSeconds() in javascript.
See JavaScriptParser >> commonTranslatedSelectorFor:jsSelector

o  js_getTime

o  js_getTimezoneOffset

o  js_getYear
(comment from inherited method)
return the Javascript year relative to 1900 (eg. 95 for 1995 or 118 for 2018).
For JavaScript only:
Generated for getYear() in javascript.
See JavaScriptParser >> commonTranslatedSelectorFor:jsSelector

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.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 08:32:09 GMT