/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 | 209 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR && in handleGetExtendedYear() 210 newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { in handleGetExtendedYear() 211 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear() 268 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 | 395 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear() 396 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 439 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 | 220 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR && in handleGetExtendedYear() 221 newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { in handleGetExtendedYear() 222 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear() 282 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 | 83 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 110 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping() 221 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 241 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 276 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange() 279 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange() 356 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAddDangi() 365 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || cal.get(MONTH) != (test[7] - 1) in doRollAddDangi() 416 cc.set(Calendar.EXTENDED_YEAR, 4338); in TestInitWithCurrentTime()
|
D | ChineseTest.java | 103 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 131 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping() 162 cal.get(Calendar.EXTENDED_YEAR) + "/" + in TestZeroDOM() 358 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 378 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 413 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange() 416 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange() 495 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd() 504 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 | 84 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 111 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping() 222 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 242 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 277 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange() 280 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange() 357 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAddDangi() 366 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || cal.get(MONTH) != (test[7] - 1) in doRollAddDangi() 417 cc.set(Calendar.EXTENDED_YEAR, 4338); in TestInitWithCurrentTime()
|
D | ChineseTest.java | 104 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping() 132 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping() 163 cal.get(Calendar.EXTENDED_YEAR) + "/" + in TestZeroDOM() 359 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 379 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution() 414 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange() 417 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange() 496 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd() 505 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || in doRollAdd()
|
D | CalendarTestFmwk.java | 168 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd() 181 Calendar.EXTENDED_YEAR : YEAR); in doRollAdd() 238 Calendar.EXTENDED_YEAR in doLimitsTest() 431 return "" + cal.get(Calendar.EXTENDED_YEAR) + "/" + in ymdToString() 436 return ymdToString(cal.get(Calendar.EXTENDED_YEAR), in ymdToString()
|