ICU-5986 Replace deprecated Date constructor which takes local time field values with another which takes long time in the test data. With the previous version, actual Date value may not be in PST, because it may be loaded before the test framework code update the default JVM time zone.

X-SVN-Rev: 22761
This commit is contained in:
Yoshito Umaoka 2007-10-09 18:18:40 +00:00
parent 617d19f9e9
commit c59374b3ac

View File

@ -207,7 +207,7 @@ public class DateTimeGeneratorTest extends TestFmwk {
// can be generated by using GENERATE_TEST_DATA. Must be reviewed before adding // can be generated by using GENERATE_TEST_DATA. Must be reviewed before adding
static final Object[] dateTestData = { static final Object[] dateTestData = {
new Date(99, 0, 13, 23, 58, 59), new Date(916300739000L), // 1999-01-13T23:58:59,0-0800
new ULocale("en_US"), new ULocale("en_US"),
new String[] {"yM", "1/1999"}, new String[] {"yM", "1/1999"},
new String[] {"yMMM", "Jan 1999"}, new String[] {"yMMM", "Jan 1999"},