Home
last modified time | relevance | path

Searched refs:isoyear (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/chrono/src/format/
Dparsed.rs48 pub isoyear: Option<i32>, field
135 isoyear: None, in default()
190 set_if_consistent(&mut self.isoyear, value.to_i32().ok_or(OUT_OF_RANGE)?) in set_isoyear()
369 let given_isoyear = resolve_year(self.isoyear, self.isoyear_div_100, self.isoyear_mod_100)?; in to_naive_date()
392 let isoyear = week.year(); in to_naive_date() localVariable
395 let (isoyear_div_100, isoyear_mod_100) = if isoyear >= 0 { in to_naive_date()
396 let (q, r) = div_rem(isoyear, 100); in to_naive_date()
401 self.isoyear.unwrap_or(isoyear) == isoyear in to_naive_date()
503 (_, Some(isoyear), &Parsed { isoweek: Some(isoweek), weekday: Some(weekday), .. }) => { in to_naive_date()
505 let date = NaiveDate::from_isoywd_opt(isoyear, isoweek, weekday); in to_naive_date()
[all …]
Dparse.rs598 year: 1234, isoyear: 5678); in test_parse()