OffsetDateTime
struct OffsetDateTimeCalendar date and time with a fixed UTC offset.
Remarks
This value can be converted to an Instant without named time-zone rules.
Lifecycle members
constructor
Creates an offset date and time from field values.
Instance fields
Instance members
nuint
format(const this, overload char[] buffer)
ascribes CharFormatteroverload
Formats this value as ISO offset date-time text.
bool
Returns true when the local date-time and offset components are valid.
Instant
Converts this value to an instant.
Static members
const OffsetDateTime
Invalid offset date-time sentinel.
OffsetDateTime
Gets the current system civil date and time with the current system UTC offset.
OffsetDateTime
Gets the current UTC date and time.
Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.