/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | CalendarTestFmwk.java | 49 public final static int WOY = Calendar.WEEK_OF_YEAR; 235 Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH, in doLimitsTest() 361 int maxWOY = cal.getMaximum(Calendar.WEEK_OF_YEAR); in doTheoreticalLimitsTest() 362 int lmaxWOY = cal.getLeastMaximum(Calendar.WEEK_OF_YEAR); in doTheoreticalLimitsTest()
|
D | CalendarRegressionTest.java | 616 int actWOY = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271() 645 int woy = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271() 658 testCal.set(Calendar.WEEK_OF_YEAR, DATA[j+1+i]); in Test4103271() 702 testCal.set(Calendar.WEEK_OF_YEAR, woy); in Test4103271() 748 if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, amount); in Test4103271() 749 else testCal.roll(Calendar.WEEK_OF_YEAR, amount); in Test4103271() 760 if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, -amount); in Test4103271() 761 else testCal.roll(Calendar.WEEK_OF_YEAR, -amount); in Test4103271() 1543 int actWOY = cal.get(Calendar.WEEK_OF_YEAR); 1631 new int[] { Calendar.WEEK_OF_YEAR, 9, [all …]
|
D | CompatibilityTest.java | 593 c.set(Calendar.WEEK_OF_YEAR, 1); in TestDisambiguation765() 599 c.set(Calendar.WEEK_OF_YEAR, 10); in TestDisambiguation765() 607 c.set(Calendar.WEEK_OF_YEAR, 0); in TestDisambiguation765() 1077 if (cal.getActualMaximum(Calendar.WEEK_OF_YEAR) != 52) in TestActualMinMax() 1079 cal.getActualMaximum(Calendar.WEEK_OF_YEAR)); in TestActualMinMax() 1084 if (cal.getActualMaximum(Calendar.WEEK_OF_YEAR) != 53) in TestActualMinMax() 1086 cal.getActualMaximum(Calendar.WEEK_OF_YEAR)); in TestActualMinMax()
|
D | PersianTest.java | 136 int leastWeeks = handleGetLimit(Calendar.WEEK_OF_YEAR, Calendar.LEAST_MAXIMUM); in TestCoverage12424()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | GregorianCalendar.java | 561 case WEEK_OF_YEAR: in roll() 570 int woy = get(WEEK_OF_YEAR); in roll() 601 set(WEEK_OF_YEAR, woy); in roll()
|
D | ChineseCalendar.java | 492 { WEEK_OF_YEAR, DAY_OF_WEEK }, 495 { WEEK_OF_YEAR, DOW_LOCAL }, 502 { WEEK_OF_YEAR },
|
D | Calendar.java | 743 public final static int WEEK_OF_YEAR = 3; field in Calendar 2614 set(WEEK_OF_YEAR, getGreatestMinimum(WEEK_OF_YEAR)); in prepareGetActual() 2629 case WEEK_OF_YEAR: in prepareGetActual() 3035 case WEEK_OF_YEAR: in roll() 3277 case WEEK_OF_YEAR: in add() 5217 fields[WEEK_OF_YEAR] = woy; in computeWeekFields() 5242 { WEEK_OF_YEAR, DAY_OF_WEEK }, 5245 { WEEK_OF_YEAR, DOW_LOCAL }, 5250 … { RESOLVE_REMAP | WEEK_OF_YEAR, YEAR_WOY }, // if YEAR_WOY is set, calc based on WEEK_OF_YEAR 5253 { WEEK_OF_YEAR }, [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | GregorianCalendar.java | 541 case WEEK_OF_YEAR: in roll() 550 int woy = get(WEEK_OF_YEAR); in roll() 581 set(WEEK_OF_YEAR, woy); in roll()
|
D | ChineseCalendar.java | 477 { WEEK_OF_YEAR, DAY_OF_WEEK }, 480 { WEEK_OF_YEAR, DOW_LOCAL }, 487 { WEEK_OF_YEAR },
|
D | Calendar.java | 739 public final static int WEEK_OF_YEAR = 3; field in Calendar 2519 set(WEEK_OF_YEAR, getGreatestMinimum(WEEK_OF_YEAR)); in prepareGetActual() 2534 case WEEK_OF_YEAR: in prepareGetActual() 2938 case WEEK_OF_YEAR: in roll() 3179 case WEEK_OF_YEAR: in add() 5055 fields[WEEK_OF_YEAR] = woy; in computeWeekFields() 5079 { WEEK_OF_YEAR, DAY_OF_WEEK }, 5082 { WEEK_OF_YEAR, DOW_LOCAL }, 5087 … { RESOLVE_REMAP | WEEK_OF_YEAR, YEAR_WOY }, // if YEAR_WOY is set, calc based on WEEK_OF_YEAR 5090 { WEEK_OF_YEAR }, [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | CalendarTestFmwk.java | 48 public final static int WOY = Calendar.WEEK_OF_YEAR; 234 Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH, in doLimitsTest() 360 int maxWOY = cal.getMaximum(Calendar.WEEK_OF_YEAR); in doTheoreticalLimitsTest() 361 int lmaxWOY = cal.getLeastMaximum(Calendar.WEEK_OF_YEAR); in doTheoreticalLimitsTest()
|
D | CalendarRegressionTest.java | 615 int actWOY = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271() 644 int woy = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271() 657 testCal.set(Calendar.WEEK_OF_YEAR, DATA[j+1+i]); in Test4103271() 701 testCal.set(Calendar.WEEK_OF_YEAR, woy); in Test4103271() 747 if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, amount); in Test4103271() 748 else testCal.roll(Calendar.WEEK_OF_YEAR, amount); in Test4103271() 759 if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, -amount); in Test4103271() 760 else testCal.roll(Calendar.WEEK_OF_YEAR, -amount); in Test4103271() 1542 int actWOY = cal.get(Calendar.WEEK_OF_YEAR); 1630 new int[] { Calendar.WEEK_OF_YEAR, 9, [all …]
|
D | CompatibilityTest.java | 592 c.set(Calendar.WEEK_OF_YEAR, 1); in TestDisambiguation765() 598 c.set(Calendar.WEEK_OF_YEAR, 10); in TestDisambiguation765() 606 c.set(Calendar.WEEK_OF_YEAR, 0); in TestDisambiguation765() 1076 if (cal.getActualMaximum(Calendar.WEEK_OF_YEAR) != 52) in TestActualMinMax() 1078 cal.getActualMaximum(Calendar.WEEK_OF_YEAR)); in TestActualMinMax() 1083 if (cal.getActualMaximum(Calendar.WEEK_OF_YEAR) != 53) in TestActualMinMax() 1085 cal.getActualMaximum(Calendar.WEEK_OF_YEAR)); in TestActualMinMax()
|
D | PersianTest.java | 135 int leastWeeks = handleGetLimit(Calendar.WEEK_OF_YEAR, Calendar.LEAST_MAXIMUM); in TestCoverage12424()
|
D | IBMCalendarTest.java | 601 int woy1 = cal.get(Calendar.WEEK_OF_YEAR); in TestWeekShift() 607 int woy2 = cal.get(Calendar.WEEK_OF_YEAR); in TestWeekShift() 1167 int weekNum = cal.get(Calendar.WEEK_OF_YEAR); in TestISO8601()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/ |
D | Calendar.java | 723 public final static int WEEK_OF_YEAR = 3; field in Calendar 2441 case WEEK_OF_YEAR: in getJDKField() 2442 return java.util.Calendar.WEEK_OF_YEAR; in getJDKField()
|
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/ |
D | SimpleDateFormat.java | 524 } else if (attr.equals(java.text.DateFormat.Field.WEEK_OF_YEAR)) { in formatToCharacterIterator() 525 val = attr = Field.WEEK_OF_YEAR; in formatToCharacterIterator()
|
D | DateFormat.java | 1789 public static final Field WEEK_OF_YEAR = new Field("week of year", Calendar.WEEK_OF_YEAR); field in DateFormat.Field 2066 } else if (fieldAttribute.equals(Field.WEEK_OF_YEAR)) { in toJDKFieldPosition() 2067 fieldAttribute = java.text.DateFormat.Field.WEEK_OF_YEAR; in toJDKFieldPosition()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 126 android.icu.util.Calendar.WEEK_OF_YEAR, /* 3 */
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 125 com.ibm.icu.util.Calendar.WEEK_OF_YEAR, /* 3 */
|
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/ |
D | SimpleDateFormatICU.java | 351 } else if (icuAttribute == DateFormat.Field.WEEK_OF_YEAR) { in mapAttribute() 352 jdkAttribute = java.text.DateFormat.Field.WEEK_OF_YEAR; in mapAttribute()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | DateFormat.java | 2398 public static final Field WEEK_OF_YEAR = new Field("week of year", Calendar.WEEK_OF_YEAR); field in DateFormat.Field
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | DateFormat.java | 2219 public static final Field WEEK_OF_YEAR = new Field("week of year", Calendar.WEEK_OF_YEAR); field in DateFormat.Field
|
/external/icu/icu4j/demos/src/com/ibm/icu/dev/demo/calendar/ |
D | CalendarCalc.java | 96 new RollAddField(Calendar.WEEK_OF_YEAR, "Week of Year" ),
|
/external/icu/icu4c/source/i18n/unicode/ |
D | calendar.h | 222 WEEK_OF_YEAR, // Example: 1..53 enumerator
|