Crate radio_datetime_utils

Source
Expand description

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

Modules§

radio_datetime_helpers

Structs§

RadioDateTimeUtils
Represents a date and time transmitted over radio.

Constants§

BIT_BUFFER_SIZE
Size of bit buffer in seconds plus one spare because we cannot know which method accessing the buffer is called after increase_second().
DST_ANNOUNCED
DST change has been announced (mutually exclusive with DST_PROCESSED)
DST_JUMP
unexpected jump in DST state
DST_PROCESSED
DST change has been processed (mutually exclusive with DST_ANNOUNCED)
DST_SUMMER
DST is active
LEAP_ANNOUNCED
Leap second has been announced (mutually exclusive with LEAP_PROCESSED)
LEAP_MISSING
Leap second is unexpectedly absent
LEAP_PROCESSED
Leap second has been processed (mutually exclusive with LEAP_ANNOUNCED)