Searched refs:IS_LEAP_MONTH (Results 1 - 25 of 26) sorted by relevance

12

/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DChineseDateFormat.java23 * <code>ChineseCalendar.IS_LEAP_MONTH</code>. It also redefines the
29 * <p>With regard to <code>ChineseCalendar.IS_LEAP_MONTH</code>, this
31 * this is taken as equivalent to an <code>IS_LEAP_MONTH</code> value of
108 // case 'l': // 'l' - IS_LEAP_MONTH
113 // ChineseCalendar.IS_LEAP_MONTH));
195 public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar.IS_LEAP_MONTH); field in class:ChineseDateFormat.Field
230 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) {
231 return IS_LEAP_MONTH;
248 if (this.getName().equals(IS_LEAP_MONTH
[all...]
H A DSimpleDateFormat.java1631 cal.get(Calendar.IS_LEAP_MONTH): 0;
2923 cal.set(Calendar.IS_LEAP_MONTH, isLeapMonth);
3148 cal.set(Calendar.IS_LEAP_MONTH, 1);
3151 cal.set(Calendar.IS_LEAP_MONTH, 0);
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DChineseDateFormat.java22 * <code>ChineseCalendar.IS_LEAP_MONTH</code>. It also redefines the
28 * <p>With regard to <code>ChineseCalendar.IS_LEAP_MONTH</code>, this
30 * this is taken as equivalent to an <code>IS_LEAP_MONTH</code> value of
106 // case 'l': // 'l' - IS_LEAP_MONTH
111 // ChineseCalendar.IS_LEAP_MONTH));
193 public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar.IS_LEAP_MONTH); field in class:ChineseDateFormat.Field
228 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) {
229 return IS_LEAP_MONTH;
246 if (this.getName().equals(IS_LEAP_MONTH
[all...]
H A DSimpleDateFormat.java1641 cal.get(Calendar.IS_LEAP_MONTH): 0;
2937 cal.set(Calendar.IS_LEAP_MONTH, isLeapMonth);
3164 cal.set(Calendar.IS_LEAP_MONTH, 1);
3167 cal.set(Calendar.IS_LEAP_MONTH, 0);
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/
H A DChineseTestCase.java42 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0);
54 (get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" +
H A DDangiTest.java86 int L = cal.get(Calendar.IS_LEAP_MONTH);
113 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth);
143 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") +
172 * Make sure IS_LEAP_MONTH participates in field resolution.
196 Calendar.IS_LEAP_MONTH, 1,
204 Calendar.IS_LEAP_MONTH, 1, // Should ignore
210 // If we set IS_LEAP_MONTH last, that should take precedence
214 Calendar.IS_LEAP_MONTH, 1,
234 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH);
244 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMont
[all...]
H A DChineseTest.java106 int L = cal.get(Calendar.IS_LEAP_MONTH);
134 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth);
165 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") +
297 * Make sure IS_LEAP_MONTH participates in field resolution.
321 Calendar.IS_LEAP_MONTH, 1,
329 Calendar.IS_LEAP_MONTH, 1, // Should ignore
340 //! ChineseCalendar.IS_LEAP_MONTH, 1,
347 // If we set IS_LEAP_MONTH last, that should take precedence
351 Calendar.IS_LEAP_MONTH, 1,
371 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH);
[all...]
H A DCalendarTestFmwk.java63 "IS_LEAP_MONTH" // (ChineseCalendar only)
433 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" +
H A DCalendarRegressionTest.java1395 field != Calendar.IS_LEAP_MONTH ) {
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DChineseTestCase.java41 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0);
53 (get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" +
H A DDangiTest.java85 int L = cal.get(Calendar.IS_LEAP_MONTH);
112 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth);
142 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") +
171 * Make sure IS_LEAP_MONTH participates in field resolution.
195 Calendar.IS_LEAP_MONTH, 1,
203 Calendar.IS_LEAP_MONTH, 1, // Should ignore
209 // If we set IS_LEAP_MONTH last, that should take precedence
213 Calendar.IS_LEAP_MONTH, 1,
233 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH);
243 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMont
[all...]
H A DChineseTest.java105 int L = cal.get(Calendar.IS_LEAP_MONTH);
133 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth);
164 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") +
296 * Make sure IS_LEAP_MONTH participates in field resolution.
320 Calendar.IS_LEAP_MONTH, 1,
328 Calendar.IS_LEAP_MONTH, 1, // Should ignore
339 //! ChineseCalendar.IS_LEAP_MONTH, 1,
346 // If we set IS_LEAP_MONTH last, that should take precedence
350 Calendar.IS_LEAP_MONTH, 1,
370 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH);
[all...]
H A DCalendarTestFmwk.java62 "IS_LEAP_MONTH" // (ChineseCalendar only)
432 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" +
H A DCalendarRegressionTest.java1394 field != Calendar.IS_LEAP_MONTH ) {
/external/icu/android_icu4j/src/main/java/android/icu/util/
H A DChineseCalendar.java170 * @param isLeapMonth The value used to set the Chinese calendar's {@link #IS_LEAP_MONTH}
186 * @param isLeapMonth the value used to set the {@link #IS_LEAP_MONTH} time field
211 this.set(IS_LEAP_MONTH, isLeapMonth);
226 * @param isLeapMonth The value used to set the Chinese calendar's {@link #IS_LEAP_MONTH}
244 * @param isLeapMonth the value used to set the {@link #IS_LEAP_MONTH} time field
267 this.set(IS_LEAP_MONTH, isLeapMonth);
348 // public static int IS_LEAP_MONTH = BASE_FIELD_COUNT;
416 { 0, 0, 1, 1 }, // IS_LEAP_MONTH
448 * <p>Note: This method also reads the IS_LEAP_MONTH field to determine
472 * Field resolution table that incorporates IS_LEAP_MONTH
[all...]
H A DCalendar.java929 public static final int IS_LEAP_MONTH = 22; field in class:Calendar
1615 (1 << IS_LEAP_MONTH);
2382 * granularity (such as IS_LEAP_MONTH). The
4261 { 0, 0, 1, 1 }, // IS_LEAP_MONTH
4309 case IS_LEAP_MONTH:
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
H A DChineseCalendar.java172 * @param isLeapMonth The value used to set the Chinese calendar's {@link #IS_LEAP_MONTH}
189 * @param isLeapMonth the value used to set the {@link #IS_LEAP_MONTH} time field
215 this.set(IS_LEAP_MONTH, isLeapMonth);
230 * @param isLeapMonth The value used to set the Chinese calendar's {@link #IS_LEAP_MONTH}
249 * @param isLeapMonth the value used to set the {@link #IS_LEAP_MONTH} time field
273 this.set(IS_LEAP_MONTH, isLeapMonth);
358 // public static int IS_LEAP_MONTH = BASE_FIELD_COUNT;
426 { 0, 0, 1, 1 }, // IS_LEAP_MONTH
460 * <p>Note: This method also reads the IS_LEAP_MONTH field to determine
487 * Field resolution table that incorporates IS_LEAP_MONTH
[all...]
H A DCalendar.java953 public static final int IS_LEAP_MONTH = 22; field in class:Calendar
1680 (1 << IS_LEAP_MONTH);
2474 * granularity (such as IS_LEAP_MONTH). The
4381 { 0, 0, 1, 1 }, // IS_LEAP_MONTH
4431 case IS_LEAP_MONTH:
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DDebugUtilitiesData.java64 "IS_LEAP_MONTH", /* 22 */
145 android.icu.util.ChineseCalendar.IS_LEAP_MONTH, /* 22 */
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DDebugUtilitiesData.java63 "IS_LEAP_MONTH", /* 22 */
144 com.ibm.icu.util.ChineseCalendar.IS_LEAP_MONTH, /* 22 */
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
H A DDateFormatTest.java3476 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) {
3477 errln("FAIL: separate IS_LEAP_MONTH field should not be present for a Chinese calendar non-leap date"
3482 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) {
3483 errln("FAIL: separate IS_LEAP_MONTH field should no longer be present for a Chinese calendar leap date"
3567 int ccalField = ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField();
3568 if (ccalField != Calendar.IS_LEAP_MONTH) {
3569 errln("FAIL: ChineseCalendar field " + ccalField + " is returned for ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField()");
3572 if (cfield != ChineseDateFormat.Field.IS_LEAP_MONTH) {
3574 + " - Expected: " + ChineseDateFormat.Field.IS_LEAP_MONTH);
3891 // Tests when if (calendarField == ChineseCalendar.IS_LEAP_MONTH) i
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A DDateFormatTest.java3475 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) {
3476 errln("FAIL: separate IS_LEAP_MONTH field should not be present for a Chinese calendar non-leap date"
3481 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) {
3482 errln("FAIL: separate IS_LEAP_MONTH field should no longer be present for a Chinese calendar leap date"
3566 int ccalField = ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField();
3567 if (ccalField != Calendar.IS_LEAP_MONTH) {
3568 errln("FAIL: ChineseCalendar field " + ccalField + " is returned for ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField()");
3571 if (cfield != ChineseDateFormat.Field.IS_LEAP_MONTH) {
3573 + " - Expected: " + ChineseDateFormat.Field.IS_LEAP_MONTH);
3890 // Tests when if (calendarField == ChineseCalendar.IS_LEAP_MONTH) i
[all...]
/external/icu/icu4c/source/i18n/unicode/
H A Dcalendar.h242 IS_LEAP_MONTH, enumerator in enum:Calendar::EDateFields
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/
H A DFormatHandler.java2079 ChineseDateFormat.Field.IS_LEAP_MONTH
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
H A DFormatHandler.java2078 ChineseDateFormat.Field.IS_LEAP_MONTH

Completed in 572 milliseconds

12