Searched refs:gyear (Results 1 – 3 of 3) sorted by relevance
/external/icu4c/i18n/ |
D | chnsecal.cpp | 297 int32_t gyear = eyear + CHINESE_EPOCH_YEAR - 1; // Gregorian year in handleComputeMonthStart() local 298 int32_t theNewYear = newYear(gyear); in handleComputeMonthStart() 464 int32_t ChineseCalendar::winterSolstice(int32_t gyear) const { in winterSolstice() 467 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice() 474 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1)); in winterSolstice() 487 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice() 611 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, in computeChineseFields() argument 619 int32_t solsticeAfter = winterSolstice(gyear); in computeChineseFields() 621 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields() 624 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields() [all …]
|
D | indiancal.cpp | 197 int32_t leapMonth, gyear, m; in IndianToJD() local 200 gyear = year + INDIAN_ERA_START; in IndianToJD() 203 if(isGregorianLeap(gyear)) { in IndianToJD() 205 start = gregorianToJD(gyear, 3, 21); in IndianToJD() 209 start = gregorianToJD(gyear, 3, 22); in IndianToJD()
|
D | chnsecal.h | 167 virtual int32_t winterSolstice(int32_t gyear) const; 173 virtual void computeChineseFields(int32_t days, int32_t gyear, 175 virtual int32_t newYear(int32_t gyear) const;
|