Lines Matching refs:month
596 cal->roll(Calendar::MONTH, (int32_t)100, status);
657 int32_t year = 1997, month = UCAL_APRIL, date = 1;
658 gc->set(year, month, date);
666 gc->get(UCAL_MONTH, status) != month ||
872 CalendarTest::verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day)
880 m == month &&
887 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day +
1372 int32_t month = UCAL_OCTOBER;
1375 calendar = new GregorianCalendar(year, month, dDate, status);
1480 * identically when adding. YEAR should keep the month/dom
1534 * When adding the YEAR, the month and day should remain constant.
1569 (y+1) + ", month " + (mon+1) + ", day " + day;
2259 for (int32_t month = HebrewCalendar::TISHRI; month <= HebrewCalendar::ELUL; month++) {
2260 // skip the adar 1 month if year is not a leap year
2261 if (HebrewCalendar::isLeapYear(year) == FALSE && month == HebrewCalendar::ADAR_1) {
2265 hc.set(year,month,day);
2276 if (monthHC != month) {
2277 errln(" ==> month %d incorrect, should be: %d\n",monthHC,month);
2432 CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms = 0);
2442 int32_t month;
2450 CalFields::CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms)
2451 : year(year), month(month), day(day), hour(hour), min(min), sec(sec), ms(ms) {
2456 month = cal.get(UCAL_MONTH, status) + 1;
2467 cal.set(year, month - 1, day, hour, min, sec);
2474 sprintf(local, "%04d-%02d-%02d %02d:%02d:%02d.%03d", year, month, day, hour, min, sec, ms);
2483 && month == rhs.month
2499 && month == cal.get(UCAL_MONTH, status) + 1
2780 int32_t month = cal->get(UCAL_MONTH, status);
2785 if(initDay != day || initMonth != month || initYear != year)
2788 errln("values post set():\tmonth %i\tday %i\tyear %i",month, day, year);
2825 int32_t day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar::RAJAB, initYear = 1434;
2841 month = tstCal->get(UCAL_MONTH,status);
2848 if(day != (initDay + loopCnt - 1) || month != IslamicCalendar::RABI_2 || year != 1434)
2860 int32_t month = tstCal->get(UCAL_MONTH, status);
2862 errln("values post set():\tmonth %i\tday %i\tyear %i",month, day, year);
2881 errln("unexpected conversion date month %i not %i or day %i not 20 or year %i not 1395", is_month, IslamicCalendar::RABI_2, is_day, is_year);
2917 errln("unexpected difference between islamic and tbla month %d : %d and/or year %d : %d",tbla_month,is_month,tbla_year,is_year);
2934 // 5776 is a leap year and has month Adar I
2942 // 5777 is NOT a lear year and does not have month Adar I