Home
last modified time | relevance | path

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

/cts/tests/tests/util/src/android/util/cts/
DTimeUtilsTest.java167 List<String> usTimeZones = TimeUtils.getTimeZoneIdsForCountryCode("us"); in testGetTimeZoneIdsForCountryCode() local
170 assertCollectionContains(usTimeZones, "America/Los_Angeles"); in testGetTimeZoneIdsForCountryCode()
171 assertCollectionContains(usTimeZones, "America/New_York"); in testGetTimeZoneIdsForCountryCode()
174 assertEquals(usTimeZones, TimeUtils.getTimeZoneIdsForCountryCode("US")); in testGetTimeZoneIdsForCountryCode()
175 assertEquals(usTimeZones, TimeUtils.getTimeZoneIdsForCountryCode("uS")); in testGetTimeZoneIdsForCountryCode()
176 assertEquals(usTimeZones, TimeUtils.getTimeZoneIdsForCountryCode("Us")); in testGetTimeZoneIdsForCountryCode()
181 List<String> usTimeZones = TimeUtils.getTimeZoneIdsForCountryCode("us"); in getTimeZoneIdsForCountryCode_doesNotShowNoLongerActiveNames() local
183 assertThat(usTimeZones).contains("America/New_York"); in getTimeZoneIdsForCountryCode_doesNotShowNoLongerActiveNames()
185 assertThat(usTimeZones).doesNotContain("America/Detroit"); in getTimeZoneIdsForCountryCode_doesNotShowNoLongerActiveNames()