Constructors
Accessors
date
- get date(): IsoDate
dayOfMonth
- get dayOfMonth(): number
Returns number
dayOfWeek
- get dayOfWeek(): IsoWeekday
dayOfYear
- get dayOfYear(): number
Returns number
daysInMonth
- get daysInMonth(): number
Returns number
daysInYear
- get daysInYear(): number
Returns number
ffiValue
- get ffiValue(): number
Returns number
hour
- get hour(): number
Returns number
isInLeapYear
- get isInLeapYear(): boolean
Returns boolean
minute
- get minute(): number
Returns number
month
- get month(): number
Returns number
monthsInYear
- get monthsInYear(): number
Returns number
nanosecond
- get nanosecond(): number
Returns number
second
- get second(): number
Returns number
time
- get time(): Time
year
- get year(): number
Returns number
Methods
toAny
- toAny(): DateTime
toCalendar
- toCalendar(calendar): DateTime
weekOfMonth
- weekOfMonth(firstWeekday): number
Returns number
weekOfYear
- weekOfYear(calculator): WeekOf
Static
create
- create(year, month, day, hour, minute, second, nanosecond): IsoDateTime
Parameters
- year: number
- month: number
- day: number
- hour: number
- minute: number
- second: number
- nanosecond: number
Static
fromDateAndTime
- fromDateAndTime(date, time): IsoDateTime
Static
fromString
- fromString(v): IsoDateTime
An ICU4X DateTime object capable of containing a ISO-8601 date and time.
See the Rust documentation for
DateTime
for more information.