/external/icu/icu4c/source/test/testdata/ |
D | calendar.txt | 54 "EXTENDED_YEAR=4601,MONTH=6,DATE=28,IS_LEAP_MONTH=0", // ch 59 "EXTENDED_YEAR=4601,MONTH=6,DATE=29,IS_LEAP_MONTH=0", // ch 64 "EXTENDED_YEAR=4601,MONTH=7,DATE=1,IS_LEAP_MONTH=0", // ch 69 "EXTENDED_YEAR=4601,MONTH=7,DATE=2,IS_LEAP_MONTH=0", // ch 74 "EXTENDED_YEAR=4598,MONTH=10,DATE=18,IS_LEAP_MONTH=0", // ch 79 "EXTENDED_YEAR=4636,MONTH=3,DATE=21,IS_LEAP_MONTH=0", // ch 85 "EXTENDED_YEAR=4627,MONTH=3,DATE=29,IS_LEAP_MONTH=0", // ch 90 "EXTENDED_YEAR=4627,MONTH=4,DATE=1,IS_LEAP_MONTH=0", // ch 95 "EXTENDED_YEAR=4627,MONTH=4,DATE=30,IS_LEAP_MONTH=0", // ch 100 "EXTENDED_YEAR=4627,MONTH=4,DATE=1,IS_LEAP_MONTH=1", // ch [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/text/ |
D | ChineseDateFormat.java | 190 …public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar.IS_LEAP_MONTH… field in ChineseDateFormat.Field 225 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField() 226 return IS_LEAP_MONTH; in ofCalendarField() 242 if (this.getName().equals(IS_LEAP_MONTH.getName())) { in readResolve() 243 return IS_LEAP_MONTH; in readResolve()
|
D | SimpleDateFormat.java | 1593 cal.get(Calendar.IS_LEAP_MONTH): 0; in subFormat() 2692 cal.set(Calendar.IS_LEAP_MONTH, isLeapMonth); in matchString() 2878 cal.set(Calendar.IS_LEAP_MONTH, 1); in subParse() 2881 cal.set(Calendar.IS_LEAP_MONTH, 0); in subParse()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
D | ChineseDateFormat.java | 188 …public static final Field IS_LEAP_MONTH = new Field("is leap month", ChineseCalendar.IS_LEAP_MONTH… field in ChineseDateFormat.Field 223 if (calendarField == ChineseCalendar.IS_LEAP_MONTH) { in ofCalendarField() 224 return IS_LEAP_MONTH; in ofCalendarField() 240 if (this.getName().equals(IS_LEAP_MONTH.getName())) { in readResolve() 241 return IS_LEAP_MONTH; in readResolve()
|
D | SimpleDateFormat.java | 1603 cal.get(Calendar.IS_LEAP_MONTH): 0; in subFormat() 2706 cal.set(Calendar.IS_LEAP_MONTH, isLeapMonth); in matchString() 2894 cal.set(Calendar.IS_LEAP_MONTH, 1); in subParse() 2897 cal.set(Calendar.IS_LEAP_MONTH, 0); in subParse()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | DangiTest.java | 89 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 116 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 145 (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() 356 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAddDangi() 364 || cal.get(Calendar.IS_LEAP_MONTH) != test[8] || cal.get(DATE) != test[9]) { in doRollAddDangi() [all …]
|
D | ChineseTest.java | 109 int L = cal.get(Calendar.IS_LEAP_MONTH); in TestMapping() 137 cal.set(Calendar.IS_LEAP_MONTH, cisleapmonth); in TestMapping() 167 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 319 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 327 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 349 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 369 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 379 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 493 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAdd() 502 cal.get(Calendar.IS_LEAP_MONTH) != test[8] || in doRollAdd() [all …]
|
D | ChineseTestCase.java | 40 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase() 52 (get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in toString()
|
D | CalendarTest.java | 434 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in ymdToString()
|
D | CalendarRegression.java | 1362 field != Calendar.IS_LEAP_MONTH ) { in Test4173516()
|
/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() 141 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 192 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 200 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 210 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 230 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 240 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 352 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAddDangi() 360 || 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() 163 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + in TestZeroDOM() 315 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 323 Calendar.IS_LEAP_MONTH, 1, // Should ignore in TestResolution() 345 Calendar.IS_LEAP_MONTH, 1, in TestResolution() 365 int isLeapMonth = cal.get(Calendar.IS_LEAP_MONTH); in TestResolution() 375 cal.set(Calendar.IS_LEAP_MONTH, expIsLeapMonth); in TestResolution() 489 cal.set(Calendar.IS_LEAP_MONTH, test[2]); in doRollAdd() 498 cal.get(Calendar.IS_LEAP_MONTH) != test[8] || in doRollAdd() [all …]
|
D | ChineseTestCase.java | 39 set(Calendar.IS_LEAP_MONTH, isLeapMonth?1:0); in ChineseTestCase() 51 (get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in toString()
|
D | CalendarTest.java | 430 (cal.get(Calendar.IS_LEAP_MONTH)==1?"(leap)":"") + "/" + in ymdToString()
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ChineseCalendar.java | 209 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 265 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 482 { RESOLVE_REMAP | DAY_OF_MONTH, IS_LEAP_MONTH }, 577 if (get(IS_LEAP_MONTH) == 1) { in roll() 870 internalSet(IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields() 970 int saveIsLeapMonth = internalGet(IS_LEAP_MONTH); in handleComputeMonthStart() 982 isLeapMonth != internalGet(IS_LEAP_MONTH)) { in handleComputeMonthStart() 988 internalSet(IS_LEAP_MONTH, saveIsLeapMonth); in handleComputeMonthStart()
|
D | Calendar.java | 927 public static final int IS_LEAP_MONTH = 22; field in Calendar 1609 (1 << IS_LEAP_MONTH); in initInternal() 4227 case IS_LEAP_MONTH: in getLimit()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ChineseCalendar.java | 213 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 271 this.set(IS_LEAP_MONTH, isLeapMonth); in ChineseCalendar() 497 { RESOLVE_REMAP | DAY_OF_MONTH, IS_LEAP_MONTH }, 595 if (get(IS_LEAP_MONTH) == 1) { in roll() 889 internalSet(IS_LEAP_MONTH, isLeapMonth?1:0); in computeChineseFields() 990 int saveIsLeapMonth = internalGet(IS_LEAP_MONTH); in handleComputeMonthStart() 1002 isLeapMonth != internalGet(IS_LEAP_MONTH)) { in handleComputeMonthStart() 1008 internalSet(IS_LEAP_MONTH, saveIsLeapMonth); in handleComputeMonthStart()
|
D | Calendar.java | 951 public static final int IS_LEAP_MONTH = 22; field in Calendar 1676 (1 << IS_LEAP_MONTH); in initInternal() 4351 case IS_LEAP_MONTH: in getLimit()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 142 android.icu.util.ChineseCalendar.IS_LEAP_MONTH, /* 22 */
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | DebugUtilitiesData.java | 141 com.ibm.icu.util.ChineseCalendar.IS_LEAP_MONTH, /* 22 */
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | DateFormatTest.java | 3432 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3438 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3522 int ccalField = ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField(); in TestFormatToCharacterIteratorCoverage() 3523 if (ccalField != Calendar.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3527 if (cfield != ChineseDateFormat.Field.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3529 + " - Expected: " + ChineseDateFormat.Field.IS_LEAP_MONTH); in TestFormatToCharacterIteratorCoverage() 3841 int[] cases = { Calendar.IS_LEAP_MONTH - 1}; in TestOfCalendarField() 4194 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4207 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4214 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 | 3428 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3434 if (keys.contains(ChineseDateFormat.Field.IS_LEAP_MONTH)) { in TestFormatToCharacterIterator() 3518 int ccalField = ChineseDateFormat.Field.IS_LEAP_MONTH.getCalendarField(); in TestFormatToCharacterIteratorCoverage() 3519 if (ccalField != Calendar.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3523 if (cfield != ChineseDateFormat.Field.IS_LEAP_MONTH) { in TestFormatToCharacterIteratorCoverage() 3525 + " - Expected: " + ChineseDateFormat.Field.IS_LEAP_MONTH); in TestFormatToCharacterIteratorCoverage() 3837 int[] cases = { Calendar.IS_LEAP_MONTH - 1}; in TestOfCalendarField() 4190 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, date.isLeapMonth ); in TestMonthPatterns() 4203 rootChineseCalendar.set( Calendar.IS_LEAP_MONTH, 0 ); in TestMonthPatterns() 4210 int isLeapMonth = rootChineseCalendar.get(Calendar.IS_LEAP_MONTH); in TestMonthPatterns()
|
/external/icu/icu4c/source/i18n/unicode/ |
D | calendar.h | 240 IS_LEAP_MONTH, enumerator
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/serializable/ |
D | FormatTests.java | 2029 ChineseDateFormat.Field.IS_LEAP_MONTH in getTestObjects()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/ |
D | FormatTests.java | 2028 ChineseDateFormat.Field.IS_LEAP_MONTH in getTestObjects()
|