Constructors
Accessors
ffiValue
- get ffiValue(): number
Returns number
getLocalTime
- get getLocalTime(): IsoDateTime
isDaylightTime
- get isDaylightTime(): boolean
Returns boolean
isOffsetNonNegative
- get isOffsetNonNegative(): boolean
Returns boolean
isOffsetZero
- get isOffsetZero(): boolean
Returns boolean
isStandardTime
- get isStandardTime(): boolean
Returns boolean
localTime
- set localTime(datetime): void
Returns void
offsetHoursPart
- get offsetHoursPart(): number
Returns number
offsetMinutesPart
- get offsetMinutesPart(): number
Returns number
offsetSeconds
- get offsetSeconds(): number
Returns number
offsetSecondsPart
- get offsetSecondsPart(): number
Returns number
timeZoneId
- get timeZoneId(): string
Returns string
Methods
clearLocalTime
- clearLocalTime(): void
Returns void
clearOffset
- clearOffset(): void
Returns void
clearZoneVariant
- clearZoneVariant(): void
Returns void
offsetEighthsOfHour
- offsetEighthsOfHour(): number
Returns number
setDaylightTime
- setDaylightTime(): void
Returns void
setIanaTimeZoneId
- setIanaTimeZoneId(mapper, id): void
Returns void
setOffsetEighthsOfHour
- setOffsetEighthsOfHour(offsetEighthsOfHour): void
Parameters
- offsetEighthsOfHour: number
Returns void
setStandardTime
- setStandardTime(): void
Returns void
setTimeZoneId
- setTimeZoneId(id): void
Returns void
trySetOffsetSeconds
- trySetOffsetSeconds(offsetSeconds): void
Returns void
trySetOffsetStr
- trySetOffsetStr(offset): void
Returns void
Static
fromParts
- fromParts(bcp47Id, offsetSeconds, dst): TimeZoneInfo
Parameters
- bcp47Id: string
- offsetSeconds: number
- dst: boolean
See the Rust documentation for
TimeZoneInfo
for more information.