Home
last modified time | relevance | path

Searched refs:internalGet (Results 1 – 10 of 10) sorted by relevance

/external/icu4c/i18n/
Dgregocal.cpp477 (internalGet(UCAL_EXTENDED_YEAR)==fGregorianCutoverYear) && in handleComputeJulianDay()
507 if(fIsGregorian && (internalGet(UCAL_EXTENDED_YEAR) == fGregorianCutoverYear)) { in handleComputeJulianDay()
508 int32_t gregShift = Grego::gregorianShift(internalGet(UCAL_EXTENDED_YEAR)); in handleComputeJulianDay()
594 int32_t year = internalGet(UCAL_EXTENDED_YEAR); in monthLength()
619 return isLeapYear(internalGet(UCAL_YEAR)) ? 366 : 365; in yearLength()
633 int32_t monthLen = monthLength(internalGet(UCAL_MONTH)); in pinDayOfMonth()
634 int32_t dom = internalGet(UCAL_DATE); in pinDayOfMonth()
650 ! boundsCheck(internalGet((UCalendarDateFields)field), (UCalendarDateFields)field)) in validateFields()
657 int32_t date = internalGet(UCAL_DATE); in validateFields()
659 date > monthLength(internalGet(UCAL_MONTH))) { in validateFields()
[all …]
Djapancal.cpp361 return internalGet(UCAL_ERA, kCurrentEra); in internalGetEra()
372 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear()
375 year = internalGet(UCAL_YEAR) + kEraInfo[internalGetEra()].year - 1; in handleGetExtendedYear()
385 int32_t year = internalGet(UCAL_EXTENDED_YEAR); // Gregorian year in handleComputeFields()
415 … kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCA… in handleComputeFields()
422 diff = internalGet(UCAL_MONTH) - (kEraInfo[i].month - 1); in handleComputeFields()
424 …fprintf(stderr, "diff now %d (M) = %d - %d - 1\n", diff, internalGet(UCAL_MONTH), kEraInfo[i].mon… in handleComputeFields()
427 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; in handleComputeFields()
Dtaiwncal.cpp71 year = internalGet(UCAL_EXTENDED_YEAR, kGregorianEpoch); in handleGetExtendedYear()
73 int32_t era = internalGet(UCAL_ERA, MINGUO); in handleGetExtendedYear()
75 year = internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; in handleGetExtendedYear()
77 year = 1 - internalGet(UCAL_YEAR, 1) + kTaiwanEraStart; in handleGetExtendedYear()
86 int32_t y = internalGet(UCAL_EXTENDED_YEAR) - kTaiwanEraStart; in handleComputeFields()
114 int32_t era = internalGet(UCAL_ERA);
115 int32_t year = internalGet(UCAL_YEAR);
Dcalendar.cpp1376 int32_t value = internalGet(field) + amount; in roll()
1399 int32_t oldHour = internalGet(field); in roll()
1416 int32_t mon = (internalGet(UCAL_MONTH) + amount) % (max+1); in roll()
1434 set(field, internalGet(field) + amount); in roll()
1470 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
1475 int32_t fdm = (dow - internalGet(UCAL_DAY_OF_MONTH) + 1) % 7; in roll()
1491 int32_t ldm = (monthLen - internalGet(UCAL_DAY_OF_MONTH) + dow) % 7; in roll()
1502 int32_t day_of_month = (internalGet(UCAL_DAY_OF_MONTH) + amount*7 - in roll()
1528 int32_t dow = internalGet(UCAL_DAY_OF_WEEK) - getFirstDayOfWeek(); in roll()
1533 int32_t fdy = (dow - internalGet(UCAL_DAY_OF_YEAR) + 1) % 7; in roll()
[all …]
Dbuddhcal.cpp70 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);
Dpersncal.cpp326 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
328 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
369 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
Dindiancal.cpp268 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
270 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
342 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
Dislamcal.cpp351 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
353 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
430 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
Dhebrwcal.cpp599 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
601 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
653 return (UBool)(U_SUCCESS(status) ? (internalGet(UCAL_DST_OFFSET) != 0) : FALSE); in inDaylightTime()
/external/icu4c/i18n/unicode/
Dcalendar.h1276 inline int32_t internalGet(EDateFields field) const {return fFields[field];} in internalGet() function
1288 …inline int32_t internalGet(UCalendarDateFields field, int32_t defaultValue) const {return fStamp[f… in internalGet() function
1298 inline int32_t internalGet(UCalendarDateFields field) const {return fFields[field];} in internalGet() function