public class Date
Modifier and Type | Field |
---|---|
SystemTime |
_value
|
Modifier and Type | Constructor / Static Method |
---|---|
Date |
constructor()
|
Date |
constructor(SystemTime val)
|
Date |
new(IntNumber year, IntNumber month, IntNumber day, IntNumber hour, IntNumber minute, IntNumber second)
|
Date |
new(IntNumber year, IntNumber month, IntNumber day)
|
Modifier and Type | Static Property |
---|---|
get Date |
Default()
|
get Date |
MinValue()
|
get Date |
Now()
|
get Date |
UtcNow()
|
Modifier and Type | Property |
---|---|
get SystemTime |
SystemTime()
|
get IntNumber |
Year()
|
get IntNumber |
Month()
|
get IntNumber |
Day()
|
get IntNumber |
DayOfWeek()
|
get IntNumber |
Hour()
|
get IntNumber |
Minute()
|
get IntNumber |
Second()
|
get IntNumber |
Millisecond()
|
Modifier and Type | Conversion Method |
---|---|
SystemTime |
cast()
|
TimeStruct |
cast()
|
Modifier and Type | Method |
---|---|
String |
toPrintable()
|
BoolValue |
equal(Date date)
|
BoolValue |
less(Date date)
|
|
subtract(Date dt)
|
|
subtract(Timespan timeSpan)
|
|
add(Timespan timeSpan)
|
|
addYears(IntNumber val)
|
|
addMonths(IntNumber val)
|
|
addDays(IntNumber val)
|
|
addHours(IntNumber val)
|
|
addMinutes(IntNumber val)
|
|
addSeconds(IntNumber val)
|
Date |
clone()
|
public class SystemTime
Modifier and Type | Field |
---|---|
|
_value
|
Modifier and Type | Constructor / Static Method |
---|---|
SystemTime |
constructor(LongNumber value)
|
SystemTime |
constructor(SystemTime value)
|
internal SystemTime |
loadAsTimespan(IntNumber days, IntNumber hours, IntNumber minutes, IntNumber seconds)
|
Modifier and Type | Static Property |
---|---|
get SystemTime |
Default()
|
Modifier and Type | Property |
---|---|
get LongNumber |
Value()
|
Modifier and Type | Method |
---|---|
BoolValue |
equal(SystemTime operand)
|
BoolValue |
less(SystemTime operand)
|
SystemTime |
subtract(SystemTime operand)
|
SystemTime |
add(SystemTime operand)
|
public singleton systemTimeFactory
Modifier and Type | Method |
---|---|
SystemTime |
getUtcNow()
|
SystemTime |
getNow()
|
public class Timespan
Modifier and Type | Field |
---|---|
SystemTime |
_value
|
Modifier and Type | Constructor / Static Method |
---|---|
Timespan |
constructor()
|
Timespan |
constructor(SystemTime val)
|
Timespan |
new(IntNumber hours, IntNumber minutes, IntNumber seconds)
|
Timespan |
new(IntNumber days, IntNumber hours, IntNumber minutes, IntNumber seconds)
|
Modifier and Type | Static Property |
---|---|
get Timespan |
Default()
|
get Timespan |
MinValue()
|
Modifier and Type | Property |
---|---|
get SystemTime |
SystemTime()
|
get IntNumber |
Days()
|
get IntNumber |
Hours()
|
get IntNumber |
Minutes()
|
get IntNumber |
Seconds()
|
get LongNumber |
Milliseconds()
|
Modifier and Type | Method |
---|---|
String |
toPrintable()
|
BoolValue |
equal(Timespan span)
|
BoolValue |
less(Timespan span)
|
|
add(Date date)
|
|
add(Timespan span)
|
|
subtract(Timespan span)
|
Timespan |
clone()
|
public class TimeStruct
Modifier and Type | Field |
---|---|
ShortNumber |
_year
|
ShortNumber |
_month
|
ShortNumber |
_dayOfWeek
|
ShortNumber |
_day
|
ShortNumber |
_hour
|
ShortNumber |
_minute
|
ShortNumber |
_second
|
ShortNumber |
_millisecond
|
Modifier and Type | Constructor / Static Method |
---|---|
TimeStruct |
constructor(SystemTime time)
|
TimeStruct |
constructor()
|
Modifier and Type | Property |
---|---|
get IntNumber |
Year()
|
set |
Year(IntNumber value)
|
get IntNumber |
Month()
|
set |
Month(IntNumber value)
|
get IntNumber |
DayOfWeek()
|
get IntNumber |
Day()
|
set |
Day(IntNumber value)
|
get IntNumber |
Hour()
|
set |
Hour(IntNumber value)
|
get IntNumber |
Minute()
|
set |
Minute(IntNumber value)
|
get IntNumber |
Second()
|
set |
Second(IntNumber value)
|
get IntNumber |
Millisecond()
|
set |
Millisecond(IntNumber value)
|
Modifier and Type | Method |
---|---|
|
readTo(ref SystemTime retVal)
|
WideString |
toShortDate()
|
WideString |
toShortTime()
|
String |
toShortDate(ref String arg1)
|
String |
toShortTime(ref String arg1)
|