Searched refs:set_year_mod_100 (Results 1 – 2 of 2) sorted by relevance
180 pub fn set_year_mod_100(&mut self, value: i64) -> ParseResult<()> { in set_year_mod_100() method740 assert_eq!(p.set_year_mod_100(37), Ok(())); // ditto in test_parsed_set_fields()741 assert_eq!(p.set_year_mod_100(38), Err(IMPOSSIBLE)); in test_parsed_set_fields()742 assert_eq!(p.set_year_mod_100(36), Err(IMPOSSIBLE)); in test_parsed_set_fields()747 assert_eq!(p.set_year_mod_100(0), Ok(())); in test_parsed_set_fields()751 assert_eq!(p.set_year_mod_100(-1), Err(OUT_OF_RANGE)); in test_parsed_set_fields()
302 YearMod100 => (2, false, Parsed::set_year_mod_100), in parse_internal()