/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 99 dom = cal.get(Calendar.DATE), dow = cal.get(Calendar.DAY_OF_WEEK); in TestGregorianChangeover() 478 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 479 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 480 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 536 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 543 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 552 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 564 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 571 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 579 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() [all …]
|
D | ChineseTestCase.java | 43 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase() 50 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
|
D | TestCase.java | 63 return dowToString(get(Calendar.DAY_OF_WEEK)) + " " + in toString() 102 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase() 139 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase()
|
D | CalendarRegressionTest.java | 192 cal.set(Calendar.DAY_OF_WEEK, 0); in Test4051765() 313 if (cal.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY || in Test4070502() 314 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 333 int wd = cal.get(Calendar.DAY_OF_WEEK); in getAssociatedDate() 357 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 358 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 359 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 495 int dow = a.get(Calendar.DAY_OF_WEEK); in Test4095407() 658 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 702 testCal.set(Calendar.DAY_OF_WEEK, dow); in Test4103271() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 100 dom = cal.get(Calendar.DATE), dow = cal.get(Calendar.DAY_OF_WEEK); in TestGregorianChangeover() 479 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 480 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 481 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 537 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 544 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 553 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 565 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 572 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 580 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() [all …]
|
D | ChineseTestCase.java | 44 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase() 51 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
|
D | TestCase.java | 64 return dowToString(get(Calendar.DAY_OF_WEEK)) + " " + in toString() 103 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase() 140 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase()
|
D | CalendarRegressionTest.java | 193 cal.set(Calendar.DAY_OF_WEEK, 0); in Test4051765() 314 if (cal.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY || in Test4070502() 315 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 334 int wd = cal.get(Calendar.DAY_OF_WEEK); in getAssociatedDate() 358 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 359 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 360 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 496 int dow = a.get(Calendar.DAY_OF_WEEK); in Test4095407() 659 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 703 testCal.set(Calendar.DAY_OF_WEEK, dow); in Test4103271() [all …]
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base.tests/src/com/ibm/icu/tests/ |
D | CalendarTest.java | 473 assertEquals(1, cal.getMinimum(Calendar.DAY_OF_WEEK)); in testGetMinimum() 481 assertEquals(7, cal.getMaximum(Calendar.DAY_OF_WEEK)); in testGetMaximum() 514 cal.set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY); in testIsWeekendDate() 516 cal.set(Calendar.DAY_OF_WEEK, Calendar.WEDNESDAY); in testIsWeekendDate() 525 cal.set(Calendar.DAY_OF_WEEK, Calendar.SATURDAY); in testIsWeekend() 527 cal.set(Calendar.DAY_OF_WEEK, Calendar.WEDNESDAY); in testIsWeekend()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | Calendar.java | 788 public final static int DAY_OF_WEEK = 7; field in Calendar 2416 case DAY_OF_WEEK: in getActualMaximum() 2465 case DAY_OF_WEEK: in getActualMinimum() 2530 set(DAY_OF_WEEK, get(DAY_OF_WEEK)); // Make this user set in prepareGetActual() 2547 set(DAY_OF_WEEK, dow); in prepareGetActual() 2888 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 2946 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3007 case DAY_OF_WEEK: in roll() 3017 leadDays -= (field == DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll() 3191 case DAY_OF_WEEK: in add() [all …]
|
D | ChineseCalendar.java | 477 { WEEK_OF_YEAR, DAY_OF_WEEK }, 478 { WEEK_OF_MONTH, DAY_OF_WEEK }, 479 { DAY_OF_WEEK_IN_MONTH, DAY_OF_WEEK }, 490 { RESOLVE_REMAP | DAY_OF_WEEK_IN_MONTH, DAY_OF_WEEK },
|
D | SimpleDateRule.java | 187 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Calendar.java | 797 public final static int DAY_OF_WEEK = 7; field in Calendar 2509 case DAY_OF_WEEK: in getActualMaximum() 2559 case DAY_OF_WEEK: in getActualMinimum() 2625 set(DAY_OF_WEEK, get(DAY_OF_WEEK)); // Make this user set in prepareGetActual() 2642 set(DAY_OF_WEEK, dow); in prepareGetActual() 2985 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3043 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3104 case DAY_OF_WEEK: in roll() 3114 leadDays -= (field == DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll() 3289 case DAY_OF_WEEK: in add() [all …]
|
D | ChineseCalendar.java | 492 { WEEK_OF_YEAR, DAY_OF_WEEK }, 493 { WEEK_OF_MONTH, DAY_OF_WEEK }, 494 { DAY_OF_WEEK_IN_MONTH, DAY_OF_WEEK }, 505 { RESOLVE_REMAP | DAY_OF_WEEK_IN_MONTH, DAY_OF_WEEK },
|
D | SimpleDateRule.java | 192 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Calendar.java | 777 public final static int DAY_OF_WEEK = 7; field in Calendar 2338 int dow = calendar.get(Calendar.DAY_OF_WEEK); in isWeekend() 2451 case DAY_OF_WEEK: in getJDKField() 2452 return java.util.Calendar.DAY_OF_WEEK; in getJDKField()
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarPanel.java | 137 minDay = c.getMinimum(Calendar.DAY_OF_WEEK); in calculate() 138 daysInWeek = c.getMaximum(Calendar.DAY_OF_WEEK) - minDay + 1; in calculate() 146 firstDayInMonth = c.get(Calendar.DAY_OF_WEEK); in calculate()
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | CalendarICU.java | 148 if (field == MONTH || field == DAY_OF_WEEK) { in getDisplayNames() 304 case DAY_OF_WEEK: in getFieldStrings()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 496 } else if (attr.equals(java.text.DateFormat.Field.DAY_OF_WEEK)) { in formatToCharacterIterator() 497 val = attr = Field.DAY_OF_WEEK ; in formatToCharacterIterator()
|
D | DateFormat.java | 1703 public static final Field DAY_OF_WEEK = new Field("day of week", Calendar.DAY_OF_WEEK); field in DateFormat.Field 2038 } else if (fieldAttribute.equals(Field.DAY_OF_WEEK)) { in toJDKFieldPosition() 2039 fieldAttribute = java.text.DateFormat.Field.DAY_OF_WEEK; in toJDKFieldPosition()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 1420 /*EDF*/ Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH, 1466 …/*EDF*/ DateFormat.Field.DAY_OF_WEEK, DateFormat.Field.DAY_OF_YEAR, DateFormat.Field.DAY_OF_WEEK_I… 1472 /*c*/ DateFormat.Field.DAY_OF_WEEK, 1708 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 1852 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 2894 if (field == Calendar.DAY_OF_WEEK) i = 1; in matchString() 3353 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.weekdays, null, cal)) > … in subParse() 3358 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shortWeekdays, null, cal… in subParse() 3364 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shorterWeekdays, null, ca… in subParse() 3371 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.narrowWeekdays, null, cal… in subParse() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | SimpleDateFormat.java | 1411 /*EDF*/ Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH, 1457 …/*EDF*/ DateFormat.Field.DAY_OF_WEEK, DateFormat.Field.DAY_OF_YEAR, DateFormat.Field.DAY_OF_WEEK_I… 1463 /*c*/ DateFormat.Field.DAY_OF_WEEK, 1698 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 1842 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 2880 if (field == Calendar.DAY_OF_WEEK) i = 1; in matchString() 3337 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.weekdays, null, cal)) > … in subParse() 3342 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shortWeekdays, null, cal… in subParse() 3348 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shorterWeekdays, null, ca… in subParse() 3355 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.narrowWeekdays, null, cal… in subParse() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
D | SIPDate.java | 173 wkday = javaCal.get(Calendar.DAY_OF_WEEK); in SIPDate() 367 javaCal.set(Calendar.DAY_OF_WEEK, wkday); in setJavaCal()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 130 android.icu.util.Calendar.DAY_OF_WEEK, /* 7 */
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/holiday/ |
D | HolidayCalendarDemo.java | 513 minDay = c.getMinimum(Calendar.DAY_OF_WEEK); in calculate() 514 daysInWeek = c.getMaximum(Calendar.DAY_OF_WEEK) - minDay + 1; in calculate() 522 firstDayInMonth = c.get(Calendar.DAY_OF_WEEK); in calculate()
|