/libcore/luni/src/test/java/libcore/java/text/ |
D | SimpleDateFormatTest.java | 165 format.setTimeZone(TimeZone.getTimeZone("UTC")); in test2038() 181 dateFormat.setTimeZone(TimeZone.getTimeZone("UTC")); in formatDate() 229 sdf.setTimeZone(TimeZone.getTimeZone("Europe/Berlin")); in testFormattingUncommonTimeZoneAbbreviations() 232 sdf.setTimeZone(TimeZone.getTimeZone("Europe/Zurich")); in testFormattingUncommonTimeZoneAbbreviations() 236 sdf.setTimeZone(TimeZone.getTimeZone("Europe/Berlin")); in testFormattingUncommonTimeZoneAbbreviations() 239 sdf.setTimeZone(TimeZone.getTimeZone("Europe/Zurich")); in testFormattingUncommonTimeZoneAbbreviations() 253 sdf.setTimeZone(AMERICA_LOS_ANGELES); in testTimeZoneFormatting() 255 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in testTimeZoneFormatting() 265 sdf.setTimeZone(AMERICA_LOS_ANGELES); in testTimeZoneFormatting() 267 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in testTimeZoneFormatting() [all …]
|
D | DateFormatSymbolsTest.java | 82 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in formatDate()
|
D | OldDateFormatTest.java | 473 format.setTimeZone(tz); in test_setTimeZoneLjava_util_TimeZone()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
D | SimpleDateFormatTest.java | 416 format.setTimeZone(TimeZone.getTimeZone("EST")); in test_format_time_zones() 426 format.setTimeZone(TimeZone.getTimeZone("America/New_York")); in test_format_time_zones() 439 format.setTimeZone(tz0001); in test_format_time_zones() 443 format.setTimeZone(tz0130); in test_format_time_zones() 445 format.setTimeZone(tzMinus0130); in test_format_time_zones() 448 format.setTimeZone(tz0001); in test_format_time_zones() 451 format.setTimeZone(tz0130); in test_format_time_zones() 453 format.setTimeZone(tzMinus0130); in test_format_time_zones() 498 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId)); in verifyFormatTimezone() 565 cal.setTimeZone(TimeZone.getTimeZone("HST")); in test_parseLjava_lang_StringLjava_text_ParsePosition() [all …]
|
D | Support_SimpleDateFormat.java | 55 format.setTimeZone(tz); in t_format_with_FieldPosition() 139 format.setTimeZone(tz); in t_formatToCharacterIterator()
|
/libcore/luni/src/main/java/libcore/net/http/ |
D | HttpDate.java | 39 rfc1123.setTimeZone(TimeZone.getTimeZone("UTC"));
|
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
D | ASN1UTCTime.java | 99 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in setEncodingContent()
|
D | ASN1GeneralizedTime.java | 88 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in setEncodingContent()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
D | DateTest.java | 316 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_parseLjava_lang_String() 321 cal.setTimeZone(TimeZone.getTimeZone("MST")); in test_parseLjava_lang_String() 326 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_parseLjava_lang_String()
|
D | GregorianCalendarTest.java | 158 c1.setTimeZone(new SimpleTimeZone(60000, "ONE MINUTE")); in test_ConstructorLjava_util_TimeZone() 329 gc.setTimeZone(tz); in test_getActualMaximumI()
|
D | CalendarTest.java | 404 cal.setTimeZone(TimeZone.getTimeZone("EST")); in test_setTimeLjava_util_Date() 468 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_getTimeInMillis()
|
D | FormatterTest.java | 4172 c1.setTimeZone(TimeZone.getTimeZone(tz)); in test_DaylightTime() 4173 c2.setTimeZone(TimeZone.getTimeZone(tz)); in test_DaylightTime() 4177 c1.setTimeZone(TimeZone.getTimeZone(tz)); in test_DaylightTime() 4178 c2.setTimeZone(TimeZone.getTimeZone(tz)); in test_DaylightTime()
|
/libcore/luni/src/test/java/libcore/java/util/ |
D | CalendarTest.java | 49 cal.setTimeZone(tz); in test_setTimeZone() 190 calendar.setTimeZone(TimeZone.getTimeZone("GMT-08:00")); in testCalendarSerialization()
|
/libcore/luni/src/main/java/java/text/ |
D | DateFormat.java | 678 public void setTimeZone(TimeZone timezone) { in setTimeZone() method in DateFormat 679 calendar.setTimeZone(timezone); in setTimeZone()
|
D | SimpleDateFormat.java | 793 calendar.setTimeZone(zone); in error() 1099 calendar.setTimeZone(zone); in parse() 1205 calendar.setTimeZone(new SimpleTimeZone(raw, "")); in parseTimeZone() 1211 calendar.setTimeZone(TimeZone.getTimeZone("GMT")); in parseTimeZone() 1244 calendar.setTimeZone(new SimpleTimeZone(raw, "")); in parseTimeZone()
|
/libcore/luni/src/main/java/java/util/ |
D | Calendar.java | 722 setTimeZone(timezone); in Calendar() 1214 public void setTimeZone(TimeZone timezone) { in setTimeZone() method in Calendar
|
D | Date.java | 674 sdf.setTimeZone(gmtZone); in toGMTString() 758 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in UTC()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
D | SerializationStressTest.java | 179 CALENDAR.setTimeZone(new SimpleTimeZone(0, "GMT")); in CALENDAR.setTimeZone() 188 DATEFORM.setTimeZone(TimeZone.getTimeZone("EST"));
|
/libcore/luni/src/test/java/libcore/java/security/cert/ |
D | CertificateFactoryTest.java | 525 cal.setTimeZone(TimeZone.getTimeZone("UTC")); in generateCertificate()
|
/libcore/luni/src/main/java/libcore/util/ |
D | ZoneInfo.java | 364 calendar.setTimeZone(TimeZone.getTimeZone("UTC")); in WallTime()
|