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: u16
Year [2000-2099]
month: u8
Month [1-12]
day: u8
Day [1-31]
weekday: u8
Weekday [1-7]
hour: Hours
Hour in 24h/12h format
minute: u8
Minute [0-59]
second: u8
Second [0-59]
Trait Implementations
impl Debug for DateTime
[src]
impl Debug for DateTime
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for DateTime
[src]
impl Clone for DateTime