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()
98 ZoneRulesProvider.getAvailableZoneIds().clear(); in test_getAvailableGroupIds_modifyZoneId()
106 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); in test_getRules_StringBoolean()
108 ZoneRules rules2 = ZoneRulesProvider.getRules("Europe/London", false); in test_getRules_StringBoolean()
114 ZoneRulesProvider.getRules("Europe/Lon", false); in test_getRules_StringBoolean_unknownId()
119 ZoneRulesProvider.getRules(null, false); in test_getRules_StringBoolean_null()
125 ZoneRulesProvider.registerProvider(dynamicProvider); in test_getRules_StringBoolean_dynamic()
141 NavigableMap<String, ZoneRules> versions = ZoneRulesProvider.getVersions("Europe/London"); in test_getVersions_String()
143 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); in test_getVersions_String()
[all …]
/libcore/ojluni/src/main/java/java/time/zone/
DZoneRulesProvider.java131 public abstract class ZoneRulesProvider { class
136 …private static final CopyOnWriteArrayList<ZoneRulesProvider> PROVIDERS = new CopyOnWriteArrayList<…
140 …private static final ConcurrentMap<String, ZoneRulesProvider> ZONES = new ConcurrentHashMap<>(512,…
199 ZoneRulesProvider provider = new IcuZoneRulesProvider();
280 private static ZoneRulesProvider getProvider(String zoneId) { in getProvider()
281 ZoneRulesProvider provider = ZONES.get(zoneId); in getProvider()
307 public static void registerProvider(ZoneRulesProvider provider) { in registerProvider()
319 private static synchronized void registerProvider0(ZoneRulesProvider provider) { in registerProvider0()
322 ZoneRulesProvider old = ZONES.putIfAbsent(zoneId, provider); in registerProvider0()
358 for (ZoneRulesProvider provider : PROVIDERS) { in refresh()
[all …]
DIcuZoneRulesProvider.java43 public class IcuZoneRulesProvider extends ZoneRulesProvider {
/libcore/ojluni/src/main/java/java/time/
DZoneRegion.java67 import java.time.zone.ZoneRulesProvider;
121 rules = ZoneRulesProvider.getRules(zoneId, true); in ofId()
178 return (rules != null ? rules : ZoneRulesProvider.getRules(id, false)); in getRules()
DZoneId.java78 import java.time.zone.ZoneRulesProvider;
284 return new HashSet<String>(ZoneRulesProvider.getAvailableZoneIds()); in getAvailableZoneIds()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestZoneTextPrinterParser.java39 import java.time.zone.ZoneRulesProvider;
76 Set<String> zids = ZoneRulesProvider.getAvailableZoneIds(); in test_printText()
170 Set<String> zids = ZoneRulesProvider.getAvailableZoneIds(); in test_ParseText()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java111 import java.time.zone.ZoneRulesProvider;
4279 Set<String> regionIds = new HashSet<>(ZoneRulesProvider.getAvailableZoneIds()); in getTree()
4410 Set<String> regionIds = ZoneRulesProvider.getAvailableZoneIds(); in getTree()
/libcore/
Dopenjdk_java_files.bp1524 "ojluni/src/main/java/java/time/zone/ZoneRulesProvider.java",
DEXPECTED_UPSTREAM891 …ain/java/java/time/zone/ZoneRulesProvider.java,jdk17u/jdk-17.0.6-ga,src/java.base/share/classes/ja…