Lines Matching defs:YearFlags
39 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()
452 pub fn flags(&self) -> YearFlags { in flags()
535 fn check(expected: bool, flags: YearFlags, ordinal1: u32, ordinal2: u32) { in test_of()
566 fn check(expected: bool, flags: YearFlags, month1: u32, day1: u32, month2: u32, day2: u32) { in test_mdf_valid()
664 fn check(flags: YearFlags, ordinal: u32) { in test_of_with_fields()
731 fn check(flags: YearFlags, month: u32, day: u32) { in test_mdf_with_fields()