Home | History | Annotate | Download | only in i18n

Lines Matching refs:month

40     {        0,        0,       11,       11}, // MONTH
126 * Return the day # on which the given month starts. Days are counted
130 * @param year The Persian month, 0-based
132 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const {
133 return handleComputeMonthStart(year,month,TRUE);
141 * Return the length (in days) of the given month.
144 * @param year The Persian month, 0-based
146 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const {
147 // If the month is out of range, adjust it into range, and
149 if (month < 0 || month > 11) {
150 extendedYear += ClockMath::floorDivide(month, 12, month);
153 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month];
167 // Return JD of start of given month/year
168 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) const {
169 // If the month is out of range, adjust it into range, and
171 if (month < 0 || month > 11) {
172 eyear += ClockMath::floorDivide(month, 12, month);
177 if (month != 0) {
178 julianDay += kPersianNumDays[month];
204 * <li>MONTH
213 int32_t year, month, dayOfMonth, dayOfYear;
220 if (dayOfYear < 216) { // Compute 0-based month
221 month = dayOfYear / 31;
223 month = (dayOfYear - 6) / 30;
225 dayOfMonth = dayOfYear - kPersianNumDays[month] + 1;
231 internalSet(UCAL_MONTH, month);