Home
last modified time | relevance | path

Searched refs:DAY_OF_WEEK (Results 1 – 25 of 66) sorted by relevance

123

/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCompatibilityTest.java103 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 …]
DChineseTestCase.java43 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase()
51 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
DTestCase.java63 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()
DCalendarRegressionTest.java199 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 …]
DCalendarTestFmwk.java50 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/
DCompatibilityTest.java106 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 …]
DChineseTestCase.java46 set(Calendar.DAY_OF_WEEK, dayOfWeek); in ChineseTestCase()
54 return dowToString(get(Calendar.DAY_OF_WEEK)) + in toString()
DTestCase.java66 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()
DCalendarRegressionTest.java202 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 …]
DCalendarTestFmwk.java53 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/
DCalendar.java800 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 …]
DChineseCalendar.java492 { 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 },
DSimpleDateRule.java189 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/
DCalendar.java789 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 …]
DChineseCalendar.java477 { 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 },
DSimpleDateRule.java187 int weekday = c.get(Calendar.DAY_OF_WEEK); in computeInYear()
/third_party/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/
DCalendarPanel.java137 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/
DCalendarICU.java148 if (field == MONTH || field == DAY_OF_WEEK) { in getDisplayNames()
309 case DAY_OF_WEEK: in getFieldStrings()
DSimpleDateFormatICU.java323 } 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/
DSimpleDateFormat.java1442 /*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/
DSimpleDateFormat.java1452 /*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/
DHolidayCalendarDemo.java513 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/
DDebugUtilitiesData.java133 ohos.global.icu.util.Calendar.DAY_OF_WEEK, /* 7 */
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDebugUtilitiesData.java129 com.ibm.icu.util.Calendar.DAY_OF_WEEK, /* 7 */
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
DTimeZoneBoundaryTest.java271 … cal.get(Calendar.DAY_OF_MONTH), cal.get(Calendar.DAY_OF_WEEK), in verifyDST()
283 ", dow=" + cal.get(Calendar.DAY_OF_WEEK) + in verifyDST()

123