Home
last modified time | relevance | path

Searched defs:YearFlags (Results 1 – 1 of 1) sorted by relevance

/external/rust/crates/chrono/src/naive/
Dinternals.rs39 pub struct YearFlags(pub u8); struct
113 impl YearFlags { implementation
115 pub fn from_year(year: i32) -> YearFlags { in from_year()
121 pub fn from_year_mod_400(year: i32) -> YearFlags { in from_year_mod_400()
127 let YearFlags(flags) = *self; in ndays() localVariable
133 let YearFlags(flags) = *self; in isoweek_delta() localVariable
143 let YearFlags(flags) = *self; in nisoweeks() localVariable
148 impl fmt::Debug for YearFlags { implementation
150 let YearFlags(flags) = *self; in fmt() localVariable
316 pub fn flags(&self) -> YearFlags { in flags()
[all …]