• Home
  • Raw
  • Download

Lines Matching refs:month

112 int32_t IndianCalendar::handleGetMonthLength(int32_t eyear, int32_t month) const {  in handleGetMonthLength()
113 if (month < 0 || month > 11) { in handleGetMonthLength()
114 eyear += ClockMath::floorDivide(month, 12, month); in handleGetMonthLength()
117 if (isGregorianLeap(eyear + INDIAN_ERA_START) && month == 0) { in handleGetMonthLength()
121 if (month >= 1 && month <= 5) { in handleGetMonthLength()
143 static double gregorianToJD(int32_t year, int32_t month, int32_t date) { in gregorianToJD() argument
149 uprv_floor((((367 * month) - 362) / 12) + in gregorianToJD()
150 ((month <= 2) ? 0 : in gregorianToJD()
164 int32_t year, month, day; in jdToGregorian() local
183 month = (int32_t)uprv_floor((((yearday + leapadj) * 12) + 373) / 367); in jdToGregorian()
184 day = (int32_t)(wjd - gregorianToJD(year, month, 1)) + 1; in jdToGregorian()
187 gregorianDate[1] = month; in jdToGregorian()
197 static double IndianToJD(int32_t year, int32_t month, int32_t date) { in IndianToJD() argument
213 if (month == 1) { in IndianToJD()
217 m = month - 2; in IndianToJD()
226 if (month >= 8) { in IndianToJD()
227 m = month - 7; in IndianToJD()
241 int32_t IndianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /* useMonth */ … in handleComputeMonthStart() argument
247 if (month < 0 || month > 11) { in handleComputeMonthStart()
248 eyear += (int32_t)ClockMath::floorDivide(month, 12, month); in handleComputeMonthStart()
251 if(month == 12){ in handleComputeMonthStart()
254 imonth = month + 1; in handleComputeMonthStart()