Home
last modified time | relevance | path

Searched refs:zoneId (Results 1 – 6 of 6) sorted by relevance

/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/zonetree/
DCountryZoneUsage.java38 void addEntry(String zoneId, Instant notUsedAfterInstant, String notUsedReplacementId) { in addEntry() argument
39 if (zoneIdEntryMap.containsKey(zoneId)) { in addEntry()
41 "Entry exists for " + zoneId + " for isoCode=" + isoCode); in addEntry()
43 zoneIdEntryMap.put(zoneId, new Entry(zoneId, notUsedAfterInstant, notUsedReplacementId)); in addEntry()
46 public boolean hasEntry(String zoneId) { in hasEntry() argument
47 return zoneIdEntryMap.containsKey(zoneId); in hasEntry()
50 public Instant getNotUsedAfterInstant(String zoneId) { in getNotUsedAfterInstant() argument
51 Entry entry = zoneIdEntryMap.get(zoneId); in getNotUsedAfterInstant()
54 "No entry for " + zoneId + " for isoCode=" + isoCode); in getNotUsedAfterInstant()
59 public String getNotUsedReplacementId(String zoneId) { in getNotUsedReplacementId() argument
[all …]
DZoneInfo.java43 private final String zoneId; field in ZoneInfo
45 private ZoneInfo(String zoneId, int priority, List<ZoneOffsetPeriod> zoneOffsetPeriods) { in ZoneInfo() argument
51 this.zoneId = zoneId; in ZoneInfo()
94 return zoneId; in getZoneId()
105 ", zoneId=" + zoneId + in toString()
DCountryZoneTree.java538 String zoneId = node.primaryZoneInfo.getZoneId(); in calculateCountryZoneUsage() local
540 if (Objects.equals(zoneId, replacementId)) { in calculateCountryZoneUsage()
551 String zoneId = zoneInfo.getZoneId(); in calculateCountryZoneUsage() local
553 if (Objects.equals(zoneId, replacementTimeZoneId)) { in calculateCountryZoneUsage()
554 throw new IllegalStateException(zoneId + " cannot replace itself. Cycle!"); in calculateCountryZoneUsage()
562 if (!zoneUsage.hasEntry(zoneId)) { in calculateCountryZoneUsage()
563 zoneUsage.addEntry(zoneId, endInstant, replacementTimeZoneId); in calculateCountryZoneUsage()
655 private static BasicTimeZone getBasicTimeZone(String zoneId) { in getBasicTimeZone() argument
656 TimeZone timeZone = TimeZone.getTimeZone(zoneId); in getBasicTimeZone()
/system/timezone/input_tools/android/zone_compactor/main/java/
DZoneCompactor.java91 String zoneId = st.nextToken(); in ZoneCompactor() local
92 String link = links.get(zoneId); in ZoneCompactor()
94 File sourceFile = new File(dataDirectory, zoneId); in ZoneCompactor()
96 offsets.put(zoneId, offset); in ZoneCompactor()
97 lengths.put(zoneId, (int) length); in ZoneCompactor()
/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DBackwardFile.java80 Set<String> getAllAlternativeIds(String zoneId) { in getAllAlternativeIds() argument
83 knownAlternativeIds.add(zoneId); in getAllAlternativeIds()
86 searchIdQueue.add(zoneId); in getAllAlternativeIds()
105 knownAlternativeIds.remove(zoneId); in getAllAlternativeIds()
/system/timezone/input_tools/android/tzids/src/main/java/com/android/timezone/tzids/
DTimeZoneIds.java110 public String getCountryCodeForZoneId(String zoneId) { in getCountryCodeForZoneId() argument
113 if (countryMapping.getTimeZoneIdsList().contains(zoneId)) { in getCountryCodeForZoneId()
118 if (timeZoneLink.getAlternativeId().equals(zoneId)) { in getCountryCodeForZoneId()
125 if (timeZoneReplacement.getReplacedId().equals(zoneId)) { in getCountryCodeForZoneId()