TimeOfDay

struct TimeOfDay

Time within a calendar day.

Remarks

The fractional second is stored as fraction / 256.

Instance fields

byte

Fractional-second component.

byte

Hour component.

byte

Minute component.

byte

Second component.

Instance members

nuint
format(const this, overload char[] buffer)
ascribes CharFormatteroverload

Formats this time as HH:MM:SS with optional milliseconds.

ushort
getMs()
property

Gets fractional milliseconds within the current second.

TimeSpan

Gets the duration since midnight.

bool

Returns true when this time has valid hour, minute, and second fields.

Static members

const TimeOfDay

Invalid time-of-day sentinel.

const TimeOfDay

Midnight time-of-day value.

Generated with campc v0.4.0-preview.1+d50446ef951a6ed675f7086cf093dbc993f0041b.