Lines Matching refs:date
202 int32_t date = cal->get(UCAL_DATE, status) + 1 ;
204 log(UnicodeString("/") + date) ;
304 //This will print out todays date for MONTH and DAY_OF_MONTH
305 //instead of the date it was set to.
360 logln("DATE: " + Calendar::get(Calendar::DATE));
387 logln("DATE: " + Calendar::get(Calendar::DATE));
452 UDate date = fmt->parse("29MAY97", status);
454 cal->setTime(date, status);
490 * Get the associated date starting from a specified date
494 * @param date The date to start from
501 //cal.add(field, amount); //<-- PROBLEM SEEN WITH field = DATE,MONTH
539 cal->set(1996, UCAL_DECEMBER, 1); // Set the date to be December 1, 1996
706 SimpleDateFormat *date;
713 date = new SimpleDateFormat(UnicodeString("dd MMM yyy (zzzz) 'is in week' ww"),status);
719 delete date;
726 logln(date->format(now, temp, pos));
729 logln(date->format(now,temp, pos));
732 logln(date->format(now,temp, pos));
735 logln(date->format(now,temp, pos));
745 delete date;
762 cal1.set( Calendar::DATE, 11 );
774 cal2.set( Calendar::DATE, 11 );
1296 UDate date = DATA[i];
1300 log(UnicodeString("") + date);
1301 cal->setTime(date,status);
1316 double change = cal->getTime(status) - date;
1439 errln("add(DATE,1) failed");
1450 * GregorianCalendar::equals() ignores cutover date
1595 UDate date = makeDate(1996, UCAL_JANUARY, 3); // Arbitrary date
1597 calendar->setTime(date,status);
1610 ", date before: " + date +
1611 ", date after: " + calendar->getTime(status) +
1621 * Reported bug is that a GregorianCalendar with a cutover of Date(Long.MAX_VALUE)
1653 errln("Fail: Date(EARLIEST_SUPPORTED_MILLIS) has an AD year");
1659 errln("Fail: Date(LATEST_SUPPORTED_MILLIS) has a BC year");
1671 errln(" cutover date is Date(Long.MAX_VALUE)");
1682 * Calendar and Date HOUR broken. If HOUR is out-of-range, Calendar
1683 * and Date classes will misbehave.
1754 logln(UnicodeString("init date: ") + start);
1808 logln(UnicodeString("Date: ") + calendar->getTime(status)); // 888817448000
1888 logln("date before: " + format->format(dateBefore, temp));
1909 errln(UnicodeString(" FAIL: ") + newYear + " should be valid; date, month and time shouldn't change");
2153 UDate date = cutover +
2157 cal.setTime(date, status);
2180 fmt.format(date, temp.remove()) +
2181 "}(" + date/ONE_DAY +
2188 fmt.format(date, temp.remove()) +
2189 "}(" + date/ONE_DAY +
2261 int32_t dd2 = cal2->fieldDifference(date2, Calendar::DATE, ec2);
2262 if (failure(ec2, "fieldDifference(date, Calendar::DATE, ec)"))
2337 errln("FAIL: got date %4d/%02d/%02d, expected 210/02/24: ", yy, mm + 1, dd);