Searched refs:gyear (Results 1 – 7 of 7) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ChineseCalendar.java | 681 private int winterSolstice(int gyear) { in winterSolstice() argument 683 long cacheValue = winterSolsticeCache.get(gyear); in winterSolstice() 690 long ms = daysToMillis(computeGregorianMonthStart(gyear, DECEMBER) + in winterSolstice() 698 winterSolsticeCache.put(gyear, cacheValue); in winterSolstice() 834 private void computeChineseFields(int days, int gyear, int gmonth, in computeChineseFields() argument 842 int solsticeAfter = winterSolstice(gyear); in computeChineseFields() 844 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields() 847 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields() 877 int extended_year = gyear - epochYear; in computeChineseFields() 878 int cycle_year = gyear - CHINESE_EPOCH_YEAR; in computeChineseFields() [all …]
|
D | IndianCalendar.java | 440 int leapMonth, gyear, m; in IndianToJD() local 443 gyear = year + INDIAN_ERA_START; in IndianToJD() 446 if(isGregorianLeap(gyear)) { in IndianToJD() 448 start = gregorianToJD(gyear, 3, 21); in IndianToJD() 451 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ChineseCalendar.java | 699 private int winterSolstice(int gyear) { in winterSolstice() argument 701 long cacheValue = winterSolsticeCache.get(gyear); in winterSolstice() 708 long ms = daysToMillis(computeGregorianMonthStart(gyear, DECEMBER) + in winterSolstice() 716 winterSolsticeCache.put(gyear, cacheValue); in winterSolstice() 853 private void computeChineseFields(int days, int gyear, int gmonth, in computeChineseFields() argument 861 int solsticeAfter = winterSolstice(gyear); in computeChineseFields() 863 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields() 866 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields() 896 int extended_year = gyear - epochYear; in computeChineseFields() 897 int cycle_year = gyear - CHINESE_EPOCH_YEAR; in computeChineseFields() [all …]
|
D | IndianCalendar.java | 469 int leapMonth, gyear, m; in IndianToJD() local 472 gyear = year + INDIAN_ERA_START; in IndianToJD() 475 if(isGregorianLeap(gyear)) { in IndianToJD() 477 start = gregorianToJD(gyear, 3, 21); in IndianToJD() 480 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
|
/external/icu/icu4c/source/i18n/ |
D | chnsecal.cpp | 335 int32_t gyear = eyear + fEpochYear - 1; // Gregorian year in handleComputeMonthStart() local 336 int32_t theNewYear = newYear(gyear); in handleComputeMonthStart() 526 int32_t ChineseCalendar::winterSolstice(int32_t gyear) const { in winterSolstice() 529 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice() 536 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1)); in winterSolstice() 549 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice() 673 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, in computeChineseFields() argument 681 int32_t solsticeAfter = winterSolstice(gyear); in computeChineseFields() 683 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields() 686 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields() [all …]
|
D | indiancal.cpp | 198 int32_t leapMonth, gyear, m; in IndianToJD() local 201 gyear = year + INDIAN_ERA_START; in IndianToJD() 204 if(isGregorianLeap(gyear)) { in IndianToJD() 206 start = gregorianToJD(gyear, 3, 21); in IndianToJD() 210 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
|
D | chnsecal.h | 188 virtual int32_t winterSolstice(int32_t gyear) const; 194 virtual void computeChineseFields(int32_t days, int32_t gyear, 196 virtual int32_t newYear(int32_t gyear) const;
|