Searched refs:newYear (Results 1 – 13 of 13) sorted by relevance
898 int newYear = newYear(gyear); in computeChineseFields() local899 if (days < newYear) { in computeChineseFields()900 newYear = newYear(gyear-1); in computeChineseFields()902 internalSet(DAY_OF_YEAR, days - newYear + 1); in computeChineseFields()916 private int newYear(int gyear) { in newYear() method in ChineseCalendar963 int newYear = newYear(gyear); in handleComputeMonthStart() local964 int newMoon = newMoonNear(newYear + month * 29, true); in handleComputeMonthStart()
2825 int newYear = internalGet(field) + amount; in roll() local2826 if (era > 0 || newYear >= 1) { in roll()2830 if (newYear < 1) { in roll()2831 newYear = maxYear - ((-newYear) % maxYear); in roll()2832 } else if (newYear > maxYear) { in roll()2833 newYear = ((newYear - 1) % maxYear) + 1; in roll()2836 } else if (newYear < 1) { in roll()2837 newYear = 1; in roll()2843 newYear = 1; in roll()2845 set(field, newYear); in roll()
917 int newYear = newYear(gyear); in computeChineseFields() local918 if (days < newYear) { in computeChineseFields()919 newYear = newYear(gyear-1); in computeChineseFields()921 internalSet(DAY_OF_YEAR, days - newYear + 1); in computeChineseFields()935 private int newYear(int gyear) { in newYear() method in ChineseCalendar983 int newYear = newYear(gyear); in handleComputeMonthStart() local984 int newMoon = newMoonNear(newYear + month * 29, true); in handleComputeMonthStart()
2924 int newYear = internalGet(field) + amount; in roll() local2925 if (era > 0 || newYear >= 1) { in roll()2929 if (newYear < 1) { in roll()2930 newYear = maxYear - ((-newYear) % maxYear); in roll()2931 } else if (newYear > maxYear) { in roll()2932 newYear = ((newYear - 1) % maxYear) + 1; in roll()2935 } else if (newYear < 1) { in roll()2936 newYear = 1; in roll()2942 newYear = 1; in roll()2944 set(field, newYear); in roll()
154 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local155 gSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
334 int32_t theNewYear = newYear(gyear); in handleComputeMonthStart()738 int32_t theNewYear = newYear(gyear); in computeChineseFields()740 theNewYear = newYear(gyear-1); in computeChineseFields()757 int32_t ChineseCalendar::newYear(int32_t gyear) const { in newYear() function in ChineseCalendar
428 int32_t newYear = calendar.get(UCAL_YEAR, status); in initializeSystemDefaultCentury() local434 fgSystemDefaultCenturyStartYear = newYear; in initializeSystemDefaultCentury()
1829 int32_t newYear = internalGet(field) + amount; in roll() local1830 if (era > 0 || newYear >= 1) { in roll()1834 if (newYear < 1) { in roll()1835 newYear = maxYear - ((-newYear) % maxYear); in roll()1836 } else if (newYear > maxYear) { in roll()1837 newYear = ((newYear - 1) % maxYear) + 1; in roll()1840 } else if (newYear < 1) { in roll()1841 newYear = 1; in roll()1847 newYear = 1; in roll()1849 set(field, newYear); in roll()
194 virtual int32_t newYear(int32_t gyear) const;
1317 int newYear = calendar.get(field); in Test4167060() local1323 if (valid && newYear != years[i]) { in Test4167060()1324 … errln(" FAIL: " + newYear + " should be valid; date, month and time shouldn't change"); in Test4167060()1325 } else if (!valid && newYear == years[i]) { in Test4167060()1330 logln(" Note: " + newYear + " > maximum, but still valid"); in Test4167060()
1313 int newYear = calendar.get(field); in Test4167060() local1319 if (valid && newYear != years[i]) { in Test4167060()1320 … errln(" FAIL: " + newYear + " should be valid; date, month and time shouldn't change"); in Test4167060()1321 } else if (!valid && newYear == years[i]) { in Test4167060()1326 logln(" Note: " + newYear + " > maximum, but still valid"); in Test4167060()
1952 int32_t newYear = calendar->get(field, status); in Test4167060() local1962 if (valid && newYear != years[i]) { in Test4167060()1963 …errln(UnicodeString(" FAIL: ") + newYear + " should be valid; date, month and time shouldn't chan… in Test4167060()1968 errln(UnicodeString(" FAIL: ") + newYear + " should be invalid"); in Test4167060()
META-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...