Home | History | Annotate | Download | only in i18n

Lines Matching refs:year

27 = {0,31,62,93,124,155,186,216,246,276,306,336}; // 0-based, for day-in-year
37 { -5000000, -5000000, 5000000, 5000000}, // YEAR
106 * Determine whether a year is a leap year in the Persian calendar
108 UBool PersianCalendar::isLeapYear(int32_t year)
111 ClockMath::floorDivide(25 * year + 11, 33, remainder);
116 * Return the day # on which the given year starts. Days are counted
119 int32_t PersianCalendar::yearStart(int32_t year) {
120 return handleComputeMonthStart(year,0,FALSE);
127 * @param year The Persian year
128 * @param year The Persian month, 0-based
130 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const {
131 return handleComputeMonthStart(year,month,TRUE);
141 * @param year The Persian year
142 * @param year The Persian month, 0-based
146 // modify the extended year value accordingly.
155 * Return the number of days in the given Persian year
165 // Return JD of start of given month/year
168 // modify the extended year value accordingly.
187 int32_t year;
189 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1
191 year = internalGet(UCAL_YEAR, 1); // Default to year 1
193 return year;
201 * <li>YEAR
211 int32_t year, month, dayOfMonth, dayOfYear;
214 year = 1 + ClockMath::floorDivide(33 * daysSinceEpoch + 3, 12053);
216 int32_t farvardin1 = 365 * (year - 1) + ClockMath::floorDivide(8 * year + 21, 33);
227 internalSet(UCAL_YEAR, year);
228 internalSet(UCAL_EXTENDED_YEAR, year);