Lines Matching full:time
106 logln("time and local time. E.g., -28,800 for PST (GMT-8hrs)");
120 * A few time zones are using GMT offests not a multiple of 15 minutes.
169 UDate marchOneStd = gc->getTime(status); // Local Std time midnight
172 UDate julyOneStd = gc->getTime(status); // Local Std time midnight
175 // Starting and ending hours, WALL TIME
187 UDate julyOne = julyOneStd + endHour - 3600000; // Adjust from wall to Std time
543 * "CAT" (Central African Time) should be GMT+2:00, but instead returns a
549 * ECT (European Central Time) GMT+1:00: ECT is Ecuador Time,
550 * GMT-5:00. European Central time is abbreviated CEST.
552 * SST (Solomon Island Time) GMT+11:00. SST is actually Samoa Standard Time,
553 * GMT-11:00. Solomon Island time is SBT.
555 * NST (New Zealand Time) GMT+12:00. NST is the abbreviation for
556 * Newfoundland Standard Time, GMT-3:30. New Zealanders use NZST.
558 * AST (Alaska Standard Time) GMT-9:00. [This has already been noted in
559 * another bug.] It should be "AKST". AST is Atlantic Standard Time,
562 * PNT (Phoenix Time) GMT-7:00. PNT usually means Pitcairn Time,
563 * GMT-8:30. There is no standard abbreviation for Phoenix time, as distinct
611 // in the time zone in the current calendar year. The test
622 logln("Warning: Past time is set to the system clock. Some test cases may not return expected results.");
694 errln("FAIL: Time Zone " + itsID + " does not exist!");
702 logln("Warning: Time Zone " + itsID + " use daylight is " +
707 errln("FAIL: Time Zone " + itsID + " use daylight is " +
719 logln("FAIL: Time Zone " + itsID + " raw offset is " +
723 errln("FAIL: Time Zone " + itsID + " raw offset is " +
858 * Utility function for TestCustomParse, generating time zone ID
957 logln(id + " -> Olson time zone");
1177 if (name.compare("Pacific Standard Time") != 0)
1178 dataerrln("Fail: Expected \"Pacific Standard Time\" but got " + name);
1193 {FALSE, TimeZone::LONG, "Pacific Standard Time"},
1194 {TRUE, TimeZone::LONG, "Pacific Daylight Time"},
1198 {FALSE, TimeZone::LONG_GENERIC, "Pacific Time"},
1199 {TRUE, TimeZone::LONG_GENERIC, "Pacific Time"},
1256 if (name.compare("Pacific Standard Time") != 0)
1257 dataerrln("Fail: Expected \"Pacific Standard Time\"");
1288 if (name != "Pacific Standard Time")
1289 dataerrln("Fail: Expected Pacific Standard Time");
1335 // tests above, but I don't have time to figure out how to do this (or if it's
1347 errln("Test time zone should use DST but claims it doesn't.");
1387 // test at the top of this class, but I didn't have time to figure out how to do that.
1554 int32_t time; // epoch seconds
1585 UDate when = (double) DATA[i].time * U_MILLIS_PER_SECOND;
1628 // Time zone with daylight savings time from the first Sunday in November
1637 0, // midnight wall time
1639 0, // midnight wall time
1652 0, // midnight wall time
1654 0, // midnight wall time
1661 // Gregorian calendar with the UTC time zone for getting sample test date/times.
1669 // UTC time.
1671 // Expected time zone offset in hours after GMT (negative=before GMT).
1707 errln("test case %d.%d: bad date/time %04d-%02d-%02d %02d:%02d:%02d",
1889 {"Europe/London", "en", FALSE, TimeZone::LONG, "Greenwich Mean Time"},
1891 {"Europe/London", "en", TRUE, TimeZone::LONG, "British Summer Time"},
1894 {"America/Anchorage", "en", FALSE, TimeZone::LONG, "Alaska Standard Time"},
1896 {"America/Anchorage", "en", TRUE, TimeZone::LONG, "Alaska Daylight Time"},
1900 {"Australia/Perth", "en", FALSE, TimeZone::LONG, "Australian Western Standard Time"},
1902 {"Australia/Perth", "en", TRUE, TimeZone::LONG, "Australian Western Daylight Time"},
1905 {"America/Sao_Paulo", "en", FALSE, TimeZone::LONG, "Brasilia Time"},
1907 {"America/Sao_Paulo", "en", TRUE, TimeZone::LONG, "Brasilia Summer Time"},
1909 // No Summer Time, but had it before 1983.
1911 {"Pacific/Honolulu", "en", FALSE, TimeZone::LONG, "Hawaii-Aleutian Standard Time"},
1913 {"Pacific/Honolulu", "en", TRUE, TimeZone::LONG, "Hawaii-Aleutian Standard Time"},
1917 {"Europe/Helsinki", "en", FALSE, TimeZone::LONG, "Eastern European Time"},
1919 {"Europe/Helsinki", "en", true, TimeZone::LONG, "Eastern European Summer Time"},
1948 dataerrln("Incorrect time zone display name. zone = \"%s\",\n"
1960 logln("Incorrect time zone display name. zone = \"%s\",\n"