Home
last modified time | relevance | path

Searched refs:day_of_week (Results 1 – 14 of 14) sorted by relevance

/external/toolchain-utils/deprecated/
Dsheriff_rotation.py39 day_of_week = abs_days % 7
41 week_begin = day - datetime.timedelta(days=day_of_week)
42 week_end = day + datetime.timedelta(days=(6 - day_of_week))
/external/python/cpython2/Lib/
D_strptime.py278 def _calc_julian_from_U_or_W(year, week_of_year, day_of_week, week_starts_Mon): argument
288 day_of_week = (day_of_week + 1) % 7
293 return 1 + day_of_week - first_weekday
296 return 1 + days_to_week + day_of_week
/external/python/cpython3/Lib/
D_strptime.py281 def _calc_julian_from_U_or_W(year, week_of_year, day_of_week, week_starts_Mon): argument
291 day_of_week = (day_of_week + 1) % 7
296 return 1 + day_of_week - first_weekday
299 return 1 + days_to_week + day_of_week
/external/libtextclassifier/utils/calendar/
Dcalendar-common.h262 int day_of_week; in AdjustByRelation() local
263 TC3_CALENDAR_CHECK(calendar->GetDayOfWeek(&day_of_week)) in AdjustByRelation()
264 if (day_of_week == static_cast<int>(relation_type)) { in AdjustByRelation()
Dcalendar-javaicu.cc182 TC3_DEFINE_GET(DayOfWeek, day_of_week)
189 TC3_DEFINE_SET(DayOfWeek, day_of_week)
/external/libchrome/base/time/
Dtime_exploded_posix.cc159 exploded->day_of_week = timestruct.tm_wday; in Explode()
185 timestruct.tm_wday = exploded.day_of_week; // mktime/timegm ignore this in FromExploded()
Dtime.cc412 is_in_range(day_of_week, 0, 6) && in HasValidValues()
Dtime_unittest.cc329 EXPECT_EQ(0, exploded.day_of_week); in TEST_F()
337 EXPECT_EQ(3, exploded.day_of_week); in TEST_F()
345 EXPECT_EQ(6, exploded.day_of_week); in TEST_F()
1201 exploded.day_of_week = 0; // Should be unusued. in TEST()
Dtime.h502 int day_of_week; // 0-based day of week (0 = Sunday, etc.) member
/external/libchrome/crypto/
Dnss_util_unittest.cc28 exploded.day_of_week = prxtime.tm_wday = 0; // Should be unused. in TEST()
/external/libtextclassifier/utils/java/
Djni-cache.cc185 TC3_GET_STATIC_INT_FIELD(calendar, day_of_week, "DAY_OF_WEEK"); in Create()
/external/google-breakpad/src/google_breakpad/common/
Dminidump_format.h666 uint16_t day_of_week; member
/external/google-breakpad/src/processor/
Dminidump.cc203 Swap(&system_time->day_of_week); in Swap()
3561 misc_info_.time_zone.standard_date.day_of_week, in Print()
3574 misc_info_.time_zone.daylight_date.day_of_week, in Print()
/external/libchrome/base/metrics/
Dfield_trial.cc107 exploded.day_of_week = 0; // Should be unused. in CreateTimeFromParams()