Home
last modified time | relevance | path

Searched refs:Weekday (Results 1 – 25 of 48) sorted by relevance

12

/external/rust/crates/csv/examples/data/bench/
Dgtfs-mbta-stop-times.csv2 "Logan-22-Weekday-trip","08:00:00","08:00:00","Logan-Subway",1,"",0,1,0
3 "Logan-22-Weekday-trip","08:04:00","08:04:00","Logan-RentalCarCenter",2,"",0,1,0
4 "Logan-22-Weekday-trip","08:09:00","08:09:00","Logan-A",3,"",0,0,0
5 "Logan-22-Weekday-trip","08:12:00","08:12:00","Logan-B",4,"",0,0,0
6 "Logan-22-Weekday-trip","08:17:00","08:17:00","Logan-Subway",5,"",1,0,0
12 "Logan-33-Weekday-trip","08:00:00","08:00:00","Logan-Subway",1,"",0,1,0
13 "Logan-33-Weekday-trip","08:04:00","08:04:00","Logan-RentalCarCenter",2,"",0,0,0
14 "Logan-33-Weekday-trip","08:09:00","08:09:00","Logan-C",3,"",0,0,0
15 "Logan-33-Weekday-trip","08:12:00","08:12:00","Logan-E",4,"",0,0,0
16 "Logan-33-Weekday-trip","08:17:00","08:17:00","Logan-Subway",5,"",1,0,0
[all …]
/external/rust/crates/chrono/src/
Dlib.rs520 pub use {Datelike, Month, Timelike, Weekday};
646 pub enum Weekday { enum
663 impl Weekday { implementation
670 pub fn succ(&self) -> Weekday { in succ() argument
672 Weekday::Mon => Weekday::Tue, in succ()
673 Weekday::Tue => Weekday::Wed, in succ()
674 Weekday::Wed => Weekday::Thu, in succ()
675 Weekday::Thu => Weekday::Fri, in succ()
676 Weekday::Fri => Weekday::Sat, in succ()
677 Weekday::Sat => Weekday::Sun, in succ()
[all …]
/external/rust/crates/chrono/src/naive/
Ddate.rs19 use {Datelike, Weekday};
270 pub fn from_isoywd(year: i32, week: u32, weekday: Weekday) -> NaiveDate { in from_isoywd()
318 pub fn from_isoywd_opt(year: i32, week: u32, weekday: Weekday) -> Option<NaiveDate> { in from_isoywd_opt()
450 pub fn from_weekday_of_month(year: i32, month: u32, weekday: Weekday, n: u8) -> NaiveDate { in from_weekday_of_month() argument
469 weekday: Weekday, in from_weekday_of_month_opt() argument
1276 fn weekday(&self) -> Weekday { in weekday() argument
1895 use {Datelike, Weekday};
1948 assert_eq!(isoywd_opt(2004, 0, Weekday::Sun), None); in test_date_from_isoywd()
1949 assert_eq!(isoywd_opt(2004, 1, Weekday::Mon), Some(ymd(2003, 12, 29))); in test_date_from_isoywd()
1950 assert_eq!(isoywd_opt(2004, 1, Weekday::Sun), Some(ymd(2004, 1, 4))); in test_date_from_isoywd()
[all …]
Dinternals.rs22 use Weekday;
328 pub fn weekday(&self) -> Weekday { in weekday() argument
330 Weekday::from_u32(((of >> 4) + (of & 0b111)) % 7).unwrap() in weekday()
334 pub fn isoweekdate_raw(&self) -> (u32, Weekday) { in isoweekdate_raw() argument
338 (weekord / 7, Weekday::from_u32(weekord % 7).unwrap()) in isoweekdate_raw()
492 use Weekday;
688 assert_eq!(Of::new(1, A).weekday(), Weekday::Sun); in test_of_weekday()
689 assert_eq!(Of::new(1, B).weekday(), Weekday::Sat); in test_of_weekday()
690 assert_eq!(Of::new(1, C).weekday(), Weekday::Fri); in test_of_weekday()
691 assert_eq!(Of::new(1, D).weekday(), Weekday::Thu); in test_of_weekday()
[all …]
/external/rust/crates/chrono/src/format/
Dscan.rs11 use Weekday;
126 pub fn short_weekday(s: &str) -> ParseResult<(&str, Weekday)> { in short_weekday() argument
132 (b'm', b'o', b'n') => Weekday::Mon, in short_weekday()
133 (b't', b'u', b'e') => Weekday::Tue, in short_weekday()
134 (b'w', b'e', b'd') => Weekday::Wed, in short_weekday()
135 (b't', b'h', b'u') => Weekday::Thu, in short_weekday()
136 (b'f', b'r', b'i') => Weekday::Fri, in short_weekday()
137 (b's', b'a', b't') => Weekday::Sat, in short_weekday()
138 (b's', b'u', b'n') => Weekday::Sun, in short_weekday()
164 pub fn short_or_long_weekday(s: &str) -> ParseResult<(&str, Weekday)> { in short_or_long_weekday() argument
Dparse.rs17 use {DateTime, FixedOffset, Weekday};
21 0 => Weekday::Sun, in set_weekday_with_num_days_from_sunday()
22 1 => Weekday::Mon, in set_weekday_with_num_days_from_sunday()
23 2 => Weekday::Tue, in set_weekday_with_num_days_from_sunday()
24 3 => Weekday::Wed, in set_weekday_with_num_days_from_sunday()
25 4 => Weekday::Thu, in set_weekday_with_num_days_from_sunday()
26 5 => Weekday::Fri, in set_weekday_with_num_days_from_sunday()
27 6 => Weekday::Sat, in set_weekday_with_num_days_from_sunday()
34 1 => Weekday::Mon, in set_weekday_with_number_from_monday()
35 2 => Weekday::Tue, in set_weekday_with_number_from_monday()
[all …]
Dparsed.rs15 use Weekday;
78 pub weekday: Option<Weekday>,
237 pub fn set_weekday(&mut self, value: Weekday) -> ParseResult<()> { in set_weekday()
443 Weekday::Sun => 0, in to_naive_date()
444 Weekday::Mon => 6, in to_naive_date()
445 Weekday::Tue => 5, in to_naive_date()
446 Weekday::Wed => 4, in to_naive_date()
447 Weekday::Thu => 3, in to_naive_date()
448 Weekday::Fri => 2, in to_naive_date()
449 Weekday::Sat => 1, in to_naive_date()
[all …]
/external/openscreen/third_party/abseil/src/absl/time/
Dcivil_time.h370 using Weekday = time_internal::cctz::weekday; variable
381 inline Weekday GetWeekday(CivilSecond cs) { in GetWeekday()
415 inline CivilDay NextWeekday(CivilDay cd, Weekday wd) { in NextWeekday()
418 inline CivilDay PrevWeekday(CivilDay cd, Weekday wd) { in PrevWeekday()
Dcivil_time_test.cc619 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(ss)); in TEST()
629 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(mm)); in TEST()
639 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(hh)); in TEST()
649 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(d)); in TEST()
659 EXPECT_EQ(absl::Weekday::sunday, absl::GetWeekday(m)); in TEST()
669 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(y)); in TEST()
925 ss << std::setw(21) << absl::Weekday::wednesday; in TEST()
931 TEST(CivilTime, Weekday) { in TEST() argument
933 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(d)) << d; in TEST()
937 EXPECT_EQ(absl::Weekday::wednesday, absl::GetWeekday(d)) << d; in TEST()
[all …]
Dtime.cc471 case Weekday::sunday: in ToTM()
474 case Weekday::monday: in ToTM()
477 case Weekday::tuesday: in ToTM()
480 case Weekday::wednesday: in ToTM()
483 case Weekday::thursday: in ToTM()
486 case Weekday::friday: in ToTM()
489 case Weekday::saturday: in ToTM()
/external/webrtc/third_party/abseil-cpp/absl/time/
Dcivil_time.h370 using Weekday = time_internal::cctz::weekday; variable
381 inline Weekday GetWeekday(CivilSecond cs) { in GetWeekday()
415 inline CivilDay NextWeekday(CivilDay cd, Weekday wd) { in NextWeekday()
418 inline CivilDay PrevWeekday(CivilDay cd, Weekday wd) { in PrevWeekday()
Dcivil_time_test.cc619 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(ss)); in TEST()
629 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(mm)); in TEST()
639 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(hh)); in TEST()
649 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(d)); in TEST()
659 EXPECT_EQ(absl::Weekday::sunday, absl::GetWeekday(m)); in TEST()
669 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(y)); in TEST()
925 ss << std::setw(21) << absl::Weekday::wednesday; in TEST()
931 TEST(CivilTime, Weekday) { in TEST() argument
933 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(d)) << d; in TEST()
937 EXPECT_EQ(absl::Weekday::wednesday, absl::GetWeekday(d)) << d; in TEST()
[all …]
Dtime.cc470 case Weekday::sunday: in ToTM()
473 case Weekday::monday: in ToTM()
476 case Weekday::tuesday: in ToTM()
479 case Weekday::wednesday: in ToTM()
482 case Weekday::thursday: in ToTM()
485 case Weekday::friday: in ToTM()
488 case Weekday::saturday: in ToTM()
/external/abseil-cpp/absl/time/
Dcivil_time.h370 using Weekday = time_internal::cctz::weekday; variable
381 inline Weekday GetWeekday(CivilSecond cs) { in GetWeekday()
415 inline CivilDay NextWeekday(CivilDay cd, Weekday wd) { in NextWeekday()
418 inline CivilDay PrevWeekday(CivilDay cd, Weekday wd) { in PrevWeekday()
Dcivil_time_test.cc619 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(ss)); in TEST()
629 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(mm)); in TEST()
639 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(hh)); in TEST()
649 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(d)); in TEST()
659 EXPECT_EQ(absl::Weekday::sunday, absl::GetWeekday(m)); in TEST()
669 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(y)); in TEST()
925 ss << std::setw(21) << absl::Weekday::wednesday; in TEST()
931 TEST(CivilTime, Weekday) { in TEST() argument
933 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(d)) << d; in TEST()
937 EXPECT_EQ(absl::Weekday::wednesday, absl::GetWeekday(d)) << d; in TEST()
[all …]
Dtime.cc470 case Weekday::sunday: in ToTM()
473 case Weekday::monday: in ToTM()
476 case Weekday::tuesday: in ToTM()
479 case Weekday::wednesday: in ToTM()
482 case Weekday::thursday: in ToTM()
485 case Weekday::friday: in ToTM()
488 case Weekday::saturday: in ToTM()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/time/
Dcivil_time.h370 using Weekday = time_internal::cctz::weekday; variable
381 inline Weekday GetWeekday(CivilSecond cs) { in GetWeekday()
415 inline CivilDay NextWeekday(CivilDay cd, Weekday wd) { in NextWeekday()
418 inline CivilDay PrevWeekday(CivilDay cd, Weekday wd) { in PrevWeekday()
Dcivil_time_test.cc619 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(ss)); in TEST()
629 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(mm)); in TEST()
639 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(hh)); in TEST()
649 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(d)); in TEST()
659 EXPECT_EQ(absl::Weekday::sunday, absl::GetWeekday(m)); in TEST()
669 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(y)); in TEST()
925 ss << std::setw(21) << absl::Weekday::wednesday; in TEST()
931 TEST(CivilTime, Weekday) { in TEST() argument
933 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(d)) << d; in TEST()
937 EXPECT_EQ(absl::Weekday::wednesday, absl::GetWeekday(d)) << d; in TEST()
[all …]
Dtime.cc470 case Weekday::sunday: in ToTM()
473 case Weekday::monday: in ToTM()
476 case Weekday::tuesday: in ToTM()
479 case Weekday::wednesday: in ToTM()
482 case Weekday::thursday: in ToTM()
485 case Weekday::friday: in ToTM()
488 case Weekday::saturday: in ToTM()
/external/angle/third_party/abseil-cpp/absl/time/
Dcivil_time.h370 using Weekday = time_internal::cctz::weekday; variable
381 inline Weekday GetWeekday(CivilSecond cs) { in GetWeekday()
415 inline CivilDay NextWeekday(CivilDay cd, Weekday wd) { in NextWeekday()
418 inline CivilDay PrevWeekday(CivilDay cd, Weekday wd) { in PrevWeekday()
Dcivil_time_test.cc619 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(ss)); in TEST()
629 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(mm)); in TEST()
639 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(hh)); in TEST()
649 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(d)); in TEST()
659 EXPECT_EQ(absl::Weekday::sunday, absl::GetWeekday(m)); in TEST()
669 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(y)); in TEST()
925 ss << std::setw(21) << absl::Weekday::wednesday; in TEST()
931 TEST(CivilTime, Weekday) { in TEST() argument
933 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(d)) << d; in TEST()
937 EXPECT_EQ(absl::Weekday::wednesday, absl::GetWeekday(d)) << d; in TEST()
[all …]
Dtime.cc471 case Weekday::sunday: in ToTM()
474 case Weekday::monday: in ToTM()
477 case Weekday::tuesday: in ToTM()
480 case Weekday::wednesday: in ToTM()
483 case Weekday::thursday: in ToTM()
486 case Weekday::friday: in ToTM()
489 case Weekday::saturday: in ToTM()
/external/libtextclassifier/abseil-cpp/absl/time/
Dcivil_time.h370 using Weekday = time_internal::cctz::weekday; variable
381 inline Weekday GetWeekday(CivilSecond cs) { in GetWeekday()
415 inline CivilDay NextWeekday(CivilDay cd, Weekday wd) { in NextWeekday()
418 inline CivilDay PrevWeekday(CivilDay cd, Weekday wd) { in PrevWeekday()
Dcivil_time_test.cc619 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(ss)); in TEST()
629 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(mm)); in TEST()
639 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(hh)); in TEST()
649 EXPECT_EQ(absl::Weekday::tuesday, absl::GetWeekday(d)); in TEST()
659 EXPECT_EQ(absl::Weekday::sunday, absl::GetWeekday(m)); in TEST()
669 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(y)); in TEST()
925 ss << std::setw(21) << absl::Weekday::wednesday; in TEST()
931 TEST(CivilTime, Weekday) { in TEST() argument
933 EXPECT_EQ(absl::Weekday::thursday, absl::GetWeekday(d)) << d; in TEST()
937 EXPECT_EQ(absl::Weekday::wednesday, absl::GetWeekday(d)) << d; in TEST()
[all …]
Dtime.cc470 case Weekday::sunday: in ToTM()
473 case Weekday::monday: in ToTM()
476 case Weekday::tuesday: in ToTM()
479 case Weekday::wednesday: in ToTM()
482 case Weekday::thursday: in ToTM()
485 case Weekday::friday: in ToTM()
488 case Weekday::saturday: in ToTM()

12