Home
last modified time | relevance | path

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

12

/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java76 sdf.setTimeZone(UTC); in test2DigitYearStartIsCloned()
206 format.setTimeZone(UTC); in test2038()
226 dateFormat.setTimeZone(tz); in formatDate()
232 sdf.setTimeZone(UTC); in assertCannotParse()
249 sdf.setTimeZone(tz); in parseDate()
290 sdf.setTimeZone(europeBerlin); in testFormattingUncommonTimeZoneAbbreviations()
293 sdf.setTimeZone(europeZurich); in testFormattingUncommonTimeZoneAbbreviations()
297 sdf.setTimeZone(europeBerlin); in testFormattingUncommonTimeZoneAbbreviations()
300 sdf.setTimeZone(europeZurich); in testFormattingUncommonTimeZoneAbbreviations()
317 sdf.setTimeZone(AMERICA_LOS_ANGELES); in testTimeZoneFormatting()
[all …]
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.java110 cal.setTimeZone(TimeZone.getTimeZone("GMT+00")); in test_JapaneseChrono_vsCalendar()
137 cal.setTimeZone(TimeZone.getTimeZone("GMT+00")); in test_dayOfYearVsCalendar()
DTestIsoChronoImpl.java99 cal.setTimeZone(TimeZone.getTimeZone("GMT+00")); in test_IsoChrono_vsCalendar()
130 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.java248 format.setTimeZone(cal.getTimeZone()); in formatCalendar()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java317 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_parseLjava_lang_String()
322 cal.setTimeZone(TimeZone.getTimeZone("MST")); in test_parseLjava_lang_String()
327 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in test_parseLjava_lang_String()
DGregorianCalendarTest.java174 c1.setTimeZone(new SimpleTimeZone(60000, "ONE MINUTE")); in test_ConstructorLjava_util_TimeZone()
345 gc.setTimeZone(tz); in test_getActualMaximumI()
/libcore/benchmarks/src/benchmarks/regression/
DSimpleDateFormatBenchmark.java103 sdf.setTimeZone(TimeZone.getTimeZone("Hongkong")); in main()
/libcore/ojluni/src/main/java/java/text/
DDateFormat.java688 public void setTimeZone(TimeZone zone) in setTimeZone() method in DateFormat
690 calendar.setTimeZone(zone); in setTimeZone()
/libcore/luni/src/main/java/libcore/icu/
DDateIntervalFormat.java107 formatter.setTimeZone(icuTimeZone); in getFormatter()
/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.java228 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
/libcore/ojluni/src/main/java/java/util/
DGregorianCalendar.java2039 public void setTimeZone(TimeZone zone) { in setTimeZone() method in GregorianCalendar
2040 super.setTimeZone(zone); in setTimeZone()
2124 cal.setTimeZone(TimeZone.getTimeZone("GMT")); in getWeekYear()
2218 gc.setTimeZone(TimeZone.getTimeZone("GMT")); in setWeekDate()

12