Instant
newtype Instant: longUTC instant stored as milliseconds since the Unix epoch.
Instance members
Instant
Adds a duration.
nuint
format(in Instant this, overload char[] buffer)
ascribes CharFormatteroverload
Formats an instant as UTC ISO text with a trailing Z.
OffsetDateTime
Converts this instant to a date and time at a fixed UTC offset.
long
getUnixMs()
property
Gets Unix milliseconds.
long
getUnixSeconds()
property
Gets Unix seconds, truncated toward zero.
DateTime
getUtcDateTime()
property
Converts this instant to a UTC date and time.
bool
Returns true when this value is not INVALID.
TimeSpan
Gets the duration between an earlier instant and this instant.
Instant
Subtracts a duration.
Static members
Instant
Creates an instant from Unix milliseconds.
Instant
Creates an instant from Unix seconds.
const Instant
Invalid instant sentinel.
const Instant
Unix epoch instant.
Instant
Gets the current UTC instant.
Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.