Home
last modified time | relevance | path

Searched refs:zoneId (Results 1 – 5 of 5) 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.java543 String zoneId = zoneInfo.getZoneId(); in calculateCountryZoneUsage() local
549 if (!zoneUsage.hasEntry(zoneId)) { in calculateCountryZoneUsage()
550 zoneUsage.addEntry(zoneId, endInstant, replacementTimeZoneId); in calculateCountryZoneUsage()
642 private static BasicTimeZone getBasicTimeZone(String zoneId) { in getBasicTimeZone() argument
643 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()