/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 103 dom = cal.get(Calendar.DATE), dow = cal.get(Calendar.DAY_OF_WEEK); in TestGregorianChangeover() 482 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 483 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 484 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 540 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 547 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 556 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 568 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 575 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 583 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() [all …]
|
D | ChineseTestCase.java | 43 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase() 51 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 | 199 cal.set(Calendar.DAY_OF_WEEK, 0); in Test4051765() 320 if (cal.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY || in Test4070502() 321 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 340 int wd = cal.get(Calendar.DAY_OF_WEEK); in getAssociatedDate() 364 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 365 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 366 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 502 int dow = a.get(Calendar.DAY_OF_WEEK); in Test4095407() 665 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 709 testCal.set(Calendar.DAY_OF_WEEK, dow); in Test4103271() [all …]
|
D | CalendarTestFmwk.java | 50 public final static int DOW = Calendar.DAY_OF_WEEK; 357 int nDOW = cal.getMaximum(Calendar.DAY_OF_WEEK); in doTheoreticalLimitsTest()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
D | CompatibilityTest.java | 106 dom = cal.get(Calendar.DATE), dow = cal.get(Calendar.DAY_OF_WEEK); in TestGregorianChangeover() 485 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 486 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 487 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 543 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 550 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 559 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 571 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 578 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() 586 c.set(Calendar.DAY_OF_WEEK, Calendar.TUESDAY); in TestDisambiguation765() [all …]
|
D | ChineseTestCase.java | 46 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase() 54 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
|
D | TestCase.java | 66 return dowToString(get(Calendar.DAY_OF_WEEK)) + " " + in toString() 105 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase() 142 set(Calendar.DAY_OF_WEEK, dayOfWeek); in TestCase()
|
D | CalendarRegressionTest.java | 202 cal.set(Calendar.DAY_OF_WEEK, 0); in Test4051765() 323 if (cal.get(Calendar.DAY_OF_WEEK) == Calendar.SATURDAY || in Test4070502() 324 cal.get(Calendar.DAY_OF_WEEK) == Calendar.SUNDAY) in Test4070502() 343 int wd = cal.get(Calendar.DAY_OF_WEEK); in getAssociatedDate() 367 int dow = cal.get(Calendar.DAY_OF_WEEK); in dowTest() 368 int min = cal.getMinimum(Calendar.DAY_OF_WEEK); in dowTest() 369 int max = cal.getMaximum(Calendar.DAY_OF_WEEK); in dowTest() 505 int dow = a.get(Calendar.DAY_OF_WEEK); in Test4095407() 668 testCal.set(Calendar.DAY_OF_WEEK, (i%7) + Calendar.SUNDAY); in Test4103271() 712 testCal.set(Calendar.DAY_OF_WEEK, dow); in Test4103271() [all …]
|
D | CalendarTestFmwk.java | 53 public final static int DOW = Calendar.DAY_OF_WEEK; 360 int nDOW = cal.getMaximum(Calendar.DAY_OF_WEEK); in doTheoreticalLimitsTest()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | Calendar.java | 800 public final static int DAY_OF_WEEK = 7; field in Calendar 2486 case DAY_OF_WEEK: in getActualMaximum() 2536 case DAY_OF_WEEK: in getActualMinimum() 2602 set(DAY_OF_WEEK, get(DAY_OF_WEEK)); // Make this user set in prepareGetActual() 2619 set(DAY_OF_WEEK, dow); in prepareGetActual() 2962 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3020 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 3081 case DAY_OF_WEEK: in roll() 3091 leadDays -= (field == DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll() 3266 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 | 189 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | Calendar.java | 789 public final static int DAY_OF_WEEK = 7; field in Calendar 2392 case DAY_OF_WEEK: in getActualMaximum() 2441 case DAY_OF_WEEK: in getActualMinimum() 2506 set(DAY_OF_WEEK, get(DAY_OF_WEEK)); // Make this user set in prepareGetActual() 2523 set(DAY_OF_WEEK, dow); in prepareGetActual() 2864 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 2922 int dow = internalGet(DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 2983 case DAY_OF_WEEK: in roll() 2993 leadDays -= (field == DAY_OF_WEEK) ? getFirstDayOfWeek() : 1; in roll() 3167 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()
|
/third_party/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()
|
/third_party/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | CalendarICU.java | 148 if (field == MONTH || field == DAY_OF_WEEK) { in getDisplayNames() 309 case DAY_OF_WEEK: in getFieldStrings()
|
D | SimpleDateFormatICU.java | 323 } else if (icuAttribute == DateFormat.Field.DAY_OF_WEEK) { in mapAttribute() 324 jdkAttribute = java.text.DateFormat.Field.DAY_OF_WEEK; in mapAttribute()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
D | SimpleDateFormat.java | 1442 /*EDF*/ Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH, 1488 …/*EDF*/ DateFormat.Field.DAY_OF_WEEK, DateFormat.Field.DAY_OF_YEAR, DateFormat.Field.DAY_OF_WEEK_I… 1494 /*c*/ DateFormat.Field.DAY_OF_WEEK, 1729 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 1873 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 2935 if (field == Calendar.DAY_OF_WEEK) i = 1; in matchString() 3389 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.weekdays, null, cal)) > … in subParse() 3394 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shortWeekdays, null, cal… in subParse() 3400 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shorterWeekdays, null, ca… in subParse() 3407 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.narrowWeekdays, null, cal… in subParse() [all …]
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 1452 /*EDF*/ Calendar.DAY_OF_WEEK, Calendar.DAY_OF_YEAR, Calendar.DAY_OF_WEEK_IN_MONTH, 1498 …/*EDF*/ DateFormat.Field.DAY_OF_WEEK, DateFormat.Field.DAY_OF_YEAR, DateFormat.Field.DAY_OF_WEEK_I… 1504 /*c*/ DateFormat.Field.DAY_OF_WEEK, 1742 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 1886 value = cal.get(Calendar.DAY_OF_WEEK); in subFormat() 2955 if (field == Calendar.DAY_OF_WEEK) i = 1; in matchString() 3411 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.weekdays, null, cal)) > … in subParse() 3416 …if ((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shortWeekdays, null, cal… in subParse() 3422 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.shorterWeekdays, null, ca… in subParse() 3429 …if((newStart = matchString(text, start, Calendar.DAY_OF_WEEK, formatData.narrowWeekdays, null, cal… in subParse() [all …]
|
/third_party/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()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 133 ohos.global.icu.util.Calendar.DAY_OF_WEEK, /* 7 */
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 129 com.ibm.icu.util.Calendar.DAY_OF_WEEK, /* 7 */
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
D | TimeZoneBoundaryTest.java | 271 … cal.get(Calendar.DAY_OF_MONTH), cal.get(Calendar.DAY_OF_WEEK), in verifyDST() 283 ", dow=" + cal.get(Calendar.DAY_OF_WEEK) + in verifyDST()
|