Home | History | Annotate | Download | only in i18n

Lines Matching refs:month

38     {        0,        0,       11,       11}, // MONTH
124 * Return the day # on which the given month starts. Days are counted
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);
139 * Return the length (in days) of the given month.
142 * @param year The Persian month, 0-based
144 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const {
145 // If the month is out of range, adjust it into range, and
147 if (month < 0 || month > 11) {
148 extendedYear += ClockMath::floorDivide(month, 12, month);
151 return isLeapYear(extendedYear) ? kPersianLeapMonthLength[month] : kPersianMonthLength[month];
165 // Return JD of start of given month/year
166 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool /*useMonth*/) const {
167 // If the month is out of range, adjust it into range, and
169 if (month < 0 || month > 11) {
170 eyear += ClockMath::floorDivide(month, 12, month);
175 if (month != 0) {
176 julianDay += kPersianNumDays[month];
202 * <li>MONTH
211 int32_t year, month, dayOfMonth, dayOfYear;
218 if (dayOfYear < 216) { // Compute 0-based month
219 month = dayOfYear / 31;
221 month = (dayOfYear - 6) / 30;
223 dayOfMonth = dayOfYear - kPersianNumDays[month] + 1;
229 internalSet(UCAL_MONTH, month);