Home
last modified time | relevance | path

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

/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/
DGmtTimeZone.java42 private final String zoneId; field in GmtTimeZone
54 zoneId = twoDigits(twoDigits(new StringBuilder(9) in GmtTimeZone()
71 return offset == other.offset && Objects.equals(zoneId, other.zoneId); in equals()
76 return zoneId; in getID()
91 return Objects.hash(offset, zoneId); in hashCode()
106 return "[GmtTimeZone id=\"" + zoneId + "\",offset=" + offset + ']'; in toString()
/external/opencensus-java/contrib/monitored_resource_util/src/main/java/io/opencensus/contrib/monitoredresource/util/
DGcpMetadataConfig.java47 String zoneId = getAttribute("instance/zone"); in getZone() local
48 if (zoneId == null) { in getZone()
51 if (zoneId.contains("/")) { in getZone()
52 return zoneId.substring(zoneId.lastIndexOf('/') + 1); in getZone()
54 return zoneId; in getZone()
/external/icu/android_icu4j/testing/src/com/android/icu/test/util/
DExtendedTimeZoneParameterizedTest.java75 private final String zoneId; field in ExtendedTimeZoneParameterizedTest
77 public ExtendedTimeZoneParameterizedTest(final String zoneId) { in ExtendedTimeZoneParameterizedTest() argument
78 this.zoneId = zoneId; in ExtendedTimeZoneParameterizedTest()
105 BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(zoneId); in testTransitionsNearInstants()
113 assertEquals("total offset for " + zoneId + " at " + instant, in testTransitionsNearInstants()
115 assertEquals("dst offset for " + zoneId + " at " + instant, in testTransitionsNearInstants()
151 BasicTimeZone timeZone = (BasicTimeZone) TimeZone.getTimeZone(zoneId); in testAllTransitions()
245 String msg = "" + zoneId + " at UTC time: " + utcTimeInMillis + " (" + in assertSameOffset()
292 return ExtendedTimeZone.getInstance(zoneId).createZoneRules(); in getZoneRules()
296 return ExtendedTimeZone.getInstance(zoneId).getTimeZone(); in getTimeZone()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DTimezoneFormatter.java671 String zoneId = matchesPart(path, prefix, "\"]/exemplarCity"); in buildParsingInfo() local
672 if (zoneId != null) { in buildParsingInfo()
674 if (name != null) exemplar_zone.put(name, zoneId); in buildParsingInfo()
677 zoneId = matchesPart(path, prefix, zoneTypes[i]); in buildParsingInfo()
678 if (zoneId != null) { in buildParsingInfo()
682 localizedExplicit_zone.put(name, zoneId); in buildParsingInfo()
689 TimeZone tz = TimeZone.getTimeZone(zoneId); in buildParsingInfo()
696 localizedNonWall.put(name, zoneId); in buildParsingInfo()
789 …public String getFormattedZone(String zoneId, String pattern, boolean daylight, int offset, boolea…
791 …return getFormattedZone(zoneId, format.location, format.type, format.length, daylight, offset, nul…
[all …]
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DCountryZonesFinder.java68 public List<CountryTimeZones> lookupCountryTimeZonesForZoneId(String zoneId) { in lookupCountryTimeZonesForZoneId() argument
82 if (timeZoneMapping.getTimeZoneId().equals(zoneId) in lookupCountryTimeZonesForZoneId()
83 || timeZoneMapping.getAlternativeIds().contains(zoneId)) { in lookupCountryTimeZonesForZoneId()
DZoneInfoDb.java281 String zoneId = new String(idBytes, 0, len, StandardCharsets.US_ASCII); in readIndex() local
284 ids[i] = zoneId.intern(); in readIndex()
/external/apache-commons-io/src/main/java/org/apache/commons/io/
DFileUtils.java1617 …FileNewer(final File file, final ChronoLocalDateTime<?> chronoLocalDateTime, final ZoneId zoneId) { in isFileNewer() argument
1619 Objects.requireNonNull(zoneId, "zoneId"); in isFileNewer()
1620 return isFileNewer(file, chronoLocalDateTime.atZone(zoneId)); in isFileNewer()
1823 …FileOlder(final File file, final ChronoLocalDateTime<?> chronoLocalDateTime, final ZoneId zoneId) { in isFileOlder() argument
1825 Objects.requireNonNull(zoneId, "zoneId"); in isFileOlder()
1826 return isFileOlder(file, chronoLocalDateTime.atZone(zoneId)); in isFileOlder()