/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/include/cctz/ |
H A D | civil_time_detail.h | 531 enum class weekday { class 541 CONSTEXPR_F weekday get_weekday(const civil_second& cs) noexcept { 542 CONSTEXPR_D weekday k_weekday_by_mon_off[13] = { 543 weekday::monday, weekday::tuesday, weekday::wednesday, 544 weekday::thursday, weekday::friday, weekday::saturday, 545 weekday [all...] |
H A D | civil_time.h | 276 // using operator<<(). The result is the full weekday name in English with a 279 // weekday wd = weekday::thursday; 282 using detail::weekday; 284 // Returns the weekday for the given civil-time value. 287 // weekday wd = get_weekday(a); // wd == weekday::thursday 292 // civil_day, and that falls on the given weekday. 305 // civil_day a(2015, 8, 13); // get_weekday(a) == weekday::thursday 306 // civil_day b = next_weekday(a, weekday [all...] |
/third_party/python/Lib/ |
H A D | _strptime.py | 34 f_weekday -- full weekday names (7-item list) 35 a_weekday -- abbreviated weekday names (7-item list) 276 first_weekday = datetime_date(year, 1, 1).weekday() 294 """Calculate the Julian day based on the ISO 8601 year, week, and weekday. 365 # weekday and julian defaulted to None so as to signal need to calculate 367 weekday = julian = None 424 weekday = locale_time.f_weekday.index(found_dict['A'].lower()) 426 weekday = locale_time.a_weekday.index(found_dict['a'].lower()) 428 weekday = int(found_dict['w']) 429 if weekday [all...] |
H A D | calendar.py | 14 "firstweekday", "isleap", "leapdays", "weekday", "monthrange", 34 def __init__(self, weekday): 35 self.weekday = weekday 37 return "bad weekday number %r; must be 0 (Monday) to 6 (Sunday)" % self.weekday 115 def weekday(year, month, day): function 116 """Return weekday (0-6 ~ Mon-Sun) for year, month (1-12), day (1-31).""" 119 return datetime.date(year, month, day).weekday() 123 """Return weekday ( [all...] |
H A D | datetime.py | 479 raise ValueError(f"Invalid weekday: {day} (range is [1, 7])") 913 weekday() 960 y, m, d, hh, mm, ss, weekday, jday, dst = _time.localtime(t) 995 """Construct a date from the ISO year, week number and weekday. 1026 weekday = self.toordinal() % 7 or 7 1028 _DAYNAMES[weekday], 1164 def weekday(self): member in date 1176 """Return a named tuple containing ISO year, week number, and weekday. 1286 def __new__(cls, year, week, weekday, /): 1287 return super().__new__(cls, (year, week, weekday)) 1298 def weekday(self): global() member in IsoCalendarDate [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/time/internal/cctz/src/ |
H A D | civil_time_detail.cc | 70 std::ostream& operator<<(std::ostream& os, weekday wd) { in operator <<() 72 case weekday::monday: in operator <<() 74 case weekday::tuesday: in operator <<() 76 case weekday::wednesday: in operator <<() 78 case weekday::thursday: in operator <<() 80 case weekday::friday: in operator <<() 82 case weekday::saturday: in operator <<() 84 case weekday::sunday: in operator <<()
|
H A D | cctz_benchmark.cc | 64 const cctz::weekday kWeekdays[7] = { in BM_NextWeekday() 65 cctz::weekday::monday, cctz::weekday::tuesday, cctz::weekday::wednesday, in BM_NextWeekday() 66 cctz::weekday::thursday, cctz::weekday::friday, cctz::weekday::saturday, in BM_NextWeekday() 67 cctz::weekday::sunday, in BM_NextWeekday() 85 const cctz::weekday kWeekdays[7] = { in BM_PrevWeekday() 86 cctz::weekday in BM_PrevWeekday() [all...] |
H A D | time_zone_format.cc | 70 // Convert a cctz::weekday to a tm_wday value (0-6, Sunday = 0). 71 int ToTmWday(weekday wd) { in ToTmWday() 73 case weekday::sunday: in ToTmWday() 75 case weekday::monday: in ToTmWday() 77 case weekday::tuesday: in ToTmWday() 79 case weekday::wednesday: in ToTmWday() 81 case weekday::thursday: in ToTmWday() 83 case weekday::friday: in ToTmWday() 85 case weekday::saturday: in ToTmWday() 91 // Convert a tm_wday value (0-6, Sunday = 0) to a cctz::weekday [all...] |
H A D | civil_time_test.cc | 309 constexpr weekday wd = get_weekday(cd); 310 static_assert(wd == weekday::thursday, "Weekday"); 315 constexpr civil_day next = next_weekday(cd, weekday::thursday); 323 constexpr civil_day prev = prev_weekday(cd, weekday::thursday); 836 EXPECT_EQ(weekday::tuesday, get_weekday(ss)); 846 EXPECT_EQ(weekday::tuesday, get_weekday(mm)); 856 EXPECT_EQ(weekday::tuesday, get_weekday(hh)); 866 EXPECT_EQ(weekday::tuesday, get_weekday(d)); 876 EXPECT_EQ(weekday::sunday, get_weekday(m)); 886 EXPECT_EQ(weekday [all...] |
H A D | time_zone_posix.cc | 103 int weekday = 0; in ParseDateTime() local 104 if ((p = ParseInt(p + 1, 0, 6, &weekday)) != nullptr) { in ParseDateTime() 108 res->date.m.weekday = static_cast<std::int_fast8_t>(weekday); in ParseDateTime()
|
H A D | time_zone_info.cc | 86 // Convert a cctz::weekday to a POSIX TZ weekday number (0==Sun, ..., 6=Sat). 87 inline int ToPosixWeekday(weekday wd) { in ToPosixWeekday() 89 case weekday::sunday: in ToPosixWeekday() 91 case weekday::monday: in ToPosixWeekday() 93 case weekday::tuesday: in ToPosixWeekday() 95 case weekday::wednesday: in ToPosixWeekday() 97 case weekday::thursday: in ToPosixWeekday() 99 case weekday::friday: in ToPosixWeekday() 101 case weekday in ToPosixWeekday() 153 const std::int_fast64_t weekday = (jan1_weekday + days) % 7; TransOffset() local [all...] |
H A D | time_zone_lookup_test.cc | 853 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST() 861 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST() 869 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST() 879 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST() 886 EXPECT_EQ(weekday::wednesday, get_weekday(convert(tp, tz))); in TEST() 893 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST() 900 EXPECT_EQ(weekday::thursday, get_weekday(convert(tp, tz))); in TEST() 1419 EXPECT_EQ(weekday::saturday, get_weekday(convert(tp, tz))); in TEST() 1422 EXPECT_EQ(weekday::friday, get_weekday(convert(tp, tz))); in TEST()
|
H A D | time_zone_posix.h | 31 // weekday = 0 43 // weekday = 0 68 // (M) the Nth weekday of a month (e.g., the 2nd Sunday in March). 85 std::int_fast8_t weekday; // 0==Sun, ..., 6=Sat member
|
/third_party/python/Modules/clinic/ |
H A D | _datetimemodule.c.h | 19 int weekday); 25 static const char * const _keywords[] = {"year", "week", "weekday", NULL}; in iso_calendar_date_new() 32 int weekday; in iso_calendar_date_new() local 46 weekday = _PyLong_AsInt(fastargs[2]); in iso_calendar_date_new() 47 if (weekday == -1 && PyErr_Occurred()) { in iso_calendar_date_new() 50 return_value = iso_calendar_date_new_impl(type, year, week, weekday); in iso_calendar_date_new()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/time/ |
H A D | time.cc | 78 bd.weekday = 4; in InfiniteFutureBreakdown() 95 bd.weekday = 7; in InfinitePastBreakdown() 166 inline int MapWeekday(const cctz::weekday& wd) { in MapWeekday() 168 case cctz::weekday::monday: in MapWeekday() 170 case cctz::weekday::tuesday: in MapWeekday() 172 case cctz::weekday::wednesday: in MapWeekday() 174 case cctz::weekday::thursday: in MapWeekday() 176 case cctz::weekday::friday: in MapWeekday() 178 case cctz::weekday::saturday: in MapWeekday() 180 case cctz::weekday in MapWeekday() [all...] |
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
H A D | SimpleDateRule.java | 47 * Construct a rule for a weekday within a month, e.g. the first Monday. 189 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear() 191 //System.out.println(" weekday = " + weekday); in computeInYear() 198 delta = (dayOfWeek - weekday + 7) % 7; in computeInYear() 203 delta = -((dayOfWeek + weekday + 7) % 7); in computeInYear()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
H A D | SimpleDateRule.java | 49 * Construct a rule for a weekday within a month, e.g. the first Monday. 187 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear() 189 //System.out.println(" weekday = " + weekday); in computeInYear() 196 delta = (dayOfWeek - weekday + 7) % 7; in computeInYear() 201 delta = -((dayOfWeek + weekday + 7) % 7); in computeInYear()
|
/third_party/node/deps/v8/src/date/ |
H A D | date.cc | 201 int* weekday, int* hour, int* min, int* sec, in BreakDownTime() 206 *weekday = Weekday(days); in BreakDownTime() 565 int year, month, day, weekday, hour, min, sec, ms; in ToDateString() local 566 date_cache->BreakDownTime(local_time_ms, &year, &month, &day, &weekday, &hour, in ToDateString() 575 kShortWeekDays[weekday], kShortMonths[month], day, in ToDateString() 585 kShortWeekDays[weekday], kShortMonths[month], day, year, hour, min, in ToDateString() 591 kShortWeekDays[weekday], day, kShortMonths[month], year, in ToDateString() 200 BreakDownTime(int64_t time_ms, int* year, int* month, int* day, int* weekday, int* hour, int* min, int* sec, int* ms) BreakDownTime() argument
|
/third_party/typescript/tests/baselines/reference/ |
H A D | declFileTypeofInAnonymousType.js | 6 weekday, 35 e[e["weekday"] = 0] = "weekday";
59 weekday = 0,
|
H A D | constructorWithIncompleteTypeAnnotation.js | 85 var weekday = Weekdays.Monday; 87 var con = char + f + hexchar + float.toString() + float2.toString() + reg.toString() + objLit + weekday; 378 var weekday = Weekdays.Monday;
379 var con = char + f + hexchar + float.toString() + float2.toString() + reg.toString() + objLit + weekday;
|
/third_party/python/Doc/includes/ |
H A D | tzinfo_examples.py | 51 dt.weekday(), 0, 0) 62 days_to_go = 6 - dt.weekday()
|
/third_party/vk-gl-cts/external/vulkan-docs/src/scripts/ |
H A D | genspec.py | 28 friday = today + timedelta((4 - today.weekday()) % 7)
|
/third_party/python/Misc/ |
H A D | coverity_model.c | 169 weekday(int year, int month, int day) in weekday() function
|
/third_party/curl/lib/ |
H A D | parsedate.c | 116 static const char * const weekday[] = variable 216 what = &weekday[0]; in checkday()
|
/third_party/python/Lib/turtledemo/ |
H A D | clock.py | 86 return wochentag[t.weekday()]
|