Lines Matching refs:isoweek
75 pub isoweek: Option<u32>, field
141 isoweek: None, in default()
232 set_if_consistent(&mut self.isoweek, value.to_u32().ok_or(OUT_OF_RANGE)?) in set_isoweek()
393 let isoweek = week.week(); in to_naive_date() localVariable
404 && self.isoweek.unwrap_or(isoweek) == isoweek 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()
937 assert_eq!(parse!(isoyear: 2004, isoweek: 53), Err(NOT_ENOUGH)); in test_parsed_to_naive_date()
938 assert_eq!(parse!(isoyear: 2004, isoweek: 53, weekday: Fri), ymd(2004, 12, 31)); in test_parsed_to_naive_date()
939 assert_eq!(parse!(isoyear: 2004, isoweek: 53, weekday: Sat), ymd(2005, 1, 1)); in test_parsed_to_naive_date()
940 assert_eq!(parse!(isoyear: 2004, isoweek: 0xffffffff, weekday: Sat), Err(OUT_OF_RANGE)); in test_parsed_to_naive_date()
941 assert_eq!(parse!(isoyear: 2005, isoweek: 0, weekday: Thu), Err(OUT_OF_RANGE)); in test_parsed_to_naive_date()
942 assert_eq!(parse!(isoyear: 2005, isoweek: 5, weekday: Thu), ymd(2005, 2, 3)); in test_parsed_to_naive_date()
964 parse!(year: 2014, month: 12, day: 31, ordinal: 365, isoyear: 2015, isoweek: 1, in test_parsed_to_naive_date()
969 parse!(year: 2014, month: 12, ordinal: 365, isoyear: 2015, isoweek: 1, in test_parsed_to_naive_date()
974 parse!(year: 2014, month: 12, day: 31, ordinal: 365, isoyear: 2014, isoweek: 53, in test_parsed_to_naive_date()
979 parse!(year: 2012, isoyear: 2015, isoweek: 1, in test_parsed_to_naive_date()
1082 isoweek: 1, week_from_sun: 52, week_from_mon: 52, weekday: Wed, in test_parsed_to_naive_datetime_with_offset()
1090 isoweek: 1, week_from_sun: 52, week_from_mon: 52, weekday: Wed, in test_parsed_to_naive_datetime_with_offset()
1099 isoweek: 1, week_from_sun: 52, week_from_mon: 52, weekday: Wed, in test_parsed_to_naive_datetime_with_offset()