/external/icu/icu4c/source/test/testdata/ |
D | calendar.txt | 56 "EXTENDED_YEAR=4601,MONTH=6,DATE=28,IS_LEAP_MONTH=0", // ch 61 "EXTENDED_YEAR=4601,MONTH=6,DATE=29,IS_LEAP_MONTH=0", // ch 66 "EXTENDED_YEAR=4601,MONTH=7,DATE=1,IS_LEAP_MONTH=0", // ch 71 "EXTENDED_YEAR=4601,MONTH=7,DATE=2,IS_LEAP_MONTH=0", // ch 76 "EXTENDED_YEAR=4598,MONTH=10,DATE=18,IS_LEAP_MONTH=0", // ch 81 "EXTENDED_YEAR=4636,MONTH=3,DATE=21,IS_LEAP_MONTH=0", // ch 87 "EXTENDED_YEAR=4627,MONTH=3,DATE=29,IS_LEAP_MONTH=0", // ch 92 "EXTENDED_YEAR=4627,MONTH=4,DATE=1,IS_LEAP_MONTH=0", // ch 97 "EXTENDED_YEAR=4627,MONTH=4,DATE=30,IS_LEAP_MONTH=0", // ch 102 "EXTENDED_YEAR=4627,MONTH=4,DATE=1,IS_LEAP_MONTH=1", // ch [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ChineseDateFormat.java | 193 …public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar.IS_LEAP_MONTH… field in ChineseDateFormat.Field 228 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField() 229 return IS_LEAP_MONTH; in ofCalendarField() 246 if (this.getName().equals(IS_LEAP_MONTH.getName())) { in readResolve() 247 return IS_LEAP_MONTH; in readResolve()
|
D | SimpleDateFormat.java | 1653 cal.get(Calendar.IS_LEAP_MONTH): 0; in subFormat() 2958 cal.set(Calendar.IS_LEAP_MONTH, isLeapMonth); in matchString() 3185 cal.set(Calendar.IS_LEAP_MONTH, 1); in subParse() 3188 cal.set(Calendar.IS_LEAP_MONTH, 0); in subParse()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ChineseDateFormat.java | 196 …public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar.IS_LEAP_MONTH… field in ChineseDateFormat.Field 231 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField() 232 return IS_LEAP_MONTH; in ofCalendarField() 249 if (this.getName().equals(IS_LEAP_MONTH.getName())) { in readResolve() 250 return IS_LEAP_MONTH; in readResolve()
|
D | SimpleDateFormat.java | 1643 cal.get(Calendar.IS_LEAP_MONTH): 0; in subFormat() 2944 cal.set(Calendar.IS_LEAP_MONTH, isLeapMonth); in matchString() 3169 cal.set(Calendar.IS_LEAP_MONTH, 1); in subParse() 3172 cal.set(Calendar.IS_LEAP_MONTH, 0); in subParse()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | DangiTest.java | 91 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 118 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 148 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 201 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 209 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 219 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 239 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 249 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 364 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAddDangi() 372 || cal.get(Calendar.IS_LEAP_MONTH) != test[8] || cal.get(DATE) != test[9]) { in doRollAddDangi() [all …]
|
D | ChineseTest.java | 111 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 139 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 170 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 326 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 334 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 356 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 376 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 386 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 503 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAdd() 512 cal.get(Calendar.IS_LEAP_MONTH) != test[8] || in doRollAdd() [all …]
|
D | ChineseTestCase.java | 44 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase() 57 (get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in toString()
|
D | CalendarTestFmwk.java | 435 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in ymdToString()
|
D | CalendarRegressionTest.java | 1404 field != Calendar.IS_LEAP_MONTH ) { in Test4173516()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | DangiTest.java | 88 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 115 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 145 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 198 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 206 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 216 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 236 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 246 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 361 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAddDangi() 369 || cal.get(Calendar.IS_LEAP_MONTH) != test[8] || cal.get(DATE) != test[9]) { in doRollAddDangi() [all …]
|
D | ChineseTest.java | 108 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 136 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 167 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 323 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 331 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 353 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 373 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 383 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 500 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAdd() 509 cal.get(Calendar.IS_LEAP_MONTH) != test[8] || in doRollAdd() [all …]
|
D | ChineseTestCase.java | 41 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase() 54 (get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in toString()
|
D | CalendarTestFmwk.java | 432 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in ymdToString()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ChineseCalendar.java | 211 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 267 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 484 { RESOLVE_REMAP | DAY_OF_MONTH, IS_LEAP_MONTH }, 579 if (get(IS_LEAP_MONTH) == 1) { in roll() 872 internalSet(IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields() 972 int saveIsLeapMonth = internalGet(IS_LEAP_MONTH); in handleComputeMonthStart() 984 isLeapMonth != internalGet(IS_LEAP_MONTH)) { in handleComputeMonthStart() 990 internalSet(IS_LEAP_MONTH, saveIsLeapMonth); in handleComputeMonthStart()
|
D | Calendar.java | 930 public static final int IS_LEAP_MONTH = 22; field in Calendar 1621 (1 << IS_LEAP_MONTH); in initInternal() 4286 case IS_LEAP_MONTH: in getLimit()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ChineseCalendar.java | 215 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 273 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 499 { RESOLVE_REMAP | DAY_OF_MONTH, IS_LEAP_MONTH }, 597 if (get(IS_LEAP_MONTH) == 1) { in roll() 891 internalSet(IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields() 992 int saveIsLeapMonth = internalGet(IS_LEAP_MONTH); in handleComputeMonthStart() 1004 isLeapMonth != internalGet(IS_LEAP_MONTH)) { in handleComputeMonthStart() 1010 internalSet(IS_LEAP_MONTH, saveIsLeapMonth); in handleComputeMonthStart()
|
D | Calendar.java | 954 public static final int IS_LEAP_MONTH = 22; field in Calendar 1686 (1 << IS_LEAP_MONTH); in initInternal() 4407 case IS_LEAP_MONTH: in getLimit()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 148 android.icu.util.ChineseCalendar.IS_LEAP_MONTH, /* 22 */
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 144 com.ibm.icu.util.ChineseCalendar.IS_LEAP_MONTH, /* 22 */
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 3479 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3485 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3570 int ccalField = ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField(); in TestFormatToCharacterIteratorCoverage() 3571 if (ccalField != Calendar.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3575 if (cfield != ChineseDateFormat.Field.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3577 + " - Expected: " + ChineseDateFormat.Field.IS_LEAP_MONTH); in TestFormatToCharacterIteratorCoverage() 3895 int[] cases = { Calendar.IS_LEAP_MONTH - 1}; in TestOfCalendarField() 4256 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4269 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4276 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 3482 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3488 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3573 int ccalField = ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField(); in TestFormatToCharacterIteratorCoverage() 3574 if (ccalField != Calendar.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3578 if (cfield != ChineseDateFormat.Field.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3580 + " - Expected: " + ChineseDateFormat.Field.IS_LEAP_MONTH); in TestFormatToCharacterIteratorCoverage() 3898 int[] cases = { Calendar.IS_LEAP_MONTH - 1}; in TestOfCalendarField() 4259 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4272 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4279 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | calendar.h | 225 IS_LEAP_MONTH, enumerator
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatHandler.java | 2099 ChineseDateFormat.Field.IS_LEAP_MONTH in getTestObjects()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatHandler.java | 2102 ChineseDateFormat.Field.IS_LEAP_MONTH in getTestObjects()
|