Home
last modified time | relevance | path

Searched refs:wday (Results 1 – 15 of 15) sorted by relevance

/external/toybox/toys/posix/
Dcal.c36 int wday, mday, start, len, line; local
60 for (wday=0; wday<7; wday++) {
62 if (!mday ? wday==start : mday<len) {
/external/python/dateutil/dateutil/
Drrule.py595 for wday in byweekday:
596 if isinstance(wday, integer_types):
597 self._byweekday.add(wday)
598 elif not wday.n or freq > MONTHLY:
599 self._byweekday.add(wday.weekday)
601 self._bynweekday.add((wday.weekday, wday.n))
730 for wday in original_rule['byweekday']:
731 if wday.n:
733 n=wday.n,
734 wday=repr(wday)[0:2]))
[all …]
/external/icu/icu4c/source/tools/tzcode/
Dzic.c2043 register int wday = rp->r_wday; in stringrule() local
2050 wday -= wdayoff; in stringrule()
2060 wday -= wdayoff; in stringrule()
2065 if (wday < 0) in stringrule()
2066 wday += DAYSPERWEEK; in stringrule()
2068 rp->r_month + 1, week, wday); in stringrule()
3021 register zic_t wday; in rpytime() local
3024 wday = EPOCH_WDAY; in rpytime()
3029 wday = (wday + dayoff) % LDAYSPERWEEK; in rpytime()
3031 wday -= ((-dayoff) % LDAYSPERWEEK); in rpytime()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DVTimeZone.java1159 int wday; local
1160 for (wday = 0; wday < ICAL_DOW_NAMES.length; wday++) {
1161 if (value.equals(ICAL_DOW_NAMES[wday])) {
1165 if (wday < ICAL_DOW_NAMES.length) {
1167 dayOfWeek = wday + 1;
/external/icu/android_icu4j/src/main/java/android/icu/util/
DVTimeZone.java1128 int wday; local
1129 for (wday = 0; wday < ICAL_DOW_NAMES.length; wday++) {
1130 if (value.equals(ICAL_DOW_NAMES[wday])) {
1134 if (wday < ICAL_DOW_NAMES.length) {
1136 dayOfWeek = wday + 1;
/external/icu/icu4c/source/common/
Drbbicst.pl232 my ($sec, $min, $hour, , $day, $mon, $year, $wday, $yday, $isdst) = localtime;
/external/icu/icu4c/source/i18n/
Dvtzone.cpp469 int32_t wday; in parseRRULE() local
470 for (wday = 0; wday < 7; wday++) { in parseRRULE()
471 if (value.compare(ICAL_DOW_NAMES[wday], 2) == 0) { in parseRRULE()
475 if (wday < 7) { in parseRRULE()
477 dow = wday + 1; in parseRRULE()
/external/python/cpython2/Lib/
Dcookielib.py115 year, mon, mday, hour, min, sec, wday = time.gmtime(t)[:7]
117 DAYS[wday], mday, MONTHS[mon-1], year, hour, min, sec)
/external/curl/tests/
Dftpserver.pl213 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
219 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
Druntests.pl674 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
5397 my ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) =
/external/python/cpython3/Lib/test/
Dtest_logging.py5225 wday = time.gmtime(today).tm_wday
5231 if wday > day:
5234 expected = (7 - wday + day)
5236 expected = (day - wday)
5248 if day == wday:
/external/python/dateutil/dateutil/test/
Dtest_rrule.py4907 for repstr, wday in zip(no_n_reprs, no_n_wdays):
4908 self.assertEqual(repr(wday), repstr)
4914 for repstr, wday in zip(with_n_reprs, with_n_wdays):
4915 self.assertEqual(repr(wday), repstr)
/external/python/cpython3/Lib/
Ddatetime.py156 wday = (_ymd2ord(y, m, d) + 6) % 7
158 return _time.struct_time((y, m, d, hh, mm, ss, wday, dnum, dstflag))
/external/python/cpython2/Modules/
Ddatetimemodule.c1092 int wday = weekday(GET_YEAR(date), GET_MONTH(date), GET_DAY(date)); in format_ctime() local
1095 DayNames[wday], MonthNames[GET_MONTH(date) - 1], in format_ctime()
/external/python/cpython3/Modules/
D_datetimemodule.c1353 int wday = weekday(GET_YEAR(date), GET_MONTH(date), GET_DAY(date)); in format_ctime() local
1356 DayNames[wday], MonthNames[GET_MONTH(date)-1], in format_ctime()