Home | History | Annotate | Download | only in intltest

Lines Matching refs:MONTH

616         cal->roll(Calendar::MONTH, (int32_t)100, status);
677 int32_t year = 1997, month = UCAL_APRIL, date = 1;
678 gc->set(year, month, date);
686 gc->get(UCAL_MONTH, status) != month ||
892 CalendarTest::verify765(const UnicodeString& msg, Calendar* c, int32_t year, int32_t month, int32_t day)
900 m == month &&
907 errln("FAIL: " + msg + dateToString(c->getTime(status), str) + "; expected " + (int32_t)year + "/" + (int32_t)(month + 1) + "/" + (int32_t)day +
1392 int32_t month = UCAL_OCTOBER;
1395 calendar = new GregorianCalendar(year, month, dDate, status);
1500 * identically when adding. YEAR should keep the month/dom
1554 * When adding the YEAR, the month and day should remain constant.
1589 (y+1) + ", month " + (mon+1) + ", day " + day;
2279 for (int32_t month = HebrewCalendar::TISHRI; month <= HebrewCalendar::ELUL; month++) {
2280 // skip the adar 1 month if year is not a leap year
2281 if (HebrewCalendar::isLeapYear(year) == FALSE && month == HebrewCalendar::ADAR_1) {
2285 hc.set(year,month,day);
2296 if (monthHC != month) {
2297 errln(" ==> month %d incorrect, should be: %d\n",monthHC,month);
2452 CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms = 0);
2462 int32_t month;
2470 CalFields::CalFields(int32_t year, int32_t month, int32_t day, int32_t hour, int32_t min, int32_t sec, int32_t ms)
2471 : year(year), month(month), day(day), hour(hour), min(min), sec(sec), ms(ms) {
2476 month = cal.get(UCAL_MONTH, status) + 1;
2487 cal.set(year, month - 1, day, hour, min, sec);
2494 sprintf(local, "%04d-%02d-%02d %02d:%02d:%02d.%03d", year, month, day, hour, min, sec, ms);
2503 && month == rhs.month
2519 && month == cal.get(UCAL_MONTH, status) + 1
2800 int32_t month = cal->get(UCAL_MONTH, status);
2805 if(initDay != day || initMonth != month || initYear != year)
2808 errln("values post set():\tmonth %i\tday %i\tyear %i",month, day, year);
3268 int32_t day=0, month=0, year=0, initDay = 27, initMonth = IslamicCalendar::RAJAB, initYear = 1434;
3284 month = tstCal->get(UCAL_MONTH,status);
3291 if(day != (initDay + loopCnt - 1) || month != IslamicCalendar::RABI_2 || year != 1434)
3303 int32_t month = tstCal->get(UCAL_MONTH, status);
3305 errln("values post set():\tmonth %i\tday %i\tyear %i",month, day, year);
3324 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);
3384 errln("unexpected difference between islamic and tbla month %d : %d and/or year %d : %d",tbla_month,is_month,tbla_year,is_year);
3401 // 5776 is a leap year and has month Adar I
3409 // 5777 is NOT a lear year and does not have month Adar I