HomeSort by relevance Sort by last modified time
    Searched defs:dow (Results 1 - 25 of 34) sorted by null

1 2

  /packages/apps/DeskClock/src/com/android/deskclock/
RepeatPreference.java 77 public void setDaysOfWeek(Alarm.DaysOfWeek dow) {
78 mDaysOfWeek.set(dow);
79 mNewDaysOfWeek.set(dow);
80 setSummary(dow.toString(getContext(), true));
  /external/chromium/third_party/icu/source/i18n/
gregoimp.cpp 97 int32_t& dom, int32_t& dow, int32_t& doy) {
120 dow = (int32_t) uprv_fmod(day + 1, 7);
121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY;
135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) {
139 dayToFields(day, year, month, dom, dow, doy);
143 int32_t dow; local
144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow);
145 return (dow == 0) ? UCAL_SATURDAY : dow;
    [all...]
basictz.cpp 151 int32_t year, month, dom, dow, doy, mid; local
156 year, month, dom, dow, doy, mid);
158 // Create DOW rule
159 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
175 year, month, dom, dow, doy, mid);
177 // Generate another DOW rule
178 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
203 // Generate another DOW rule
205 year, month, dom, dow, doy, mid);
207 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME)
450 int32_t year, month, dom, dow, doy, mid; local
    [all...]
simpletz.cpp 513 int32_t year, month, dom, dow; local
517 Grego::dayToFields(day, year, month, dom, dow);
520 (uint8_t) dow, millis,
546 Grego::dayToFields(day, year, month, dom, dow);
548 (uint8_t) dow, millis,
790 // value indicating which DOW, such as +1 for first,
844 * DOW_IN_MONTH DOM DOW>=DOM DOW<=DOM no DST
    [all...]
gregocal.cpp 772 // // Compute doy of first (relative) DOW of WOY 1
779 // // Adjust for the DOW
973 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
    [all...]
olsontz.cpp 139 int32_t year, month, dom, dow; local
143 Grego::dayToFields(days, year, month, dom, dow);
274 int32_t dom, uint8_t dow,
282 return getOffset(era, year, month, dom, dow, millis,
292 int32_t dom, uint8_t dow,
304 || dow < UCAL_SUNDAY
305 || dow > UCAL_SATURDAY
320 return finalZone->getOffset(era, year, month, dom, dow,
386 int32_t year, month, dom, dow; local
390 Grego::dayToFields(days, year, month, dom, dow);
510 int32_t year, month, dom, dow; local
    [all...]
timezone.cpp 690 int32_t year, month, dom, dow; local
694 Grego::dayToFields(day, year, month, dom, dow);
697 (uint8_t) dow, millis,
    [all...]
calendar.cpp 1294 int32_t dow = julianDayToDayOfWeek(julianDay); local
1573 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
1631 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
3022 int32_t dow = fFirstDayOfWeek; local
    [all...]
  /external/icu4c/i18n/
gregoimp.cpp 97 int32_t& dom, int32_t& dow, int32_t& doy) {
120 dow = (int32_t) uprv_fmod(day + 1, 7);
121 dow += (dow < 0) ? (UCAL_SUNDAY + 7) : UCAL_SUNDAY;
135 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid) {
139 dayToFields(day, year, month, dom, dow, doy);
143 int32_t dow; local
144 ClockMath::floorDivide(day + UCAL_THURSDAY, 7, dow);
145 return (dow == 0) ? UCAL_SATURDAY : dow;
    [all...]
basictz.cpp 151 int32_t year, month, dom, dow, doy, mid; local
156 year, month, dom, dow, doy, mid);
158 // Create DOW rule
159 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
183 year, month, dom, dow, doy, mid);
185 // Generate another DOW rule
186 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
212 // Generate another DOW rule
214 year, month, dom, dow, doy, mid);
216 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME)
462 int32_t year, month, dom, dow, doy, mid; local
    [all...]
simpletz.cpp 513 int32_t year, month, dom, dow; local
517 Grego::dayToFields(day, year, month, dom, dow);
520 (uint8_t) dow, millis,
546 Grego::dayToFields(day, year, month, dom, dow);
548 (uint8_t) dow, millis,
790 // value indicating which DOW, such as +1 for first,
844 * DOW_IN_MONTH DOM DOW>=DOM DOW<=DOM no DST
    [all...]
gregocal.cpp 772 // // Compute doy of first (relative) DOW of WOY 1
779 // // Adjust for the DOW
973 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
    [all...]
olsontz.cpp 318 int32_t dom, uint8_t dow,
326 return getOffset(era, year, month, dom, dow, millis,
336 int32_t dom, uint8_t dow,
348 || dow < UCAL_SUNDAY
349 || dow > UCAL_SATURDAY
363 return finalZone->getOffset(era, year, month, dom, dow,
426 int32_t year, month, dom, dow; local
430 Grego::dayToFields(days, year, month, dom, dow);
553 int32_t year, month, dom, dow, doy, mid; local
554 Grego::timeToFields(current, year, month, dom, dow, doy, mid)
    [all...]
timezone.cpp 630 int32_t year, month, dom, dow; local
634 Grego::dayToFields(day, year, month, dom, dow);
637 (uint8_t) dow, millis,
    [all...]
  /libcore/luni/src/test/java/tests/api/java/util/
CalendarTest.java 67 int dow = cal.get(Calendar.DAY_OF_WEEK); local
70 + " expected: " + dow, cal.get(Calendar.DAY_OF_WEEK) != dow);
    [all...]
  /external/chromium/third_party/icu/source/test/intltest/
caltest.cpp 524 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local
528 if (dow < min ||
529 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range");
530 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow);
654 * results in the first WOY/DOW day of the year satisfying the
657 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the
1376 int32_t dow = cal.get(UCAL_DOW_LOCAL, status); local
1634 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local
    [all...]
dtfmrgts.cpp 1275 int32_t dow; member in class:Test1684Data
    [all...]
tzregts.cpp 372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); local
376 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 6) % 7);
381 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 1) % 7);
388 (uint8_t)dow,
    [all...]
  /external/icu4c/test/intltest/
caltest.cpp 572 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local
576 if (dow < min ||
577 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range");
578 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow);
702 * results in the first WOY/DOW day of the year satisfying the
705 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the
1421 int32_t dow = cal.get(UCAL_DOW_LOCAL, status); local
1679 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local
    [all...]
dtfmrgts.cpp 1275 int32_t dow; member in class:Test1684Data
    [all...]
tzregts.cpp 372 int32_t dow = testCal->get(UCAL_DAY_OF_WEEK, status); local
376 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 6) % 7);
381 dow = UCAL_SUNDAY + ((dow - UCAL_SUNDAY + 1) % 7);
388 (uint8_t)dow,
    [all...]
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
RecurrenceProcessor.java 786 int dow = iterator.weekDay; local
787 dayIndex = iterator.monthDay - dow;
    [all...]
  /bionic/libc/tzcode/
localtime.c 909 int d, m1, yy0, yy1, yy2, dow; local
953 dow = ((26 * m1 - 2) / 10 +
955 if (dow < 0)
956 dow += DAYSPERWEEK;
959 ** "dow" is the day-of-week of the first day of the month. Get
960 ** the day-of-month (zero-origin) of the first "dow" day of the
963 d = rulep->r_day - dow;
    [all...]
  /external/chromium/third_party/icu/source/tools/tzcode/
localtime.c 822 int d, m1, yy0, yy1, yy2, dow; local
866 dow = ((26 * m1 - 2) / 10 +
868 if (dow < 0)
869 dow += DAYSPERWEEK;
872 ** "dow" is the day-of-week of the first day of the month. Get
873 ** the day-of-month (zero-origin) of the first "dow" day of the
876 d = rulep->r_day - dow;
    [all...]
tz2icu.cpp 787 int32_t dow; member in struct:FinalRulePart
835 dow = _dow;
848 if (mode != DOM && (dow < 0 || dow >= 7)) {
849 os << "Invalid input day of week " << dow; local
861 << month << dom << dow << time
886 // DOWGEQ: dom -(dow+1)
887 // DOWLEQ: -dom -(dow+1)
902 * Return a "dow" param suitable for SimpleTimeZone.
905 return (mode == DOM) ? 0 : -(dow+1)
979 int32_t month, dom, dow, time, offset; local
    [all...]

Completed in 608 milliseconds

1 2