Time-zone aware classes as a complement to https://github.com/ColinEberhardt/assemblyscript-temporal
This is very much a work-in-progress!
Constructor
- new Temporal.ZonedDateTime
Static methods
- from
- compare
Properties
- year
- month
- day
- hour
- minute
- second
- millisecond
- microsecond
- nanosecond
- epochSeconds
- epochMilliseconds
- epochMicroseconds
- epochNanoseconds
- calendar
- timeZone
- era
- eraYear
- dayOfWeek
- dayOfYear
- weekOfYear
- daysInWeek
- daysInMonth
- daysInYear
- monthsInYear
- inLeapYear
- hoursInDay
- startOfDay
- offsetNanoseconds
- offset
Methods
- with
- withPlainTime
- withPlainDate
- withTimeZone
- withCalendar
- add
- subtract
- until
- since
- round
- equals
- toString
- toLocaleString
- toJSON
- valueOf
- toInstant
- toPlainTime
- toPlainDateTime
- toPlainYearMonth
- toPlainMonthDay
- getISOFields
Constructor
- new Temporal.TimeZone
Static methods
- from
Properties
- id
Methods
- getOffsetNanosecondsFor
- getOffsetStringFor
- getPlainDateTimeFor
- getInstantFor
- getPossibleInstantsFor
- getNextTransition
- getPreviousTransition
- toString
- toJSON
Features
- regional / zoned timezones
- fixed UTC offsets