Home
last modified time | relevance | path

Searched refs:timeZoneMapping (Results 1 – 4 of 4) sorted by relevance

/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DCountryZonesFinder.java81 for (TimeZoneMapping timeZoneMapping : countryTimeZoneMappings) { in lookupCountryTimeZonesForZoneId()
82 if (timeZoneMapping.getTimeZoneId().equals(zoneId) in lookupCountryTimeZonesForZoneId()
83 || timeZoneMapping.getAlternativeIds().contains(zoneId)) { in lookupCountryTimeZonesForZoneId()
132 for (TimeZoneMapping timeZoneMapping : countryTimeZoneMappings) { in findCanonicalTimeZoneId()
133 if (timeZoneMapping.getTimeZoneId().equals(timeZoneId) in findCanonicalTimeZoneId()
134 || timeZoneMapping.getAlternativeIds().contains(timeZoneId)) { in findCanonicalTimeZoneId()
135 return timeZoneMapping.getTimeZoneId(); in findCanonicalTimeZoneId()
DCountryTimeZones.java157 for (TimeZoneMapping timeZoneMapping : timeZoneMappings) { in containsTimeZoneId()
158 if (timeZoneMapping.timeZoneId.equals(timeZoneId)) { in containsTimeZoneId()
244 for (TimeZoneMapping timeZoneMapping : timeZoneMappings) { in createValidated()
245 String timeZoneId = timeZoneMapping.timeZoneId; in createValidated()
249 validCountryTimeZoneMappings.add(timeZoneMapping); in createValidated()
354 for (TimeZoneMapping timeZoneMapping : getEffectiveTimeZoneMappingsAt(whenMillis)) { in hasUtcZone()
355 TimeZone timeZone = timeZoneMapping.getTimeZone(); in hasUtcZone()
412 for (TimeZoneMapping timeZoneMapping : timeZoneMappings) { in getEffectiveTimeZoneMappingsAt()
413 if (timeZoneMapping.isEffectiveAt(whenMillis)) { in getEffectiveTimeZoneMappingsAt()
414 filteredList.add(timeZoneMapping); in getEffectiveTimeZoneMappingsAt()
[all …]
DTimeZoneFinder.java377 TimeZoneMapping timeZoneMapping = new TimeZoneMapping( in parseTimeZoneMappings() local
379 timeZoneMappings.add(timeZoneMapping); in parseTimeZoneMappings()
/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DCountryTimeZonesTest.java403 TimeZoneMapping alwaysUsed = timeZoneMapping("Europe/London", null /* notUsedAfter */); in getEffectiveTimeZonesAt_filtering()
406 TimeZoneMapping notAlwaysUsed = timeZoneMapping("Europe/Paris", in getEffectiveTimeZonesAt_filtering()
484 TimeZoneMapping timeZoneMapping = in timeZoneMapping_getTimeZone_badZoneId() local
487 timeZoneMapping.getTimeZone(); in timeZoneMapping_getTimeZone_badZoneId()
495 TimeZoneMapping timeZoneMapping = in timeZoneMapping_getTimeZone_validZoneId() local
497 TimeZone timeZone = timeZoneMapping.getTimeZone(); in timeZoneMapping_getTimeZone_validZoneId()
505 TimeZoneMapping timeZoneMapping = in timeZoneMapping_isShownInPickerAfter_notHidden() local
509 assertTrue(timeZoneMapping.isShownInPickerAt( in timeZoneMapping_isShownInPickerAfter_notHidden()
511 assertTrue(timeZoneMapping.isShownInPickerAt(Instant.ofEpochMilli(notUsedAfter))); in timeZoneMapping_isShownInPickerAfter_notHidden()
512 assertFalse(timeZoneMapping.isShownInPickerAt( in timeZoneMapping_isShownInPickerAfter_notHidden()
[all …]