Home
last modified time | relevance | path

Searched refs:defaultTimeZone (Results 1 – 5 of 5) 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/ojluni/src/main/java/java/util/
DTimeZone.java711 if (defaultTimeZone == null) { in getDefaultRef()
727 defaultTimeZone = TimeZone.getTimeZone(zoneName); in getDefaultRef()
729 return defaultTimeZone; in getDefaultRef()
750 defaultTimeZone = timeZone != null ? (TimeZone) timeZone.clone() : null; in setDefault()
799 private static volatile TimeZone defaultTimeZone; field in TimeZone
DCalendar.java1475 zone = defaultTimeZone(locale); in build()
1642 return createCalendar(defaultTimeZone(aLocale), aLocale); in getInstance()
1674 return createCalendar(defaultTimeZone(aLocale), aLocale); in getInstance()
1702 private static TimeZone defaultTimeZone(Locale l) { in defaultTimeZone() method in Calendar
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DDateTest.java512 static TimeZone defaultTimeZone = TimeZone.getDefault(); field in DateTest
526 TimeZone.setDefault(defaultTimeZone); in tearDown()
DFormatterTest.java154 private TimeZone defaultTimeZone; field in FormatterTest
4229 defaultTimeZone = TimeZone.getDefault(); in setUp()
4253 TimeZone.setDefault(defaultTimeZone); in tearDown()