Home
last modified time | relevance | path

Searched refs:defaultTimeZone (Results 1 – 4 of 4) sorted by relevance

/libcore/luni/src/test/java/libcore/java/sql/
DTimestampTest.java29 TimeZone defaultTimeZone = TimeZone.getDefault(); in testToString() local
44 TimeZone.setDefault(defaultTimeZone); in testToString()
51 TimeZone defaultTimeZone = TimeZone.getDefault(); in testValueOf() local
66 TimeZone.setDefault(defaultTimeZone); in testValueOf()
/libcore/luni/src/main/java/java/util/
DTimeZone.java88 private static TimeZone defaultTimeZone; field in TimeZone
134 if (defaultTimeZone == null) { in getDefault()
150 defaultTimeZone = TimeZone.getTimeZone(zoneName); in getDefault()
152 return (TimeZone) defaultTimeZone.clone(); in getDefault()
443 defaultTimeZone = timeZone != null ? (TimeZone) timeZone.clone() : null; in setDefault()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java504 static TimeZone defaultTimeZone = TimeZone.getDefault(); field in DateTest
518 TimeZone.setDefault(defaultTimeZone); in tearDown()
DFormatterTest.java153 private TimeZone defaultTimeZone; field in FormatterTest
4219 defaultTimeZone = TimeZone.getDefault(); in setUp()
4242 TimeZone.setDefault(defaultTimeZone); in tearDown()