Searched refs:isoyear_mod_100 (Results 1 – 2 of 2) sorted by relevance
/external/rust/crates/chrono/src/format/ |
D | parsed.rs | 60 pub isoyear_mod_100: Option<i32>, field 137 isoyear_mod_100: None, in default() 208 set_if_consistent(&mut self.isoyear_mod_100, value.to_i32().ok_or(OUT_OF_RANGE)?) in set_isoyear_mod_100() 369 let given_isoyear = resolve_year(self.isoyear, self.isoyear_div_100, self.isoyear_mod_100)?; in to_naive_date() 395 let (isoyear_div_100, isoyear_mod_100) = if isoyear >= 0 { in to_naive_date() 403 && self.isoyear_mod_100.or(isoyear_mod_100) == isoyear_mod_100 in to_naive_date() 983 assert_eq!(parse!(year_div_100: 20, isoyear_mod_100: 15, ordinal: 366), Err(NOT_ENOUGH)); in test_parsed_to_naive_date() 1081 ordinal: 365, isoyear: 2015, isoyear_div_100: 20, isoyear_mod_100: 15, in test_parsed_to_naive_datetime_with_offset() 1089 ordinal: 365, isoyear: 2015, isoyear_div_100: 20, isoyear_mod_100: 15, in test_parsed_to_naive_datetime_with_offset() 1098 ordinal: 365, isoyear: 2015, isoyear_div_100: 20, isoyear_mod_100: 15, in test_parsed_to_naive_datetime_with_offset()
|
D | parse.rs | 601 year_div_100: 12, year_mod_100: 34, isoyear_div_100: 56, isoyear_mod_100: 78); in test_parse()
|