Home | History | Annotate | Download | only in i18n

Lines Matching refs:month

26 jalali_to_julian(int year, int month, int day) 
32 month -= 1;
78 for (i = 0; i < month; i++) {
89 int year=0, month=0, day=0,scalarDays=0;
165 month = i + 1;
170 *h_m = month;
212 { 0, 0, 11, 11}, // MONTH
248 // len length of month
249 // len2 length of month in a leap year
250 // st days in year before start of month
251 // st2 days in year before month in leap year
279 * Return the day # on which the given month starts. Days are counted
283 * @param year The hijri shamsi month, 0-based
285 int32_t PersianCalendar::monthStart(int32_t year, int32_t month) const {
286 return handleComputeMonthStart(year,month,FALSE);
294 * Return the length (in days) of the given month.
297 * @param year The hijri shamsi month, 0-based
299 int32_t PersianCalendar::handleGetMonthLength(int32_t extendedYear, int32_t month) const {
300 return MONTH_COUNT[month][PersianCalendar::isLeapYear(extendedYear)?1:0];
314 // Return JD of start of given month/year
315 int32_t PersianCalendar::handleComputeMonthStart(int32_t eyear, int32_t month, UBool useMonth) const {
316 // If the month is out of range, adjust it into range, and
318 if (month < 0 || month > 11) {
319 eyear += month / 12;
320 month = month % 12;
322 return jalali_to_julian(eyear,(useMonth?month+1:1),1)-1+1947955;
345 * <li>MONTH