LocalDateTime object
timezone offset in seconds. Must be in [-64800, 64800] range.
Returns this offset datetime as Date. Note that the timezone information is not stored in Date objects and you effectively get a timestamp.(an instance in time without timezone)
Returns ISO 8601 string with timezone of this instance.
A string in the format yyyy-mm-ddTHH-mm-ss.SSS(Z | (+|-)HH:mm)
Timezone is denoted either with Z
or timezone string like +-HH:mm
Static constructor for convenient construction.
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.
Constructs a new instance from Date and offset seconds.
must be a valid Date. date.getTime()
should be not NaN
Offset in seconds, must be between [-64800, 64800]
Constructs a new instance from ISO 8601 string. The string format is yyyy-mm-ddTHH-mm-ss.SSS(Z | (+|-)HH:mm).
ISO 8601 string with timezone. If timezone is omitted, UTC is assumed
Generated using TypeDoc
Offset datetime object