UtcOffset
newtype UtcOffset: shortFixed offset from UTC, stored as signed minutes east of UTC.
Remarks
Valid offsets are in the range -1080..+1080.
Instance members
nuint
format(in UtcOffset this, overload char[] buffer)
ascribes CharFormatteroverload
Formats a UTC offset as Z or +HH:MM.
short
getHours()
property
Gets the signed whole-hour component.
byte
getMinutes()
property
Gets the absolute minute component.
short
getTotalMinutes()
property
Gets the total signed offset minutes.
bool
Returns true when this offset is in the valid range.
Static members
UtcOffset
Creates an offset from hours and minutes.
const UtcOffset
Invalid UTC offset sentinel.
const UtcOffset
Zero UTC offset.
Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.