/external/chromium_org/third_party/icu/source/i18n/ |
dtrule.cpp | 30 int32_t dayOfWeek, 33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay), 39 int32_t dayOfWeek, 44 fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay),
|
simpletz.cpp | 271 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate 274 * <li>If both dayOfWeekInMonth and dayOfWeek are positive, they specify the 277 * <li>If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify 280 * <li>If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth 283 * <li>If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth 287 * <li>If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the 291 * <li>If dayOfWeek and DayOfWeekInMonth are both negative, they specify the 299 * @param dayOfWeek the daylight savings starting day-of-week. Please see 306 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, 311 startDayOfWeek = (int8_t)dayOfWeek; [all...] |
vzone.cpp | 118 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) { 119 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); 124 uint8_t dayOfWeek, int32_t millis, 126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
|
vtzone.cpp | 539 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; 544 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); 553 if (daysCount != 7 || month == -1 || dayOfWeek == 0) { 590 if (month == -1 || dayOfWeek == 0 || daysCount == 0) { 639 if (tmp_dayOfWeek != dayOfWeek) { 689 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { 703 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { 706 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { 708 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME); 709 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) [all...] |
/external/icu4c/i18n/ |
dtrule.cpp | 30 int32_t dayOfWeek, 33 : fMonth(month), fDayOfMonth(0), fDayOfWeek(dayOfWeek), fWeekInMonth(weekInMonth), fMillisInDay(millisInDay), 39 int32_t dayOfWeek, 44 fMonth(month), fDayOfMonth(dayOfMonth), fDayOfWeek(dayOfWeek), fWeekInMonth(0), fMillisInDay(millisInDay),
|
simpletz.cpp | 272 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate 275 * <li>If both dayOfWeekInMonth and dayOfWeek are positive, they specify the 278 * <li>If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify 281 * <li>If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth 284 * <li>If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth 288 * <li>If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the 292 * <li>If dayOfWeek and DayOfWeekInMonth are both negative, they specify the 300 * @param dayOfWeek the daylight savings starting day-of-week. Please see 307 SimpleTimeZone::setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, 312 startDayOfWeek = (int8_t)dayOfWeek; [all...] |
vzone.cpp | 118 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) { 119 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, status); 124 uint8_t dayOfWeek, int32_t millis, 126 return ((VTimeZone*)zone)->VTimeZone::getOffset(era, year, month, day, dayOfWeek, millis, monthLength, status);
|
vtzone.cpp | 538 int32_t month, dayOfWeek, nthDayOfWeek, dayOfMonth = 0; 543 parseRRULE(rrule, month, dayOfWeek, nthDayOfWeek, days, daysCount, until, status); 552 if (daysCount != 7 || month == -1 || dayOfWeek == 0) { 589 if (month == -1 || dayOfWeek == 0 || daysCount == 0) { 638 if (tmp_dayOfWeek != dayOfWeek) { 688 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth == 0) { 702 if (dayOfWeek == 0 && nthDayOfWeek == 0 && dayOfMonth != 0) { 705 } else if (dayOfWeek != 0 && nthDayOfWeek != 0 && dayOfMonth == 0) { 707 adtr = new DateTimeRule(month, nthDayOfWeek, dayOfWeek, startMID, DateTimeRule::WALL_TIME); 708 } else if (dayOfWeek != 0 && nthDayOfWeek == 0 && dayOfMonth != 0) [all...] |
/libcore/luni/src/main/java/java/util/ |
Grego.java | 107 public static int dayOfWeek(long day) {
110 int dayOfWeek = (int)remainder[0];
111 dayOfWeek = (dayOfWeek == 0) ? 7 : dayOfWeek;
112 return dayOfWeek;
145 int dayOfWeek = (int)((day + 2) % 7); // day 0 is Monday(2)
146 if (dayOfWeek < 1 /* Sunday */) {
147 dayOfWeek += 7;
154 fields[3] = dayOfWeek;
[all...] |
SimpleTimeZone.java | 160 * if the month, day, dayOfWeek, or time parameters are out of 209 * if the month, day, dayOfWeek, or time parameters are out of 276 * if the month, day, dayOfWeek, or time parameters are out of 342 public int getOffset(int era, int year, int month, int day, int dayOfWeek, int time) { 346 checkRange(month, dayOfWeek, time); 364 int ruleDay = 0, daysInMonth, firstDayOfMonth = mod7(dayOfWeek - day); 555 private void checkRange(int month, int dayOfWeek, int time) { 559 if (dayOfWeek < Calendar.SUNDAY || dayOfWeek > Calendar.SATURDAY) { 560 throw new IllegalArgumentException("Invalid day of week: " + dayOfWeek); [all...] |
/external/chromium_org/third_party/icu/source/i18n/unicode/ |
simpletz.h | 54 * along with <code>dayOfWeek = UCAL_SUNDAY</code> to specify the rule. 274 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate 278 * <li>If both dayOfWeekInMonth and dayOfWeek are positive, they specify the 281 * <li>If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify 284 * <li>If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth 287 * <li>If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth 291 * <li>If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the 295 * <li>If dayOfWeek and DayOfWeekInMonth are both negative, they specify the 304 * @param dayOfWeek the daylight savings starting day-of-week. Please see 311 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, [all...] |
dtrule.h | 81 * @param dayOfWeek The day of week, for example, <code>Calendar::SUNDAY</code>. 87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, 98 * @param dayOfWeek The day of week, for example, <code>Calendar::SUNDAY</code>. 105 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after,
|
vtzone.h | 206 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 213 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const; 227 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 235 uint8_t dayOfWeek, int32_t millis, 392 int32_t month, int32_t weekInMonth, int32_t dayOfWeek, 396 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 399 int32_t dayOfWeek, int32_t numDays, 403 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
|
/external/icu4c/i18n/unicode/ |
simpletz.h | 54 * along with <code>dayOfWeek = UCAL_SUNDAY</code> to specify the rule. 274 * The dayOfWeekInMonth and dayOfWeek parameters together specify how to calculate 278 * <li>If both dayOfWeekInMonth and dayOfWeek are positive, they specify the 281 * <li>If dayOfWeek is positive and dayOfWeekInMonth is negative, they specify 284 * <li>If dayOfWeek is zero and dayOfWeekInMonth is positive, dayOfWeekInMonth 287 * <li>If dayOfWeek is zero and dayOfWeekInMonth is negative, dayOfWeekInMonth 291 * <li>If dayOfWeek is negative and dayOfWeekInMonth is positive, they specify the 295 * <li>If dayOfWeek and DayOfWeekInMonth are both negative, they specify the 304 * @param dayOfWeek the daylight savings starting day-of-week. Please see 311 void setStartRule(int32_t month, int32_t dayOfWeekInMonth, int32_t dayOfWeek, [all...] |
dtrule.h | 81 * @param dayOfWeek The day of week, for example, <code>Calendar::SUNDAY</code>. 87 DateTimeRule(int32_t month, int32_t weekInMonth, int32_t dayOfWeek, 98 * @param dayOfWeek The day of week, for example, <code>Calendar::SUNDAY</code>. 105 DateTimeRule(int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, UBool after,
|
vtzone.h | 206 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 213 uint8_t dayOfWeek, int32_t millis, UErrorCode& status) const; 227 * @param dayOfWeek The reference date's day-of-week (1-based; 1 is Sunday) 235 uint8_t dayOfWeek, int32_t millis, 392 int32_t month, int32_t weekInMonth, int32_t dayOfWeek, 396 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek, 399 int32_t dayOfWeek, int32_t numDays, 403 int32_t month, int32_t dayOfMonth, int32_t dayOfWeek,
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarViewAdapter.java | 317 String dayOfWeek = null; 321 dayOfWeek = mContext.getString(R.string.agenda_today, 325 dayOfWeek = mContext.getString(R.string.agenda_yesterday, 329 dayOfWeek = mContext.getString(R.string.agenda_tomorrow, 333 dayOfWeek = DateUtils.formatDateRange(mContext, mFormatter, mMilliTime, mMilliTime, 336 return dayOfWeek.toUpperCase(); 391 int dayOfWeek = t.weekDay; 392 int diff = dayOfWeek - firstDayOfWeek;
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
calcasts.h | 33 int32_t dayOfWeek;
|
tzregts.cpp | 473 int32_t dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); 481 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status); 622 int32_t dayOfWeek = DATA[i+3]; 629 zone->setStartRule(month, day, dayOfWeek, time, status); 635 ", dayOfWeek=" + dayOfWeek + ", time=" + time + 643 zone->setEndRule(month, day, dayOfWeek, time, status); 649 ", dayOfWeek=" + dayOfWeek + ", time=" + time + 659 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, time [all...] |
/external/icu4c/test/intltest/ |
calcasts.h | 33 int32_t dayOfWeek;
|
tzregts.cpp | 473 int32_t dayOfWeek = cal->get(UCAL_DAY_OF_WEEK, status); 481 int32_t offset = tz->getOffset((uint8_t)era, year, month, day, (uint8_t)dayOfWeek, millis, status); 626 int32_t dayOfWeek = DATA[i+3]; 633 zone->setStartRule(month, day, dayOfWeek, time, status); 639 ", dayOfWeek=" + dayOfWeek + ", time=" + time + 647 zone->setEndRule(month, day, dayOfWeek, time, status); 653 ", dayOfWeek=" + dayOfWeek + ", time=" + time + 663 (int8_t)month, (int8_t)day, (int8_t)dayOfWeek, time [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/worldclock/ |
WorldClockAdapter.java | 251 TextView dayOfWeek = (TextView)(nameLayout.findViewById(R.id.city_day)); 282 dayOfWeek.setText(mContext.getString(R.string.world_day_of_week_label, 284 dayOfWeek.setVisibility(View.VISIBLE); 286 dayOfWeek.setVisibility(View.GONE);
|
/external/stlport/src/c_locale_win32/ |
c_locale_win32.c | 202 char *dayofweek[7]; member in struct:_Locale_time 714 int size, month, dayofweek; local 748 for (dayofweek = LOCALE_SDAYNAME1; dayofweek <= LOCALE_SDAYNAME7; ++dayofweek) { 749 int dayindex = ( dayofweek != LOCALE_SDAYNAME7 ) ? dayofweek - LOCALE_SDAYNAME1 + 1 : 0; 750 size = GetLocaleInfoA(ltime->lc.id, dayofweek, NULL, 0); 751 ltime->dayofweek[dayindex] = (char*)malloc(size); 752 if (!ltime->dayofweek[dayindex] [all...] |
/ndk/sources/cxx-stl/stlport/src/c_locale_win32/ |
c_locale_win32.c | 202 char *dayofweek[7]; member in struct:_Locale_time 714 int size, month, dayofweek; local 748 for (dayofweek = LOCALE_SDAYNAME1; dayofweek <= LOCALE_SDAYNAME7; ++dayofweek) { 749 int dayindex = ( dayofweek != LOCALE_SDAYNAME7 ) ? dayofweek - LOCALE_SDAYNAME1 + 1 : 0; 750 size = GetLocaleInfoA(ltime->lc.id, dayofweek, NULL, 0); 751 ltime->dayofweek[dayindex] = (char*)malloc(size); 752 if (!ltime->dayofweek[dayindex] [all...] |
/external/chromium_org/third_party/WebKit/Source/wtf/ |
DateMath.h | 57 // dayOfWeek: [0, 6] 0 being Monday, day: [1, 31], month: [0, 11], year: ex: 2011, hours: [0, 23], minutes: [0, 59], seconds: [0, 59], utcOffset: [-720,720]. 58 WTF_EXPORT String makeRFC2822DateString(unsigned dayOfWeek, unsigned day, unsigned month, unsigned year, unsigned hours, unsigned minutes, unsigned seconds, int utcOffset);
|