|
Class: TimeInfo (private in AbstractOperatingSystem
This class is only visible from within
AbstractOperatingSystem.
Object
|
+--AbstractOperatingSystem::TimeInfo
- Package:
- stx:libbasic
- Category:
- System-Support
- Owner:
- AbstractOperatingSystem
This is a helper class to hold the individual parts of the operating system's
timeInfo, i.e. hour,minute,second, etc. components plus tz info, dayInWeek and dayInYear.
accessing
-
at: index
-
backward compatibility
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
day
-
-
dayInWeek
-
-
dayInYear
-
answer of compute the day of the year - if necessary
(it is not set in windows)
** This is an obsolete interface - do not use it (it may vanish in future versions) **
-
dst
-
-
hours
-
-
milliseconds
-
-
milliseconds: something
-
-
minutes
-
-
month
-
-
seconds
-
-
utcOffset
-
return the difference between UTC (Greenwich Mean Time) and the local time in seconds.
If daylight saving time applies to ourself, take that into account.
Add utcOffset to convert from local time to UTC time.
Subtract utcOffset to convert from UTC time to local time.
If utcOffset is negative, the local timezone is east of Greenwich.
If utcOffset is positive, the local timezone is west of Greenwich.
Usage example(s):
(OperatingSystem timeInfoFromSeconds:Timestamp now utcSecondsSince1970 milliseconds:0 localTime:true)
utcOffset
|
-
utcOffset: seconds
-
If utcOffset is negative, the local timezone is east of Greenwich.
If utcOffset is positive, the local timezone is west of Greenwich.
-
year
-
-
year: yearArg month: monthArg day: dayArg hours: hoursArg minutes: minutesArg seconds: secondsArg milliseconds: millisecondsArg utcOffset: utcOffsetArg dst: dstArg dayInYear: dayInYearArg dayInWeek: dayInWeekArg
-
set instance variables (automatically generated)
-
year: yearArg month: monthArg day: dayArg hours: hoursArg minutes: minutesArg seconds: secondsArg utcOffset: utcOffsetArg dst: dstArg dayInYear: dayInYearArg dayInWeek: dayInWeekArg
-
set instance variables (automatically generated)
converting
-
asDate
-
-
asTime
-
|