Home
last modified time | relevance | path

Searched refs:WEEK_OF_YEAR (Results 1 – 25 of 45) sorted by relevance

12

/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
DCalendarTestFmwk.java51 public final static int WOY = Calendar.WEEK_OF_YEAR;
237 Calendar.WEEK_OF_YEAR, Calendar.WEEK_OF_MONTH, in doLimitsTest()
363 int maxWOY = cal.getMaximum(Calendar.WEEK_OF_YEAR); in doTheoreticalLimitsTest()
364 int lmaxWOY = cal.getLeastMaximum(Calendar.WEEK_OF_YEAR); in doTheoreticalLimitsTest()
DCalendarRegressionTest.java625 int actWOY = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271()
654 int woy = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271()
667 testCal.set(Calendar.WEEK_OF_YEAR, DATA[j+1+i]); in Test4103271()
711 testCal.set(Calendar.WEEK_OF_YEAR, woy); in Test4103271()
757 if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, amount); in Test4103271()
758 else testCal.roll(Calendar.WEEK_OF_YEAR, amount); in Test4103271()
769 if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, -amount); in Test4103271()
770 else testCal.roll(Calendar.WEEK_OF_YEAR, -amount); in Test4103271()
1552 int actWOY = cal.get(Calendar.WEEK_OF_YEAR);
1640 new int[] { Calendar.WEEK_OF_YEAR, 9,
[all …]
DCompatibilityTest.java599 c.set(Calendar.WEEK_OF_YEAR, 1); in TestDisambiguation765()
605 c.set(Calendar.WEEK_OF_YEAR, 10); in TestDisambiguation765()
613 c.set(Calendar.WEEK_OF_YEAR, 0); in TestDisambiguation765()
1083 if (cal.getActualMaximum(Calendar.WEEK_OF_YEAR) != 52) in TestActualMinMax()
1085 cal.getActualMaximum(Calendar.WEEK_OF_YEAR)); in TestActualMinMax()
1090 if (cal.getActualMaximum(Calendar.WEEK_OF_YEAR) != 53) in TestActualMinMax()
1092 cal.getActualMaximum(Calendar.WEEK_OF_YEAR)); in TestActualMinMax()
DPersianTest.java142 int leastWeeks = handleGetLimit(Calendar.WEEK_OF_YEAR, Calendar.LEAST_MAXIMUM); in TestCoverage12424()
DIBMCalendarTest.java607 int woy1 = cal.get(Calendar.WEEK_OF_YEAR); in TestWeekShift()
613 int woy2 = cal.get(Calendar.WEEK_OF_YEAR); in TestWeekShift()
1173 int weekNum = cal.get(Calendar.WEEK_OF_YEAR); in TestISO8601()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DGregorianCalendar.java561 case WEEK_OF_YEAR: in roll()
570 int woy = get(WEEK_OF_YEAR); in roll()
601 set(WEEK_OF_YEAR, woy); in roll()
DChineseCalendar.java492 { WEEK_OF_YEAR, DAY_OF_WEEK },
495 { WEEK_OF_YEAR, DOW_LOCAL },
502 { WEEK_OF_YEAR },
DCalendar.java744 public final static int WEEK_OF_YEAR = 3; field in Calendar
2590 set(WEEK_OF_YEAR, getGreatestMinimum(WEEK_OF_YEAR)); in prepareGetActual()
2605 case WEEK_OF_YEAR: in prepareGetActual()
3011 case WEEK_OF_YEAR: in roll()
3253 case WEEK_OF_YEAR: in add()
5193 fields[WEEK_OF_YEAR] = woy; in computeWeekFields()
5218 { WEEK_OF_YEAR, DAY_OF_WEEK },
5221 { WEEK_OF_YEAR, DOW_LOCAL },
5226 … { RESOLVE_REMAP | WEEK_OF_YEAR, YEAR_WOY }, // if YEAR_WOY is set, calc based on WEEK_OF_YEAR
5229 { WEEK_OF_YEAR },
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DGregorianCalendar.java541 case WEEK_OF_YEAR: in roll()
550 int woy = get(WEEK_OF_YEAR); in roll()
581 set(WEEK_OF_YEAR, woy); in roll()
DChineseCalendar.java477 { WEEK_OF_YEAR, DAY_OF_WEEK },
480 { WEEK_OF_YEAR, DOW_LOCAL },
487 { WEEK_OF_YEAR },
DCalendar.java740 public final static int WEEK_OF_YEAR = 3; field in Calendar
2495 set(WEEK_OF_YEAR, getGreatestMinimum(WEEK_OF_YEAR)); in prepareGetActual()
2510 case WEEK_OF_YEAR: in prepareGetActual()
2914 case WEEK_OF_YEAR: in roll()
3155 case WEEK_OF_YEAR: in add()
5028 fields[WEEK_OF_YEAR] = woy; in computeWeekFields()
5052 { WEEK_OF_YEAR, DAY_OF_WEEK },
5055 { WEEK_OF_YEAR, DOW_LOCAL },
5060 … { RESOLVE_REMAP | WEEK_OF_YEAR, YEAR_WOY }, // if YEAR_WOY is set, calc based on WEEK_OF_YEAR
5063 { WEEK_OF_YEAR },
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DCalendarTestFmwk.java48 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()
DCalendarRegressionTest.java622 int actWOY = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271()
651 int woy = testCal.get(Calendar.WEEK_OF_YEAR); in Test4103271()
664 testCal.set(Calendar.WEEK_OF_YEAR, DATA[j+1+i]); in Test4103271()
708 testCal.set(Calendar.WEEK_OF_YEAR, woy); in Test4103271()
754 if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, amount); in Test4103271()
755 else testCal.roll(Calendar.WEEK_OF_YEAR, amount); in Test4103271()
766 if (ADDROLL[i] == ADD) testCal.add(Calendar.WEEK_OF_YEAR, -amount); in Test4103271()
767 else testCal.roll(Calendar.WEEK_OF_YEAR, -amount); in Test4103271()
1549 int actWOY = cal.get(Calendar.WEEK_OF_YEAR);
1637 new int[] { Calendar.WEEK_OF_YEAR, 9,
[all …]
DCompatibilityTest.java596 c.set(Calendar.WEEK_OF_YEAR, 1); in TestDisambiguation765()
602 c.set(Calendar.WEEK_OF_YEAR, 10); in TestDisambiguation765()
610 c.set(Calendar.WEEK_OF_YEAR, 0); in TestDisambiguation765()
1080 if (cal.getActualMaximum(Calendar.WEEK_OF_YEAR) != 52) in TestActualMinMax()
1082 cal.getActualMaximum(Calendar.WEEK_OF_YEAR)); in TestActualMinMax()
1087 if (cal.getActualMaximum(Calendar.WEEK_OF_YEAR) != 53) in TestActualMinMax()
1089 cal.getActualMaximum(Calendar.WEEK_OF_YEAR)); in TestActualMinMax()
DPersianTest.java139 int leastWeeks = handleGetLimit(Calendar.WEEK_OF_YEAR, Calendar.LEAST_MAXIMUM); in TestCoverage12424()
/external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/util/
DCalendar.java723 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/
DSimpleDateFormat.java524 } else if (attr.equals(java.text.DateFormat.Field.WEEK_OF_YEAR)) { in formatToCharacterIterator()
525 val = attr = Field.WEEK_OF_YEAR; in formatToCharacterIterator()
DDateFormat.java1789 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/
DDebugUtilitiesData.java129 android.icu.util.Calendar.WEEK_OF_YEAR, /* 3 */
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDebugUtilitiesData.java125 com.ibm.icu.util.Calendar.WEEK_OF_YEAR, /* 3 */
/external/icu/icu4j/main/classes/localespi/src/com/ibm/icu/impl/jdkadapter/
DSimpleDateFormatICU.java351 } 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/
DDateFormat.java2405 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/
DDateFormat.java2226 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/
DCalendarCalc.java96 new RollAddField(Calendar.WEEK_OF_YEAR, "Week of Year" ),
/external/icu/icu4c/source/i18n/unicode/
Dcalendar.h205 WEEK_OF_YEAR, // Example: 1..53 enumerator

12