Searched refs:yo_to_cycle (Results 1 – 2 of 2) sorted by relevance
894 let cycle = internals::yo_to_cycle(year_mod_400 as u32, self.of().ordinal()); in checked_add_signed()928 let cycle = internals::yo_to_cycle(year_mod_400 as u32, self.of().ordinal()); in checked_sub_signed()967 let cycle1 = i64::from(internals::yo_to_cycle(year1_mod_400 as u32, self.of().ordinal())); in signed_duration_since()968 let cycle2 = i64::from(internals::yo_to_cycle(year2_mod_400 as u32, rhs.of().ordinal())); in signed_duration_since()
109 pub fn yo_to_cycle(year_mod_400: u32, ordinal: u32) -> u32 { in yo_to_cycle() function