Expand description

Definition of date/time structures commonly useful for time station decoders. Build with no_std for embedded platforms.

Structs

Represents a date and time transmitted over radio.

Constants

DST change has been announced

unexpected jump in DST state

DST change has been processed

DST is active

Leap second has been announced

Leap second is unexpectedly absent

No leap second expected or present

Leap second bit value is 1 instead of 0

Leap second has been processed

Functions

Returns the BCD-encoded value of the given buffer over the given range, or None if the input is invalid.

Returns even parity of the given buffer over the given range, or None if the input is invalid.

Return the difference in microseconds between two timestamps.