/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/android_icu4j/src/main/java/android/icu/util/ |
D | TaiwanCalendar.java | 187 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR in handleGetExtendedYear() 188 && newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { in handleGetExtendedYear() 189 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear() 206 int y = internalGet(EXTENDED_YEAR) - Taiwan_ERA_START; in handleComputeFields()
|
D | JapaneseCalendar.java | 271 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR && in handleGetExtendedYear() 272 newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { in handleGetExtendedYear() 273 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear() 334 int year = internalGet(EXTENDED_YEAR); in handleComputeFields()
|
D | BuddhistCalendar.java | 189 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 190 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear() 209 int y = internalGet(EXTENDED_YEAR) - BUDDHIST_ERA_START; in handleComputeFields()
|
D | CopticCalendar.java | 230 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 231 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 268 internalSet(EXTENDED_YEAR, fields[0]); in handleComputeFields()
|
D | EthiopicCalendar.java | 279 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 280 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 324 internalSet(EXTENDED_YEAR, fields[0]); in handleComputeFields()
|
D | PersianCalendar.java | 396 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 397 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 440 internalSet(EXTENDED_YEAR, year); in handleComputeFields()
|
D | GregorianCalendar.java | 489 gregorianCutoverYear = cal.get(EXTENDED_YEAR); in setGregorianChange() 772 internalSet(EXTENDED_YEAR, eyear); in handleComputeFields() 790 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 791 year = internalGet(EXTENDED_YEAR, EPOCH_YEAR); in handleGetExtendedYear()
|
D | IndianCalendar.java | 291 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 292 year = internalGet(EXTENDED_YEAR, 1); in handleGetExtendedYear() 368 internalSet(EXTENDED_YEAR, IndianYear); in handleComputeFields()
|
D | HebrewCalendar.java | 795 internalSet(EXTENDED_YEAR, year); in handleComputeFields() 809 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 810 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | TaiwanCalendar.java | 200 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR in handleGetExtendedYear() 201 && newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { in handleGetExtendedYear() 202 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear() 220 int y = internalGet(EXTENDED_YEAR) - Taiwan_ERA_START; in handleComputeFields()
|
D | JapaneseCalendar.java | 282 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR && in handleGetExtendedYear() 283 newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { in handleGetExtendedYear() 284 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear() 348 int year = internalGet(EXTENDED_YEAR); in handleComputeFields()
|
D | BuddhistCalendar.java | 200 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 201 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear() 222 int y = internalGet(EXTENDED_YEAR) - BUDDHIST_ERA_START; in handleComputeFields()
|
D | CopticCalendar.java | 252 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 253 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 289 internalSet(EXTENDED_YEAR, fields[0]); in handleComputeFields()
|
D | EthiopicCalendar.java | 304 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 305 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 349 internalSet(EXTENDED_YEAR, fields[0]); in handleComputeFields()
|
D | PersianCalendar.java | 393 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 394 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 437 internalSet(EXTENDED_YEAR, year); in handleComputeFields()
|
D | GregorianCalendar.java | 504 gregorianCutoverYear = cal.get(EXTENDED_YEAR); in setGregorianChange() 797 internalSet(EXTENDED_YEAR, eyear); in handleComputeFields() 816 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 817 year = internalGet(EXTENDED_YEAR, EPOCH_YEAR); in handleGetExtendedYear()
|
D | IndianCalendar.java | 315 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 316 year = internalGet(EXTENDED_YEAR, 1); in handleGetExtendedYear() 395 internalSet(EXTENDED_YEAR, IndianYear); in handleComputeFields()
|
D | HebrewCalendar.java | 821 internalSet(EXTENDED_YEAR, year); in handleComputeFields() 836 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 837 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | DangiTest.java | 86 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 113 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping() 224 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 244 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 279 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange() 282 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange() 359 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAddDangi() 368 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || cal.get(MONTH) != (test[7] - 1) in doRollAddDangi() 419 cc.set(Calendar.EXTENDED_YEAR, 4338); in TestInitWithCurrentTime()
|
D | ChineseTest.java | 106 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 134 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping() 165 cal.get(Calendar.EXTENDED_YEAR) + "/" + in TestZeroDOM() 361 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 381 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 416 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange() 419 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange() 498 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd() 507 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || in doRollAdd()
|
D | CalendarTestFmwk.java | 167 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd() 180 Calendar.EXTENDED_YEAR : YEAR); in doRollAdd() 237 Calendar.EXTENDED_YEAR in doLimitsTest() 430 return "" + cal.get(Calendar.EXTENDED_YEAR) + "/" + in ymdToString() 435 return ymdToString(cal.get(Calendar.EXTENDED_YEAR), in ymdToString()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | DangiTest.java | 89 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 116 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping() 227 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 247 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 282 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange() 285 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange() 362 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAddDangi() 371 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || cal.get(MONTH) != (test[7] - 1) in doRollAddDangi() 422 cc.set(Calendar.EXTENDED_YEAR, 4338); in TestInitWithCurrentTime()
|
D | ChineseTest.java | 109 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 137 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping() 168 cal.get(Calendar.EXTENDED_YEAR) + "/" + in TestZeroDOM() 364 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 384 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 419 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange() 422 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange() 501 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd() 510 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || in doRollAdd()
|
D | CalendarTestFmwk.java | 170 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd() 183 Calendar.EXTENDED_YEAR : YEAR); in doRollAdd() 240 Calendar.EXTENDED_YEAR in doLimitsTest() 433 return "" + cal.get(Calendar.EXTENDED_YEAR) + "/" + in ymdToString() 438 return ymdToString(cal.get(Calendar.EXTENDED_YEAR), in ymdToString()
|