Home | History | Annotate | Download | only in intltest

Lines Matching refs:date

93     UDate date[] = {-55018555891590.05, 0, 0};
96 fmt.format(date[0], result[0]);
97 date[1] = fmt.parse(result[0], status);
98 fmt.format(date[1], result[1]);
99 date[2] = fmt.parse(result[1], status);
101 /* This test case worked OK by accident before. date[1] != date[0],
103 * (date[0] is in year 1926, date[1] is in year 2026.) result[1] set
106 * America/Los_Angeles. When this is parsed, date[1] becomes a time
116 //if (date[1] != date[2] || result[0] != result[1]) {
117 if (date[1] != date[2]) {
118 errln("Round trip failure: \"%S\" (%f), \"%S\" (%f)", result[0].getBuffer(), date[1], result[1].getBuffer(), date[2]);
209 // 4 date
211 // 16 date-time
283 errln((UnicodeString)"Failure getting min date for " + origLocale.getName());
286 //logln(UnicodeString("Min date is ") + fullFormat(minDate) + " for " + origLocale.getName());
299 // Because patterns contain incomplete data representing the Date,
301 // a randomly generated Date because they're easier to generate.
304 // that it will not necessarily parse back to the original date because
306 // parse back to the same date.
323 // which the date and the string starts to match. Once matching
337 // For displaying which date is being tested
363 errln("FAIL: Date mismatch after match");
372 // date matching.
374 // Date usually matches in 2. Exceptions handled below.
378 // Time-only pattern with zone information and a starting date in PST.
442 logln("Date iters until match=%d (max allowed=%d), string iters until match=%d (max allowed=%d)",
481 * Return a field of the given date
552 //return new Date((long)a);