/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 | 1641 cal.get(Calendar.IS_LEAP_MONTH): 0; in subFormat() 2937 cal.set(Calendar.IS_LEAP_MONTH, isLeapMonth); in matchString() 3164 cal.set(Calendar.IS_LEAP_MONTH, 1); in subParse() 3167 cal.set(Calendar.IS_LEAP_MONTH, 0); in subParse()
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ChineseDateFormat.java | 195 …public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar.IS_LEAP_MONTH… field in ChineseDateFormat.Field 230 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField() 231 return IS_LEAP_MONTH; in ofCalendarField() 248 if (this.getName().equals(IS_LEAP_MONTH.getName())) { in readResolve() 249 return IS_LEAP_MONTH; in readResolve()
|
D | SimpleDateFormat.java | 1631 cal.get(Calendar.IS_LEAP_MONTH): 0; in subFormat() 2923 cal.set(Calendar.IS_LEAP_MONTH, isLeapMonth); in matchString() 3148 cal.set(Calendar.IS_LEAP_MONTH, 1); in subParse() 3151 cal.set(Calendar.IS_LEAP_MONTH, 0); in subParse()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | DangiTest.java | 85 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 112 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 142 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 195 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 203 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 213 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 233 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 243 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 358 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAddDangi() 366 || cal.get(Calendar.IS_LEAP_MONTH) != test[8] || cal.get(DATE) != test[9]) { in doRollAddDangi() [all …]
|
D | ChineseTest.java | 105 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 133 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 164 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 320 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 328 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 350 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 370 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 380 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 497 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAdd() 506 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() 53 (get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in toString()
|
D | CalendarTestFmwk.java | 432 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in ymdToString()
|
D | CalendarRegressionTest.java | 1394 field != Calendar.IS_LEAP_MONTH ) { in Test4173516()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | DangiTest.java | 86 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 113 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 143 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 196 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 204 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 214 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 234 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 244 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 359 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAddDangi() 367 || cal.get(Calendar.IS_LEAP_MONTH) != test[8] || cal.get(DATE) != test[9]) { in doRollAddDangi() [all …]
|
D | ChineseTest.java | 106 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 134 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 165 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 321 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 329 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 351 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 371 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 381 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 498 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAdd() 507 cal.get(Calendar.IS_LEAP_MONTH) != test[8] || in doRollAdd() [all …]
|
D | ChineseTestCase.java | 42 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase() 54 (get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in toString()
|
D | CalendarTestFmwk.java | 433 (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 | 929 public static final int IS_LEAP_MONTH = 22; field in Calendar 1615 (1 << IS_LEAP_MONTH); in initInternal() 4309 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 | 953 public static final int IS_LEAP_MONTH = 22; field in Calendar 1680 (1 << IS_LEAP_MONTH); in initInternal() 4431 case IS_LEAP_MONTH: in getLimit()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 145 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/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 3476 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3482 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3567 int ccalField = ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField(); in TestFormatToCharacterIteratorCoverage() 3568 if (ccalField != Calendar.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3572 if (cfield != ChineseDateFormat.Field.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3574 + " - Expected: " + ChineseDateFormat.Field.IS_LEAP_MONTH); in TestFormatToCharacterIteratorCoverage() 3892 int[] cases = { Calendar.IS_LEAP_MONTH - 1}; in TestOfCalendarField() 4252 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4265 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4272 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | DateFormatTest.java | 3475 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3481 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3566 int ccalField = ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField(); in TestFormatToCharacterIteratorCoverage() 3567 if (ccalField != Calendar.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3571 if (cfield != ChineseDateFormat.Field.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3573 + " - Expected: " + ChineseDateFormat.Field.IS_LEAP_MONTH); in TestFormatToCharacterIteratorCoverage() 3891 int[] cases = { Calendar.IS_LEAP_MONTH - 1}; in TestOfCalendarField() 4251 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4264 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4271 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | calendar.h | 242 IS_LEAP_MONTH, enumerator
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatHandler.java | 2078 ChineseDateFormat.Field.IS_LEAP_MONTH in getTestObjects()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatHandler.java | 2079 ChineseDateFormat.Field.IS_LEAP_MONTH in getTestObjects()
|