Home | History | Annotate | Download | only in intltest

Lines Matching refs:MONTH

607         cal->roll(Calendar::MONTH, (int32_t)100, status);
668 int32_t year = 1997, month = UCAL_APRIL, date = 1;
669 gc->set(year, month, date);
677 gc->get(UCAL_MONTH, status) != month ||
883 CalendarTest::verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day)
891 m == month &&
898 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day +
1383 int32_t month = UCAL_OCTOBER;
1386 calendar = new GregorianCalendar(year, month, dDate, status);
1491 * identically when adding. YEAR should keep the month/dom
1545 * When adding the YEAR, the month and day should remain constant.
1580 (y+1) + ", month " + (mon+1) + ", day " + day;
2270 for (int32_t month = HebrewCalendar::TISHRI; month <= HebrewCalendar::ELUL; month++) {
2271 // skip the adar 1 month if year is not a leap year
2272 if (HebrewCalendar::isLeapYear(year) == FALSE && month == HebrewCalendar::ADAR_1) {
2276 hc.set(year,month,day);
2287 if (monthHC != month) {
2288 errln(" ==> month %d incorrect, should be: %d\n",monthHC,month);
2443 CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms = 0);
2453 int32_t month;
2461 CalFields::CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms)
2462 : year(year), month(month), day(day), hour(hour), min(min), sec(sec), ms(ms) {
2467 month = cal.get(UCAL_MONTH, status) + 1;
2478 cal.set(year, month - 1, day, hour, min, sec);
2485 sprintf(local, "%04d-%02d-%02d %02d:%02d:%02d.%03d", year, month, day, hour, min, sec, ms);
2494 && month == rhs.month
2510 && month == cal.get(UCAL_MONTH, status) + 1
2791 int32_t month = cal->get(UCAL_MONTH, status);
2796 if(initDay != day || initMonth != month || initYear != year)
2799 errln("values post set():\tmonth %i\tday %i\tyear %i",month, day, year);
3259 int32_t day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar::RAJAB, initYear = 1434;
3275 month = tstCal->get(UCAL_MONTH,status);
3282 if(day != (initDay + loopCnt - 1) || month != IslamicCalendar::RABI_2 || year != 1434)
3294 int32_t month = tstCal->get(UCAL_MONTH, status);
3296 errln("values post set():\tmonth %i\tday %i\tyear %i",month, day, year);
3315 errln("unexpected conversion date month %i not %i or day %i not 24 or year %i not 1395", is_month, IslamicCalendar::RABI_2, is_day, is_year);
3375 errln("unexpected difference between islamic and tbla month %d : %d and/or year %d : %d",tbla_month,is_month,tbla_year,is_year);
3392 // 5776 is a leap year and has month Adar I
3400 // 5777 is NOT a lear year and does not have month Adar I