Home
last modified time | relevance | path

Searched refs:ZoneRules (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/zone/
DTCKZoneRulesProvider.java68 import java.time.zone.ZoneRules;
105 ZoneRules rules = ZoneRulesProvider.getRules("Europe/London", false); in test_getRules_StringBoolean()
107 ZoneRules rules2 = ZoneRulesProvider.getRules("Europe/London", false); in test_getRules_StringBoolean()
127 ZoneRules rules1 = ZoneId.of("DynamicLocation").getRules(); in test_getRules_StringBoolean_dynamic()
130 ZoneRules rules2 = ZoneId.of("DynamicLocation").getRules(); 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()
145 NavigableMap<String, ZoneRules> copy = new TreeMap<>(versions); in test_getVersions_String()
148 NavigableMap<String, ZoneRules> versions2 = ZoneRulesProvider.getVersions("Europe/London"); in test_getVersions_String()
185 final ZoneRules rules = ZoneOffset.of("+01:45").getRules();
[all …]
DTCKZoneRules.java86 import java.time.zone.ZoneRules;
111 private ZoneRules europeLondon() { in europeLondon()
116 ZoneRules test = europeLondon(); in test_London()
121 ZoneRules test = europeLondon(); in test_London_preTimeZones()
133 ZoneRules test = europeLondon(); in test_London_getOffset()
149 ZoneRules test = europeLondon(); in test_London_getOffset_toDST()
164 ZoneRules test = europeLondon(); in test_London_getOffset_fromDST()
179 ZoneRules test = europeLondon(); in test_London_getOffsetInfo()
195 ZoneRules test = europeLondon(); in test_London_getOffsetInfo_toDST()
210 ZoneRules test = europeLondon(); in test_London_getOffsetInfo_fromDST()
[all …]
/libcore/ojluni/src/main/java/java/time/zone/
DIcuZoneRulesProvider.java43 private final BasicLruCache<String, ZoneRules> cache = new ZoneRulesCache(8);
57 protected ZoneRules provideRules(String zoneId, boolean forCaching) { in provideRules()
63 protected NavigableMap<String, ZoneRules> provideVersions(String zoneId) { in provideVersions()
69 static ZoneRules generateZoneRules(String zoneId) { in generateZoneRules()
73 private static class ZoneRulesCache extends BasicLruCache<String, ZoneRules> {
80 protected ZoneRules create(String zoneId) { in create()
DZoneRulesProvider.java181 public static ZoneRules getRules(String zoneId, boolean forCaching) { in getRules()
210 public static NavigableMap<String, ZoneRules> getVersions(String zoneId) { in getVersions()
351 protected abstract ZoneRules provideRules(String zoneId, boolean forCaching); in provideRules()
376 protected abstract NavigableMap<String, ZoneRules> provideVersions(String zoneId); in provideVersions()
DZoneRules.java110 public final class ZoneRules implements Serializable { class
176 public static ZoneRules of(ZoneOffset baseStandardOffset, in of()
186 return new ZoneRules(baseStandardOffset, baseWallOffset, in of()
197 public static ZoneRules of(ZoneOffset offset) { in of()
199 return new ZoneRules(offset); in of()
211 ZoneRules(ZoneOffset baseStandardOffset, in ZoneRules() method in ZoneRules
268 private ZoneRules(long[] standardTransitions, in ZoneRules() method in ZoneRules
309 private ZoneRules(ZoneOffset offset) { in ZoneRules() method in ZoneRules
429 static ZoneRules readExternal(DataInput in) throws IOException, ClassNotFoundException { in readExternal()
456 return new ZoneRules(stdTrans, stdOffsets, savTrans, savOffsets, rules); in readExternal()
[all …]
/libcore/ojluni/src/test/java/time/tck/java/time/zone/serial/
DTCKFixedZoneRulesSerialization.java70 import java.time.zone.ZoneRules;
84 private ZoneRules make(ZoneOffset offset) { in make()
101 public void test_serialization(ZoneRules test, ZoneOffset expectedOffset) throws Exception { in test_serialization()
110 ZoneRules result = (ZoneRules) in.readObject(); in test_serialization()
/libcore/ojluni/src/main/java/java/time/
DZoneRegion.java65 import java.time.zone.ZoneRules;
103 private final transient ZoneRules rules;
117 ZoneRules rules = null; in ofId()
162 ZoneRegion(String id, ZoneRules rules) { in ZoneRegion()
174 public ZoneRules getRules() { in getRules()
DZoneId.java76 import java.time.zone.ZoneRules;
556 public abstract ZoneRules getRules();
573 ZoneRules rules = getRules();
DZoneOffset.java84 import java.time.zone.ZoneRules;
498 public ZoneRules getRules() {
499 return ZoneRules.of(this);
DOffsetDateTime.java92 import java.time.zone.ZoneRules;
320 ZoneRules rules = zone.getRules(); in ofInstant()
DLocalDateTime.java96 import java.time.zone.ZoneRules;
390 ZoneRules rules = zone.getRules(); in ofInstant()
DLocalDate.java101 import java.time.zone.ZoneRules;
1811 ZoneRules rules = zone.getRules(); in atStartOfDay()
/libcore/luni/src/test/java/libcore/java/time/zone/
DZoneRulesTest.java24 import java.time.zone.ZoneRules;
40 ZoneRules zoneRules = ZoneRules.of(offset); in test_of_ZoneOffset()
68 ZoneRules.of(null); in test_of_ZoneOffset_null()
/libcore/ojluni/src/test/java/time/test/java/time/zone/
DTestFixedZoneRules.java62 import java.time.zone.ZoneRules;
81 private ZoneRules make(ZoneOffset offset) { in make()
88 ZoneRules test = make(OFFSET_PONE); in test_data_nullInput()
/libcore/ojluni/src/main/java/java/time/chrono/
DChronoZonedDateTimeImpl.java82 import java.time.zone.ZoneRules;
141 ZoneRules rules = zone.getRules(); in ofBest()
171 ZoneRules rules = zone.getRules(); in ofInstant()
DChronoLocalDateTime.java86 import java.time.zone.ZoneRules;
/libcore/ojluni/src/test/java/time/test/java/time/
DTestZoneId.java77 import java.time.zone.ZoneRules;
666 …private ZoneOffsetTransition checkOffset(ZoneRules rules, LocalDateTime dateTime, ZoneOffset offse… in checkOffset()
/libcore/
Dopenjdk_java_files.bp841 "ojluni/src/main/java/java/time/zone/ZoneRules.java",