Lines Matching refs:date
98 UDate date[] = {-55018555891590.05, 0, 0};
101 fmt.format(date[0], result[0]);
102 date[1] = fmt.parse(result[0], status);
103 fmt.format(date[1], result[1]);
104 date[2] = fmt.parse(result[1], status);
106 /* This test case worked OK by accident before. date[1] != date[0],
108 * (date[0] is in year 1926, date[1] is in year 2026.) result[1] set
111 * America/Los_Angeles. When this is parsed, date[1] becomes a time
121 //if (date[1] != date[2] || result[0] != result[1]) {
122 if (date[1] != date[2]) {
123 errln("Round trip failure: \"%S\" (%f), \"%S\" (%f)", result[0].getBuffer(), date[1], result[1].getBuffer(), date[2]);
216 // 4 date
218 // 16 date-time
290 errln((UnicodeString)"Failure getting min date for " + origLocale.getName());
293 //logln(UnicodeString("Min date is ") + fullFormat(minDate) + " for " + origLocale.getName());
306 // Because patterns contain incomplete data representing the Date,
308 // a randomly generated Date because they're easier to generate.
311 // that it will not necessarily parse back to the original date because
313 // parse back to the same date.
330 // which the date and the string starts to match. Once matching
344 // For displaying which date is being tested
370 errln("FAIL: Date mismatch after match");
379 // date matching.
381 // Date usually matches in 2. Exceptions handled below.
385 // Time-only pattern with zone information and a starting date in PST.
392 // fall into this category. The start date is 1) DST or
457 logln("Date iters until match=%d (max allowed=%d), string iters until match=%d (max allowed=%d)",
496 * Return a field of the given date
567 //return new Date((long)a);