[−][src]Struct avr_libc::tm
The tm structure contains a representation of time 'broken down' into components of the Gregorian calendar.
The value of tm_isdst is zero if Daylight Saving Time is not in effect, and is negative if the information is not available.
When Daylight Saving Time is in effect, the value represents the number of seconds the clock is advanced.
See the set_dst() function for more information about Daylight Saving.
Fields
tm_sec: i8
< seconds after the minute - [ 0 to 59 ]
tm_min: i8
< minutes after the hour - [ 0 to 59 ]
tm_hour: i8
< hours since midnight - [ 0 to 23 ]
tm_mday: i8
< day of the month - [ 1 to 31 ]
tm_wday: i8
< days since Sunday - [ 0 to 6 ]
tm_mon: i8
< months since January - [ 0 to 11 ]
tm_year: i16
< years since 1900
tm_yday: i16
< days since January 1 - [ 0 to 365 ]
tm_isdst: i16
< Daylight Saving Time flag
Trait Implementations
impl Clone for tm
[src]
pub fn clone(&self) -> tm
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for tm
[src]
impl Debug for tm
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,