Lines Matching refs:year
110 UBool PersianCalendar::isLeapYear(int32_t year) in isLeapYear() argument
113 ClockMath::floorDivide(25 * year + 11, 33, remainder); in isLeapYear()
121 int32_t PersianCalendar::yearStart(int32_t year) { in yearStart() argument
122 return handleComputeMonthStart(year,0,FALSE); in yearStart()
132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const { in monthStart() argument
133 return handleComputeMonthStart(year,month,TRUE); in monthStart()
189 int32_t year; in handleGetExtendedYear() local
191 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
193 year = internalGet(UCAL_YEAR, 1); // Default to year 1 in handleGetExtendedYear()
195 return year; in handleGetExtendedYear()
213 int32_t year, month, dayOfMonth, dayOfYear; in handleComputeFields() local
216 year = 1 + ClockMath::floorDivide(33 * daysSinceEpoch + 3, 12053); in handleComputeFields()
218 int32_t farvardin1 = 365 * (year - 1) + ClockMath::floorDivide(8 * year + 21, 33); in handleComputeFields()
229 internalSet(UCAL_YEAR, year); in handleComputeFields()
230 internalSet(UCAL_EXTENDED_YEAR, year); in handleComputeFields()