OffsetDateTime
A date and time of day with an offset from UTC.
OffsetDateTime is intended to be used primarily for use cases involving persistence or network transfer where the application of time zone rules may be undesirable. For most applications, ZonedDateTime is a better choice since it takes time zone rules into account when performing calendrical calculations.
Parameters
Constructors
Creates an OffsetDateTime.
Creates an OffsetDateTime.
Creates an OffsetDateTime.
Creates an OffsetDateTime.
Creates an OffsetDateTime by combining a DateTime and UtcOffset.
Types
Functions
Properties
The number of additional nanoseconds on top of secondsSinceUnixEpoch.
The day of the month.
The millisecond of the Unix epoch.
The number of milliseconds since the Unix epoch of 1970-01-01T00:00Z.
The ISO month number, from 1-12.
The nanosecond of the second.
The second of the Unix epoch.
The number of seconds since the Unix epoch of 1970-01-01T00:00Z.