Searched refs:set_hour12 (Results 1 – 2 of 2) sorted by relevance
263 pub fn set_hour12(&mut self, value: i64) -> ParseResult<()> { in set_hour12() method781 assert_eq!(p.set_hour12(12), Ok(())); in test_parsed_set_fields()782 assert_eq!(p.set_hour12(0), Err(OUT_OF_RANGE)); // requires canonical representation in test_parsed_set_fields()783 assert_eq!(p.set_hour12(1), Err(IMPOSSIBLE)); in test_parsed_set_fields()784 assert_eq!(p.set_hour12(11), Err(IMPOSSIBLE)); in test_parsed_set_fields()788 assert_eq!(p.set_hour12(7), Ok(())); in test_parsed_set_fields()
315 Hour12 => (2, false, Parsed::set_hour12), in parse_internal()