Home
last modified time | relevance | path

Searched refs:setTimeZone (Results 1 – 20 of 20) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java165 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 …]
DDateFormatSymbolsTest.java82 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in formatDate()
DOldDateFormatTest.java473 format.setTimeZone(tz); in test_setTimeZoneLjava_util_TimeZone()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSimpleDateFormatTest.java416 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 …]
DSupport_SimpleDateFormat.java55 format.setTimeZone(tz); in t_format_with_FieldPosition()
139 format.setTimeZone(tz); in t_formatToCharacterIterator()
/libcore/luni/src/main/java/libcore/net/http/
DHttpDate.java39 rfc1123.setTimeZone(TimeZone.getTimeZone("UTC"));
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/
DASN1UTCTime.java99 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in setEncodingContent()
DASN1GeneralizedTime.java88 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in setEncodingContent()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java316 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()
DGregorianCalendarTest.java158 c1.setTimeZone(new SimpleTimeZone(60000, "ONE MINUTE")); in test_ConstructorLjava_util_TimeZone()
329 gc.setTimeZone(tz); in test_getActualMaximumI()
DCalendarTest.java404 cal.setTimeZone(TimeZone.getTimeZone("EST")); in test_setTimeLjava_util_Date()
468 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_getTimeInMillis()
DFormatterTest.java4172 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/
DCalendarTest.java49 cal.setTimeZone(tz); in test_setTimeZone()
190 calendar.setTimeZone(TimeZone.getTimeZone("GMT-08:00")); in testCalendarSerialization()
/libcore/luni/src/main/java/java/text/
DDateFormat.java678 public void setTimeZone(TimeZone timezone) { in setTimeZone() method in DateFormat
679 calendar.setTimeZone(timezone); in setTimeZone()
DSimpleDateFormat.java793 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/
DCalendar.java722 setTimeZone(timezone); in Calendar()
1214 public void setTimeZone(TimeZone timezone) { in setTimeZone() method in Calendar
DDate.java674 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/
DSerializationStressTest.java179 CALENDAR.setTimeZone(new SimpleTimeZone(0, "GMT")); in CALENDAR.setTimeZone()
188 DATEFORM.setTimeZone(TimeZone.getTimeZone("EST"));
/libcore/luni/src/test/java/libcore/java/security/cert/
DCertificateFactoryTest.java525 cal.setTimeZone(TimeZone.getTimeZone("UTC")); in generateCertificate()
/libcore/luni/src/main/java/libcore/util/
DZoneInfo.java364 calendar.setTimeZone(TimeZone.getTimeZone("UTC")); in WallTime()