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

1 2

  /packages/apps/DeskClock/src/com/android/deskclock/
RepeatPreference.java 79 public void setDaysOfWeek(Alarm.DaysOfWeek dow) {
80 mDaysOfWeek.set(dow);
81 mNewDaysOfWeek.set(dow);
82 setSummary(dow.toString(getContext(), true));
Alarm.java 323 public void set(DaysOfWeek dow) {
324 mDays = dow.mDays;
  /external/icu4c/i18n/
gregoimp.h 177 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
181 int32_t& dom, int32_t& dow, int32_t& doy);
190 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
193 int32_t& dom, int32_t& dow);
202 * @param dow output parameter to receive day-of-week (1-based, 1==Sun)
207 int32_t& dom, int32_t& dow, int32_t& doy, int32_t& mid);
274 int32_t& dom, int32_t& dow) {
276 dayToFields(day,year,month,dom,dow,doy_unused);
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 161 int32_t year, month, dom, dow, doy, mid; local
166 year, month, dom, dow, doy, mid);
168 // Create DOW rule
169 DateTimeRule *dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
193 year, month, dom, dow, doy, mid);
195 // Generate another DOW rule
196 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME);
222 // Generate another DOW rule
224 year, month, dom, dow, doy, mid);
226 dtr = new DateTimeRule(month, weekInMonth, dow, mid, DateTimeRule::WALL_TIME)
479 int32_t year, month, dom, dow, doy, mid; local
    [all...]
olsontz.cpp 329 int32_t dom, uint8_t dow,
337 return getOffset(era, year, month, dom, dow, millis,
347 int32_t dom, uint8_t dow,
359 || dow < UCAL_SUNDAY
360 || dow > UCAL_SATURDAY
374 return finalZone->getOffset(era, year, month, dom, dow,
437 int32_t year, month, dom, dow; local
441 Grego::dayToFields(days, year, month, dom, dow);
564 int32_t year, month, dom, dow, doy, mid; local
565 Grego::timeToFields(current, year, month, dom, dow, doy, mid)
    [all...]
tzrule.cpp 275 if (type == DateTimeRule::DOW) {
276 // Normalize DOW rule into DOW_GEQ_DOM or DOW_LEQ_DOM
299 int32_t dow = Grego::dayOfWeek(ruleDay);
300 int32_t delta = fDateTimeRule->getRuleDayOfWeek() - dow;
356 int32_t year, month, dom, dow, doy, mid;
357 Grego::timeToFields(base, year, month, dom, dow, doy, mid);
380 int32_t year, month, dom, dow, doy, mid;
381 Grego::timeToFields(base, year, month, dom, dow, doy, mid);
vtzone.cpp 190 int32_t year, month, dom, dow, doy, mid; local
191 Grego::timeToFields(time, year, month, dom, dow, doy, mid);
374 * dow day of week in BYDAY, or 0 when not found
380 static void parseRRULE(const UnicodeString& rrule, int32_t& month, int32_t& dow, int32_t& wim,
388 dow = 0;
475 dow = wday + 1;
762 * Check if the DOW rule specified by month, weekInMonth and dayOfWeek is equivalent
773 if (dtrule->getDateRuleType() == DateTimeRule::DOW
815 int32_t month = -1, dom = 0, dow = 0; local
828 dow = rule->getRuleDayOfWeek()
1657 int32_t y, m, d, dow, doy, mid; local
1933 int32_t year, month, dom, dow, doy, mid; local
    [all...]
calendar.cpp 1335 int32_t dow = julianDayToDayOfWeek(julianDay); local
1614 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
1672 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); local
3166 int32_t dow = fFirstDayOfWeek; local
    [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...]
simpletz.cpp 515 int32_t year, month, dom, dow; local
519 Grego::dayToFields(day, year, month, dom, dow);
522 (uint8_t) dow, millis,
548 Grego::dayToFields(day, year, month, dom, dow);
550 (uint8_t) dow, millis,
792 // value indicating which DOW, such as +1 for first,
846 * DOW_IN_MONTH DOM DOW>=DOM DOW<=DOM no DST
    [all...]
timezone.cpp 613 int32_t year, month, dom, dow; local
617 Grego::dayToFields(day, year, month, dom, dow);
620 (uint8_t) dow, millis,
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DateView.java 92 CharSequence dow = DateFormat.format("EEEE", now); local
94 setText(context.getString(R.string.status_bar_date_formatter, dow, date));
  /packages/apps/Exchange/exchange2/src/com/android/exchange/utility/
CalendarUtilities.java     [all...]
  /external/icu4c/test/intltest/
caltest.cpp 587 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local
591 if (dow < min ||
592 dow > max) errln(UnicodeString("FAIL: Day of week ") + (int32_t)dow + " out of range");
593 if (dow != UCAL_SUNDAY) errln("FAIL: Day of week should be SUNDAY[%d] not %d", UCAL_SUNDAY, dow);
717 * results in the first WOY/DOW day of the year satisfying the
720 * of 1 (for YEAR_WOY 1998) and a DOW of Tuesday, and falls in the
1436 int32_t dow = cal.get(UCAL_DOW_LOCAL, status); local
1694 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local
    [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...]
calregts.cpp 549 int32_t dow = cal->get(UCAL_DAY_OF_WEEK, status); local
555 if (dow < min || dow > max)
556 errln("FAIL: Day of week %d out of range [%d,%d]\n", dow, min, max);
557 if (dow != UCAL_SUNDAY)
558 errln("FAIL: Day of week should be SUNDAY Got " + dow);
810 int32_t dow = a->get(UCAL_DAY_OF_WEEK, status); local
811 if (dow != UCAL_THURSDAY)
812 errln("Fail: Want THURSDAY Got " + dow);
1080 int32_t dow = DISAM_int[i+3]; local
2066 int32_t dow = cal.get(UCAL_DAY_OF_WEEK, status); local
    [all...]
dtfmrgts.cpp 1277 int32_t dow; member in class:Test1684Data
    [all...]
  /external/icu4c/tools/tzcode/
tz2icu.cpp 768 int32_t dow; member in struct:FinalRulePart
816 dow = _dow;
829 if (mode != DOM && (dow < 0 || dow >= 7)) {
830 os << "Invalid input day of week " << dow; local
842 << month << dom << dow << time
867 // DOWGEQ: dom -(dow+1)
868 // DOWLEQ: -dom -(dow+1)
883 * Return a "dow" param suitable for SimpleTimeZone.
886 return (mode == DOM) ? 0 : -(dow+1)
960 int32_t month, dom, dow, time, offset; local
    [all...]
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...]
  /bionic/libc/tzcode/
localtime.c 917 int d, m1, yy0, yy1, yy2, dow; local
961 dow = ((26 * m1 - 2) / 10 +
963 if (dow < 0)
964 dow += DAYSPERWEEK;
967 ** "dow" is the day-of-week of the first day of the month. Get
968 ** the day-of-month (zero-origin) of the first "dow" day of the
971 d = rulep->r_day - dow;
    [all...]
  /system/core/libcutils/
tztime.c 842 int d, m1, yy0, yy1, yy2, dow; local
886 dow = ((26 * m1 - 2) / 10 +
888 if (dow < 0)
889 dow += DAYSPERWEEK;
892 ** "dow" is the day-of-week of the first day of the month. Get
893 ** the day-of-month (zero-origin) of the first "dow" day of the
896 d = rulep->r_day - dow;
    [all...]
  /external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/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...]
  /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...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/
CalendarSyncAdapter.java 792 int dow = -1; local
    [all...]

Completed in 518 milliseconds

1 2