UtcOffset

newtype UtcOffset: short

Fixed offset from UTC, stored as signed minutes east of UTC.

Remarks

Valid offsets are in the range -1080..+1080.

Instance members

short
getHours()
property

Gets the signed whole-hour component.

byte
getMinutes()
property

Gets the absolute minute component.

short

Gets the total signed offset minutes.

bool

Returns true when this offset is in the valid range.

prep char[]

Formats a UTC offset as Z or +HH:MM.

Static members

UtcOffset

Creates an offset from hours and minutes.

const UtcOffset

Invalid UTC offset sentinel.

const UtcOffset

Zero UTC offset.

Generated with campc 0.11.0-preview.1.