Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/i18n/
Dcoptccal.cpp141 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
144 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dchnsecal.cpp299 int32_t theNewYear = newYear(gyear); in handleComputeMonthStart()
675 int32_t theNewYear = newYear(gyear); in computeChineseFields()
677 theNewYear = newYear(gyear-1); in computeChineseFields()
694 int32_t ChineseCalendar::newYear(int32_t gyear) const { in newYear() function in ChineseCalendar
847 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
851 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dbuddhcal.cpp197 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
200 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dethpccal.cpp178 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
181 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dtaiwncal.cpp204 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
208 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dpersncal.cpp447 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
451 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dindiancal.cpp429 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
435 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dislamcal.cpp527 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
531 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dhebrwcal.cpp741 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
744 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dchnsecal.h175 virtual int32_t newYear(int32_t gyear) const;
Dgregocal.cpp1337 int32_t newYear = calendar->get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
1341 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
/external/icu4c/i18n/
Dcoptccal.cpp141 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
144 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dchnsecal.cpp338 int32_t theNewYear = newYear(gyear); in handleComputeMonthStart()
742 int32_t theNewYear = newYear(gyear); in computeChineseFields()
744 theNewYear = newYear(gyear-1); in computeChineseFields()
761 int32_t ChineseCalendar::newYear(int32_t gyear) const { in newYear() function in ChineseCalendar
914 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
918 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dbuddhcal.cpp197 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
200 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dethpccal.cpp178 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
181 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dtaiwncal.cpp204 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
208 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dpersncal.cpp316 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
320 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dindiancal.cpp429 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
435 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dislamcal.cpp530 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
534 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dhebrwcal.cpp741 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
744 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
Dcalendar.cpp1635 int32_t newYear = internalGet(field) + amount; in roll() local
1636 if (era > 0 || newYear >= 1) { in roll()
1640 if (newYear < 1) { in roll()
1641 newYear = maxYear - ((-newYear) % maxYear); in roll()
1642 } else if (newYear > maxYear) { in roll()
1643 newYear = ((newYear - 1) % maxYear) + 1; in roll()
1646 } else if (newYear < 1) { in roll()
1647 newYear = 1; in roll()
1653 newYear = 1; in roll()
1655 set(field, newYear); in roll()
Dchnsecal.h194 virtual int32_t newYear(int32_t gyear) const;
Dgregocal.cpp1337 int32_t newYear = calendar->get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local
1341 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
/external/chromium_org/third_party/icu/source/test/intltest/
Dcalregts.cpp1898 int32_t newYear = calendar->get(field, status); in Test4167060() local
1908 if (valid && newYear != years[i]) { in Test4167060()
1909 …errln(UnicodeString(" FAIL: ") + newYear + " should be valid; date, month and time shouldn't chan… in Test4167060()
1914 errln(UnicodeString(" FAIL: ") + newYear + " should be invalid"); in Test4167060()
/external/icu4c/test/intltest/
Dcalregts.cpp1951 int32_t newYear = calendar->get(field, status); in Test4167060() local
1961 if (valid && newYear != years[i]) { in Test4167060()
1962 …errln(UnicodeString(" FAIL: ") + newYear + " should be valid; date, month and time shouldn't chan… in Test4167060()
1967 errln(UnicodeString(" FAIL: ") + newYear + " should be invalid"); in Test4167060()