Home
last modified time | relevance | path

Searched refs:EXTENDED_YEAR (Results 1 – 25 of 26) sorted by relevance

12

/external/icu/icu4c/source/test/testdata/
Dcalendar.txt54 "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/icu4j/main/classes/core/src/com/ibm/icu/util/
DTaiwanCalendar.java198 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR in handleGetExtendedYear()
199 && newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { in handleGetExtendedYear()
200 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear()
218 int y = internalGet(EXTENDED_YEAR) - Taiwan_ERA_START; in handleComputeFields()
DJapaneseCalendar.java218 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR && in handleGetExtendedYear()
219 newerField(EXTENDED_YEAR, ERA) == EXTENDED_YEAR) { in handleGetExtendedYear()
220 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear()
280 int year = internalGet(EXTENDED_YEAR); in handleComputeFields()
DBuddhistCalendar.java198 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
199 year = internalGet(EXTENDED_YEAR, GREGORIAN_EPOCH); in handleGetExtendedYear()
220 int y = internalGet(EXTENDED_YEAR) - BUDDHIST_ERA_START; in handleComputeFields()
DCopticCalendar.java252 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()
DEthiopicCalendar.java302 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
303 eyear = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
347 internalSet(EXTENDED_YEAR, fields[0]); in handleComputeFields()
DPersianCalendar.java391 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
392 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
435 internalSet(EXTENDED_YEAR, year); in handleComputeFields()
DGregorianCalendar.java502 gregorianCutoverYear = cal.get(EXTENDED_YEAR); in setGregorianChange()
795 internalSet(EXTENDED_YEAR, eyear); in handleComputeFields()
814 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
815 year = internalGet(EXTENDED_YEAR, EPOCH_YEAR); in handleGetExtendedYear()
DIndianCalendar.java313 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
314 year = internalGet(EXTENDED_YEAR, 1); in handleGetExtendedYear()
393 internalSet(EXTENDED_YEAR, IndianYear); in handleComputeFields()
DHebrewCalendar.java819 internalSet(EXTENDED_YEAR, year); in handleComputeFields()
834 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
835 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
DIslamicCalendar.java807 if (newerField(EXTENDED_YEAR, YEAR) == EXTENDED_YEAR) { in handleGetExtendedYear()
808 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
905 internalSet(EXTENDED_YEAR, year); in handleComputeFields()
DCalendar.java918 public static final int EXTENDED_YEAR = 19; field in Calendar
1675 (1 << EXTENDED_YEAR) | in initInternal()
2189 int year = get(EXTENDED_YEAR); in getRelatedYear()
2304 set(EXTENDED_YEAR, year); in setRelatedYear()
2497 result = handleGetMonthLength(cal.get(EXTENDED_YEAR), cal.get(MONTH)); in getActualMaximum()
2506 result = handleGetYearLength(cal.get(EXTENDED_YEAR)); in getActualMaximum()
2611 case EXTENDED_YEAR: in prepareGetActual()
2949 case EXTENDED_YEAR: in roll()
3265 case EXTENDED_YEAR: in add()
5097 int eyear = fields[EXTENDED_YEAR]; in computeWeekFields()
[all …]
DChineseCalendar.java444 if (newestStamp(ERA, YEAR, UNSET) <= getStamp(EXTENDED_YEAR)) { in handleGetExtendedYear()
445 year = internalGet(EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
903 internalSet(EXTENDED_YEAR, extended_year); in computeChineseFields()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DDangiTest.java83 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping()
110 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping()
218 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution()
238 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution()
272 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange()
275 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange()
350 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAddDangi()
359 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || cal.get(MONTH) != (test[7] - 1) in doRollAddDangi()
408 cc.set(Calendar.EXTENDED_YEAR, 4338); in TestInitWithCurrentTime()
DChineseTest.java103 int y = cal.get(Calendar.EXTENDED_YEAR); in TestMapping()
131 cal.set(Calendar.EXTENDED_YEAR, cyear); in TestMapping()
161 cal.get(Calendar.EXTENDED_YEAR) + "/" + in TestZeroDOM()
353 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution()
373 cal.set(Calendar.EXTENDED_YEAR, THE_YEAR); in TestResolution()
407 cal.set(Calendar.EXTENDED_YEAR, y1); in TestOutOfRange()
410 int y = cal.get(Calendar.EXTENDED_YEAR); in TestOutOfRange()
487 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd()
496 if (cal.get(Calendar.EXTENDED_YEAR) != test[6] || in doRollAdd()
DCalendarTest.java165 cal.set(Calendar.EXTENDED_YEAR, test[0]); in doRollAdd()
178 Calendar.EXTENDED_YEAR : YEAR); in doRollAdd()
235 Calendar.EXTENDED_YEAR in doLimitsTest()
428 return "" + cal.get(Calendar.EXTENDED_YEAR) + "/" + in ymdToString()
433 return ymdToString(cal.get(Calendar.EXTENDED_YEAR), in ymdToString()
DCopticTest.java151 int eyear = cal.get(Calendar.EXTENDED_YEAR); in TestCopticToJD()
DEthiopicTest.java277 if (cal.get(Calendar.EXTENDED_YEAR) == 1567 && in TestJD()
DCompatibilityTest.java375 case Calendar.EXTENDED_YEAR: in TestGenericAPI()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DDebugUtilitiesData.java159 com.ibm.icu.util.Calendar.EXTENDED_YEAR, /* 19 */
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DDateFormat.java2327 public static final Field EXTENDED_YEAR = new Field("extended year", field in DateFormat.Field
2328 Calendar.EXTENDED_YEAR);
DSimpleDateFormat.java1388 /*Yeu*/ Calendar.YEAR_WOY, Calendar.DOW_LOCAL, Calendar.EXTENDED_YEAR,
1398 /*r*/ Calendar.EXTENDED_YEAR /* not an exact match */,
1432 … /*Yeu*/ DateFormat.Field.YEAR_WOY, DateFormat.Field.DOW_LOCAL, DateFormat.Field.EXTENDED_YEAR,
/external/icu/icu4c/source/i18n/unicode/
Dcalendar.h237 EXTENDED_YEAR, enumerator
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/
DFormatTests.java1871 DateFormat.Field.EXTENDED_YEAR, in getTestObjects()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DDateFormatTest.java380 DateFormat.Field.EXTENDED_YEAR, in TestFieldPosition()
496 DateFormat.Field.EXTENDED_YEAR, // u

12