Lines Matching refs:year
142 static inline UBool isLeapYear(int32_t year);
150 static inline int8_t monthLength(int32_t year, int32_t month);
168 static double fieldsToDay(int32_t year, int32_t month, int32_t dom);
180 static void dayToFields(double day, int32_t& year, int32_t& month,
192 static inline void dayToFields(double day, int32_t& year, int32_t& month,
206 static void timeToFields(UDate time, int32_t& year, int32_t& month,
224 static int32_t dayOfWeekInMonth(int32_t year, int32_t month, int32_t dom);
258 inline UBool Grego::isLeapYear(int32_t year) { in isLeapYear() argument
260 return ((year&0x3) == 0) && ((year%100 != 0) || (year%400 == 0)); in isLeapYear()
264 Grego::monthLength(int32_t year, int32_t month) { in monthLength() argument
265 return MONTH_LENGTH[month + (isLeapYear(year) ? 12 : 0)]; in monthLength()
273 inline void Grego::dayToFields(double day, int32_t& year, int32_t& month, in dayToFields() argument
276 dayToFields(day,year,month,dom,dow,doy_unused); in dayToFields()