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

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.

nuint

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

Static members

const TimeOfDay

Invalid time-of-day sentinel.

const TimeOfDay

Midnight time-of-day value.

Generated with campc v0.6.0-preview.1+4dde68eca4014e9b19e7d7ad0fdae6b2036be640.