Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java83 sdf.setTimeZone(UTC); in test2DigitYearStartIsCloned()
213 format.setTimeZone(UTC); in test2038()
233 dateFormat.setTimeZone(tz); in formatDate()
239 sdf.setTimeZone(UTC); in assertCannotParse()
256 sdf.setTimeZone(tz); in parseDate()
297 sdf.setTimeZone(europeBerlin); in testFormattingUncommonTimeZoneAbbreviations()
300 sdf.setTimeZone(europeZurich); in testFormattingUncommonTimeZoneAbbreviations()
304 sdf.setTimeZone(europeBerlin); in testFormattingUncommonTimeZoneAbbreviations()
307 sdf.setTimeZone(europeZurich); in testFormattingUncommonTimeZoneAbbreviations()
324 sdf.setTimeZone(AMERICA_LOS_ANGELES); in testTimeZoneFormatting()
[all …]
DDateFormatTest.java96 df.setTimeZone(TimeZone.getTimeZone("GMT")); in assertParse_lenient_en()
115 df.setTimeZone(TimeZone.getTimeZone("GMT")); in assertFormat_forBug266731719()
DDateFormatSymbolsTest.java91 sdf.setTimeZone(TimeZone.getTimeZone("UTC")); in formatDate()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DSimpleDateFormatTest.java413 format.setTimeZone(TimeZone.getTimeZone("EST")); in test_format_time_zones()
423 format.setTimeZone(TimeZone.getTimeZone("America/New_York")); in test_format_time_zones()
436 format.setTimeZone(tz0001); in test_format_time_zones()
440 format.setTimeZone(tz0130); in test_format_time_zones()
442 format.setTimeZone(tzMinus0130); in test_format_time_zones()
445 format.setTimeZone(tz0001); in test_format_time_zones()
448 format.setTimeZone(tz0130); in test_format_time_zones()
450 format.setTimeZone(tzMinus0130); in test_format_time_zones()
496 format.setTimeZone(SimpleTimeZone.getTimeZone(timeZoneId)); in verifyFormatTimezone()
563 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/ojluni/src/test/java/time/test/java/time/chrono/
DTestJapaneseChronoImpl.java113 cal.setTimeZone(TimeZone.getTimeZone("GMT+00")); in test_JapaneseChrono_vsCalendar()
140 cal.setTimeZone(TimeZone.getTimeZone("GMT+00")); in test_dayOfYearVsCalendar()
DTestIsoChronoImpl.java102 cal.setTimeZone(TimeZone.getTimeZone("GMT+00")); in test_IsoChrono_vsCalendar()
133 cal.setTimeZone(TimeZone.getTimeZone("GMT+00")); in test_DayOfWeek_IsoChronology_vsCalendar()
DTestThaiBuddhistChronoImpl.java102 cal.setTimeZone(TimeZone.getTimeZone("GMT+00")); in test_ThaiBuddhistChrono_vsCalendar()
/libcore/luni/src/main/java/libcore/net/http/
DHttpDate.java40 rfc1123.setTimeZone(TimeZone.getTimeZone("UTC"));
/libcore/luni/src/test/java/libcore/java/util/
DCalendarBuilderTest.java264 builder.setTimeZone(london); in test_setTimeZone()
267 expected.setTimeZone(london); in test_setTimeZone()
273 new Calendar.Builder().setTimeZone(null); in test_setTimeZone_null()
DCalendarTest.java52 cal.setTimeZone(tz); in test_setTimeZone()
205 calendar.setTimeZone(TimeZone.getTimeZone("GMT-08:00")); in testCalendarSerialization()
327 calendar.setTimeZone(TimeZone.getTimeZone("Europe/London")); in testSetHourOfDayInEuropeLondon()
DSimpleTimeZoneTest.java277 format.setTimeZone(cal.getTimeZone()); in formatCalendar()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java319 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_parseLjava_lang_String()
324 cal.setTimeZone(TimeZone.getTimeZone("MST")); in test_parseLjava_lang_String()
329 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_parseLjava_lang_String()
/libcore/benchmarks/src/benchmarks/regression/
DSimpleDateFormatBenchmark.java103 sdf.setTimeZone(TimeZone.getTimeZone("Hongkong")); in main()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java743 public void setTimeZone(TimeZone zone) in setTimeZone() method in DateFormat
745 calendar.setTimeZone(zone); in setTimeZone()
DSimpleDateFormat.java1768 setTimeZone(tz); in parse()
2101 setTimeZone(newTimeZone); in subParseZoneStringFromICU()
2168 setTimeZone(tz); in subParseZoneStringFromSymbols()
3084 setTimeZone(zi); in readObject()
/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java131 df.setTimeZone(TimeZone.getTimeZone("GMT")); in test_rootLocale_useRealRootLocaleData()
144 df.setTimeZone(TimeZone.getTimeZone("GMT")); in test_rootLocale_notUseRealRootLocaleData()
/libcore/ojluni/annotations/sdk/nullability/java/util/
DCalendar.annotated.java120 public void setTimeZone(@libcore.util.NonNull java.util.TimeZone value) { throw new RuntimeExceptio… in setTimeZone() method in Calendar
293 @libcore.util.NonNull public java.util.Calendar.Builder setTimeZone(@libcore.util.NonNull java.util… in setTimeZone() method in Calendar.Builder
/libcore/ojluni/src/main/java/sun/net/www/protocol/file/
DFileURLConnection.java135 fo.setTimeZone(TimeZone.getTimeZone("GMT")); in initializeHeaders()
/libcore/ojluni/annotations/hiddenapi/java/util/
DCalendar.java278 public void setTimeZone(java.util.TimeZone value) { in setTimeZone() method in Calendar
651 public java.util.Calendar.Builder setTimeZone(java.util.TimeZone zone) { in setTimeZone() method in Calendar.Builder
/libcore/ojluni/annotations/mmodule/java/text/
DDateFormat.annotated.java99 public void setTimeZone(java.util.TimeZone zone) { throw new RuntimeException("Stub!"); } in setTimeZone() method in DateFormat
/libcore/ojluni/annotations/hiddenapi/java/text/
DDateFormat.java142 public void setTimeZone(java.util.TimeZone zone) { in setTimeZone() method in DateFormat
/libcore/ojluni/src/main/java/sun/security/util/
DDerOutputStream.java504 sdf.setTimeZone(tz); in putTime()
/libcore/ojluni/src/test/java/time/test/java/util/
DTestFormatter.java265 cal0.setTimeZone(TimeZone.getTimeZone("GMT" + zdt.getOffset().getId())); in testZoneId()
/libcore/ojluni/annotations/sdk/nullability/java/text/
DDateFormat.annotated.java96 public void setTimeZone(@libcore.util.NonNull java.util.TimeZone zone) { throw new RuntimeException… in setTimeZone() method in DateFormat

12