Struct dcf77::DCF77Time [] [src]

pub struct DCF77Time(pub u64);

A structure to facilitate the decoding of a DCF77 signal which consists of 59 consecutive bits of data

Methods

impl DCF77Time
[src]

[src]

Generate an empty value for the storage of the DCF77 data

[src]

Validate the correct value of the start bit

[src]

Return whether summer time is signalled (without verifying the information)

[src]

Return whether summer time is signalled with verification of the counter bit

[src]

Return the current minutes of the hour (without verifying the information)

[src]

Return the current minutes of the hour and verify parity and value < 60

[src]

Return the current hours of the day (without verifying the information)

[src]

Return the current hours of the day and verify parity and value < 23

[src]

Return the current day of month (without verifying the information)

[src]

Return the current day of month and do a basic value check

[src]

Return the current day of the week (without verifying the information) 0 meaning Monday

[src]

Return the current month of the year (without verifying the information)

[src]

Return the current year (without verifying the information)

[src]

Return a tuple of (year, month, day, weekday) if it passes a parity check

Trait Implementations

Auto Trait Implementations

impl Send for DCF77Time

impl Sync for DCF77Time