/external/icu4c/i18n/ |
D | gregocal.cpp | 478 (internalGet(UCAL_EXTENDED_YEAR)==fGregorianCutoverYear) && in handleComputeJulianDay() 508 if(fIsGregorian && (internalGet(UCAL_EXTENDED_YEAR) == fGregorianCutoverYear)) { in handleComputeJulianDay() 509 int32_t gregShift = Grego::gregorianShift(internalGet(UCAL_EXTENDED_YEAR)); in handleComputeJulianDay() 595 int32_t year = internalGet(UCAL_EXTENDED_YEAR); in monthLength() 620 return isLeapYear(internalGet(UCAL_YEAR)) ? 366 : 365; in yearLength() 634 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); in pinDayOfMonth() 635 int32_t dom = internalGet(UCAL_DATE); in pinDayOfMonth() 651 ! boundsCheck(internalGet((UCalendarDateFields)field), (UCalendarDateFields)field)) in validateFields() 658 int32_t date = internalGet(UCAL_DATE); in validateFields() 660 date > monthLength(internalGet(UCAL_MONTH))) { in validateFields() [all …]
|
D | japancal.cpp | 358 return internalGet(UCAL_ERA, kCurrentEra); in internalGetEra() 369 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear() 372 year = internalGet(UCAL_YEAR) + kEraInfo[internalGetEra()].year - 1; in handleGetExtendedYear() 382 int32_t year = internalGet(UCAL_EXTENDED_YEAR); // Gregorian year in handleComputeFields() 412 … kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCA… in handleComputeFields() 419 diff = internalGet(UCAL_MONTH) - (kEraInfo[i].month - 1); in handleComputeFields() 421 …fprintf(stderr, "diff now %d (M) = %d - %d - 1\n", diff, internalGet(UCAL_MONTH), kEraInfo[i].mon… in handleComputeFields() 424 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; in handleComputeFields()
|
D | taiwncal.cpp | 72 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear() 74 int32_t era = internalGet(UCAL_ERA, MINGUO); in handleGetExtendedYear() 76 year = internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; in handleGetExtendedYear() 78 year = 1 - internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; in handleGetExtendedYear() 87 int32_t y = internalGet(UCAL_EXTENDED_YEAR) - kTaiwanEraStart; in handleComputeFields() 115 int32_t era = internalGet(UCAL_ERA); 116 int32_t year = internalGet(UCAL_YEAR);
|
D | buddhcal.cpp | 70 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear() 73 year = internalGet(UCAL_YEAR, kGregorianEpoch - kBuddhistEraStart) in handleGetExtendedYear() 89 int32_t y = internalGet(UCAL_EXTENDED_YEAR) - kBuddhistEraStart; in handleComputeFields() 108 int32_t era = internalGet(UCAL_ERA); 109 int32_t year = internalGet(UCAL_YEAR);
|
D | ethpccal.cpp | 85 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 87 eyear = internalGet(UCAL_YEAR, 1 + AMETE_MIHRET_DELTA) in handleGetExtendedYear() 91 int32_t era = internalGet(UCAL_ERA, AMETE_MIHRET); in handleGetExtendedYear() 93 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 95 eyear = internalGet(UCAL_YEAR, 1) - AMETE_MIHRET_DELTA; in handleGetExtendedYear()
|
D | calendar.cpp | 1499 int32_t value = internalGet(field) + amount; in roll() 1522 int32_t oldHour = internalGet(field); in roll() 1539 int32_t mon = (internalGet(UCAL_MONTH) + amount) % (max+1); in roll() 1557 set(field, internalGet(field) + amount); in roll() 1593 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 1598 int32_t fdm = (dow - internalGet(UCAL_DAY_OF_MONTH) + 1) % 7; in roll() 1614 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) % 7; in roll() 1625 int32_t day_of_month = (internalGet(UCAL_DAY_OF_MONTH) + amount*7 - in roll() 1651 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll() 1656 int32_t fdy = (dow - internalGet(UCAL_DAY_OF_YEAR) + 1) % 7; in roll() [all …]
|
D | coptccal.cpp | 62 eyear = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 65 int32_t era = internalGet(UCAL_ERA, CE); in handleGetExtendedYear() 67 eyear = 1 - internalGet(UCAL_YEAR, 1); // Convert to extended year in handleGetExtendedYear() 69 eyear = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
|
D | chnsecal.cpp | 188 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 190 int32_t cycle = internalGet(UCAL_ERA, 1) - 1; // 0-based cycle in handleGetExtendedYear() 191 year = cycle * 60 + internalGet(UCAL_YEAR, 1); in handleGetExtendedYear() 305 int32_t saveMonth = internalGet(UCAL_MONTH); in handleComputeMonthStart() 306 int32_t saveIsLeapMonth = internalGet(UCAL_IS_LEAP_MONTH); in handleComputeMonthStart() 320 if (month != internalGet(UCAL_MONTH) || in handleComputeMonthStart() 321 isLeapMonth != internalGet(UCAL_IS_LEAP_MONTH)) { in handleComputeMonthStart() 774 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
|
D | persncal.cpp | 332 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 334 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 375 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
|
D | indiancal.cpp | 269 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 271 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 346 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
|
D | islamcal.cpp | 370 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 372 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 454 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
|
D | hebrwcal.cpp | 614 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 616 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear() 668 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
|
D | cecal.cpp | 97 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
|
/external/icu4c/i18n/unicode/ |
D | calendar.h | 1360 inline int32_t internalGet(EDateFields field) const {return fFields[field];} in internalGet() function 1372 …inline int32_t internalGet(UCalendarDateFields field, int32_t defaultValue) const {return fStamp[f… in internalGet() function 1382 inline int32_t internalGet(UCalendarDateFields field) const {return fFields[field];} in internalGet() function
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
D | CalendarTest.java | 743 return super.internalGet(field); in internal_get()
|