Struct ds1307::DateTime[][src]

pub struct DateTime {
    pub year: u16,
    pub month: u8,
    pub day: u8,
    pub weekday: u8,
    pub hour: Hours,
    pub minute: u8,
    pub second: u8,
}

Date and time

Fields

Year [2000-2099]

Month [1-12]

Day [1-31]

Weekday [1-7]

Hour in 24h/12h format

Minute [0-59]

Second [0-59]

Trait Implementations

impl Debug for DateTime
[src]

Formats the value using the given formatter. Read more

impl Clone for DateTime
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for DateTime

impl Sync for DateTime