Home
last modified time | relevance | path

Searched refs:gyear (Results 1 – 8 of 8) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DChineseCalendar.java679 private int winterSolstice(int gyear) { in winterSolstice() argument
681 long cacheValue = winterSolsticeCache.get(gyear); in winterSolstice()
688 long ms = daysToMillis(computeGregorianMonthStart(gyear, DECEMBER) + in winterSolstice()
696 winterSolsticeCache.put(gyear, cacheValue); in winterSolstice()
832 private void computeChineseFields(int days, int gyear, int gmonth, in computeChineseFields() argument
840 int solsticeAfter = winterSolstice(gyear); in computeChineseFields()
842 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields()
845 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields()
875 int extended_year = gyear - epochYear; in computeChineseFields()
876 int cycle_year = gyear - CHINESE_EPOCH_YEAR; in computeChineseFields()
[all …]
DIndianCalendar.java442 int leapMonth, gyear, m; in IndianToJD() local
445 gyear = year + INDIAN_ERA_START; in IndianToJD()
448 if(isGregorianLeap(gyear)) { in IndianToJD()
450 start = gregorianToJD(gyear, 3, 21); in IndianToJD()
453 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DChineseCalendar.java697 private int winterSolstice(int gyear) { in winterSolstice() argument
699 long cacheValue = winterSolsticeCache.get(gyear); in winterSolstice()
706 long ms = daysToMillis(computeGregorianMonthStart(gyear, DECEMBER) + in winterSolstice()
714 winterSolsticeCache.put(gyear, cacheValue); in winterSolstice()
851 private void computeChineseFields(int days, int gyear, int gmonth, in computeChineseFields() argument
859 int solsticeAfter = winterSolstice(gyear); in computeChineseFields()
861 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields()
864 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields()
894 int extended_year = gyear - epochYear; in computeChineseFields()
895 int cycle_year = gyear - CHINESE_EPOCH_YEAR; in computeChineseFields()
[all …]
DIndianCalendar.java471 int leapMonth, gyear, m; in IndianToJD() local
474 gyear = year + INDIAN_ERA_START; in IndianToJD()
477 if(isGregorianLeap(gyear)) { in IndianToJD()
479 start = gregorianToJD(gyear, 3, 21); in IndianToJD()
482 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
/external/icu/icu4c/source/i18n/
Dchnsecal.cpp333 int32_t gyear = eyear + fEpochYear - 1; // Gregorian year in handleComputeMonthStart() local
334 int32_t theNewYear = newYear(gyear); in handleComputeMonthStart()
524 int32_t ChineseCalendar::winterSolstice(int32_t gyear) const { in winterSolstice()
527 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice()
534 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1)); in winterSolstice()
547 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice()
671 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, in computeChineseFields() argument
679 int32_t solsticeAfter = winterSolstice(gyear); in computeChineseFields()
681 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields()
684 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields()
[all …]
Dindiancal.cpp196 int32_t leapMonth, gyear, m; in IndianToJD() local
199 gyear = year + INDIAN_ERA_START; in IndianToJD()
202 if(isGregorianLeap(gyear)) { in IndianToJD()
204 start = gregorianToJD(gyear, 3, 21); in IndianToJD()
208 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
Dchnsecal.h186 virtual int32_t winterSolstice(int32_t gyear) const;
192 virtual void computeChineseFields(int32_t days, int32_t gyear,
194 virtual int32_t newYear(int32_t gyear) const;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...