Searched refs:YearFlags (Results 1 – 4 of 4) sorted by relevance
39 pub struct YearFlags(pub u8); struct41 pub const A: YearFlags = YearFlags(0o15);42 pub const AG: YearFlags = YearFlags(0o05);43 pub const B: YearFlags = YearFlags(0o14);44 pub const BA: YearFlags = YearFlags(0o04);45 pub const C: YearFlags = YearFlags(0o13);46 pub const CB: YearFlags = YearFlags(0o03);47 pub const D: YearFlags = YearFlags(0o12);48 pub const DC: YearFlags = YearFlags(0o02);49 pub const E: YearFlags = YearFlags(0o11);[all …]
8 use super::internals::{DateImpl, Of, YearFlags};34 let prevlastweek = YearFlags::from_year(year - 1).nisoweeks(); in iso_week_from_yof()
21 use super::internals::{self, DateImpl, Mdf, Of, YearFlags};196 let flags = YearFlags::from_year(year); in from_ymd_opt()245 let flags = YearFlags::from_year(year); in from_yo_opt()319 let flags = YearFlags::from_year(year); in from_isoywd_opt()327 let prevflags = YearFlags::from_year(year - 1); in from_isoywd_opt()340 let nextflags = YearFlags::from_year(year + 1); in from_isoywd_opt()421 let flags = YearFlags::from_year_mod_400(year_mod_400 as i32); in from_num_days_from_ce_opt()900 let flags = YearFlags::from_year_mod_400(year_mod_400 as i32); in checked_add_signed()934 let flags = YearFlags::from_year_mod_400(year_mod_400 as i32); in checked_sub_signed()1313 let flags = YearFlags::from_year(year); in with_year()
564 pub use self::internals::YearFlags as __BenchYearFlags;