Struct libnotcurses_sys::ffi::tm [−][src]
#[repr(C)]pub struct tm { pub tm_sec: c_int, pub tm_min: c_int, pub tm_hour: c_int, pub tm_mday: c_int, pub tm_mon: c_int, pub tm_year: c_int, pub tm_wday: c_int, pub tm_yday: c_int, pub tm_isdst: c_int, pub __tm_gmtoff: c_long, pub __tm_zone: *const c_char, }
Expand description
ISO C `broken-down time’ structure.
Fields
tm_sec: c_int
Seconds. [0-60] (1 leap second)
tm_min: c_int
Minutes. [0-59]
tm_hour: c_int
Hours. [0-23]
tm_mday: c_int
Day. [1-31]
tm_mon: c_int
Month. [0-11]
tm_year: c_int
Year - 1900.
tm_wday: c_int
Day of week. [0-6]
tm_yday: c_int
Days in year.[0-365]
tm_isdst: c_int
DST. [-1/0/1]
__tm_gmtoff: c_long
Seconds east of UTC.
__tm_zone: *const c_char
Timezone abbreviation.
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more