TypeError if type of arguments are invalid
LocalDateTime object
timezone offset in seconds. Must be in [-64800, 64800] range.
Readonly localLocalDateTime object
Readonly offsettimezone offset in seconds. Must be in [-64800, 64800] range.
Static fromStatic constructor for convenient construction.
TypeError if passed arguments are of wrong type
RangeError if value of any of the arguments are invalid
Must be between -999999999-999999999
Must be between 1-12
Must be between 1-31 depending on year and month
The hour-of-day to represent, from 0 to 23
The minute-of-hour to represent, from 0 to 59
The second-of-minute to represent, from 0 to 59
The nano-of-second to represent, from 0 to 999,999,999
timezone offset in seconds. Must be in [-64800, 64800] range.
Static fromConstructs a new instance from Date and offset seconds.
TypeError if a wrong type is passed as argument
RangeError if an invalid argument value is passed
must be a valid Date. date.getTime() should be not NaN
Offset in seconds, must be between [-64800, 64800]
Static fromConstructs a new instance from ISO 8601 string. The string format is yyyy-mm-ddTHH-mm-ss.SSS(Z | (+|-)HH:mm).
TypeError if passed value is not a string
RangeError if passed string is invalid
ISO 8601 string with timezone. If timezone is omitted, UTC is assumed
Generated using TypeDoc
Offset datetime object