Home
last modified time | relevance | path

Searched refs:ZoneRulesProvider (Results 1 – 9 of 9) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRulesProvider.java70 import java.time.zone.ZoneRulesProvider;
92 Set<String> zoneIds = ZoneRulesProvider.getAvailableZoneIds(); in test_getAvailableGroupIds()
96 Set<String> zoneIds2 = ZoneRulesProvider.getAvailableZoneIds(); in test_getAvailableGroupIds()
105 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); in test_getRules_StringBoolean()
107 ZoneRules rules2 = ZoneRulesProvider.getRules("Europe/London", false); in test_getRules_StringBoolean()
113 ZoneRulesProvider.getRules("Europe/Lon", false); in test_getRules_StringBoolean_unknownId()
118 ZoneRulesProvider.getRules(null, false); in test_getRules_StringBoolean_null()
124 ZoneRulesProvider.registerProvider(dynamicProvider); in test_getRules_StringBoolean_dynamic()
140 NavigableMap<String, ZoneRules> versions = ZoneRulesProvider.getVersions("Europe/London"); in test_getVersions_String()
142 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); in test_getVersions_String()
[all …]
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRulesProvider.java129 public abstract class ZoneRulesProvider { class
134 …private static final CopyOnWriteArrayList<ZoneRulesProvider> PROVIDERS = new CopyOnWriteArrayList<…
138 …private static final ConcurrentMap<String, ZoneRulesProvider> ZONES = new ConcurrentHashMap<>(512,…
142 ZoneRulesProvider provider = new IcuZoneRulesProvider();
222 private static ZoneRulesProvider getProvider(String zoneId) { in getProvider()
223 ZoneRulesProvider provider = ZONES.get(zoneId); in getProvider()
249 public static void registerProvider(ZoneRulesProvider provider) { in registerProvider()
261 private static void registerProvider0(ZoneRulesProvider provider) { in registerProvider0()
264 ZoneRulesProvider old = ZONES.putIfAbsent(zoneId, provider); in registerProvider0()
298 for (ZoneRulesProvider provider : PROVIDERS) { in refresh()
[all …]
DIcuZoneRulesProvider.java50 public class IcuZoneRulesProvider extends ZoneRulesProvider {
/libcore/ojluni/src/main/java/java/time/
DZoneRegion.java67 import java.time.zone.ZoneRulesProvider;
120 rules = ZoneRulesProvider.getRules(zoneId, true); in ofId()
177 return (rules != null ? rules : ZoneRulesProvider.getRules(id, false)); in getRules()
DZoneId.java78 import java.time.zone.ZoneRulesProvider;
285 return ZoneRulesProvider.getAvailableZoneIds(); in getAvailableZoneIds()
/libcore/luni/src/test/java/libcore/java/time/zone/
DIcuZoneRulesProviderTest.java32 import java.time.zone.ZoneRulesProvider;
51 Set<String> availableZoneIds = ZoneRulesProvider.getAvailableZoneIds(); in getZoneIds()
84 ZoneRules rules = ZoneRulesProvider.getRules(zoneId, false); in testTransitionsNearInstants()
130 ZoneRules rules = ZoneRulesProvider.getRules(zoneId, false); in testAllTransitions()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java37 import java.time.zone.ZoneRulesProvider;
74 Set<String> zids = ZoneRulesProvider.getAvailableZoneIds(); in test_printText()
135 Set<String> zids = ZoneRulesProvider.getAvailableZoneIds(); in test_ParseText()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java104 import java.time.zone.ZoneRulesProvider;
3778 Set<String> regionIds = ZoneRulesProvider.getAvailableZoneIds(); in getTree()
3890 Set<String> regionIds = ZoneRulesProvider.getAvailableZoneIds(); in getTree()
/libcore/
Dopenjdk_java_files.bp1437 "ojluni/src/main/java/java/time/zone/ZoneRulesProvider.java",