Searched refs:WeekDay (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_enum.py | 564 class WeekDay(IntEnum): class 573 self.assertEqual(['a', 'b', 'c'][WeekDay.MONDAY], 'c') 574 self.assertEqual([i for i in range(WeekDay.TUESDAY)], [0, 1, 2]) 576 lst = list(WeekDay) 577 self.assertEqual(len(lst), len(WeekDay)) 578 self.assertEqual(len(WeekDay), 7) 582 e = WeekDay(i) 586 self.assertIn(e, WeekDay) 589 self.assertIs(type(e), WeekDay) 594 class WeekDay(IntEnum): class [all …]
|
/external/python/apitools/apitools/base/protorpclite/ |
D | messages_test.py | 169 WeekDay = messages.Enum.def_enum({'Monday': 1, 177 self.assertEquals('Wednesday', WeekDay(3).name) 178 self.assertEquals(6, WeekDay('Friday').number) 179 self.assertEquals(WeekDay.Sunday, WeekDay('Sunday'))
|
/external/curl/lib/ |
D | mk-ca-bundle.vbs | 378 output = WeekDayName(WeekDay(input), TRUE) & " " & _
|