Home
last modified time | relevance | path

Searched full:timezones (Results 1 – 25 of 274) sorted by relevance

1234567891011

/external/icu/android_icu4j/testing/src/com/android/i18n/test/timezone/
DTimeZoneFinderTest.java78 String validXml1 = "<timezones ianaversion=\"2017c\">\n" in createInstanceWithFallback()
84 + "</timezones>\n"; in createInstanceWithFallback()
89 String validXml2 = "<timezones ianaversion=\"2017b\">\n" in createInstanceWithFallback()
95 + "</timezones>\n"; in createInstanceWithFallback()
149 checkValidateThrowsParserException("<timezones ianaversion=\"2017b\"></timezones>\n"); in xmlParsing_missingCountryZones()
154 validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_noCountriesOk()
157 + "</timezones>\n"); in xmlParsing_noCountriesOk()
166 TimeZoneFinder finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedComments()
173 + "</timezones>\n"); in xmlParsing_unexpectedComments()
178 finder = validate("<timezones ianaversion=\"2017b\">\n" in xmlParsing_unexpectedComments()
[all …]
/external/timezone-boundary-builder/
DREADME.md3 The goal of this project is to produce a shapefile with the boundaries of the world's timezones usi…
14 …id timezones that are defined in the timezone database. This project also will attempt to provide…
16 …ses arbitrary boundaries get created in various zones which are noted in the `timezones.json` file.
18 …after the timezone database creates a new release. If there are no new timezones created or delet…
44 …he latest from master, it is possible to run the script to generate the timezones. However, due t…
46 **Run the script to generate timezones for all timezones.**
52 **Run the script to generate timezones for only specified timezones.**
58 **Run the script to generate timezones while excluding specified timezones.**
87timezones.json` file lists all of the timezones and various operations to perform to build the bou…
95 …necessary input data including the downloaded files from overpass, the `timezones.json` file and t…
[all …]
DCHANGELOG.md23 * Allow timezones `Asia/Tbilisi` and `Europe/Moscow` to overlap
29 …* Split Northwest Territories timezones (`America/Inuvik` and `America/Yellowknife`) in two using …
30 … all areas in southwest Saskatchewan between the `America/Regina` and `America/Edmonton` timezones.
31 * Split Yukon timezones (`America/Dawson` and `America/Whitehorse`) in two using 138th meridian
85 * Add timezones in Antarctica ([#42](https://github.com/evansiroky/timezone-boundary-builder/issues…
116 * Add timezones in the oceans ([#34](https://github.com/evansiroky/timezone-boundary-builder/issues…
136 * Refactor of timezones in China ([#13](https://github.com/evansiroky/timezone-boundary-builder/iss…
150 * Refactor arbitrary sea boundaries of timezones in the Gulf of St Lawrence to account for updated …
157 …* A overpass source listed in timezones.json must have a corresponding definition in osmBoundarySo…
158 … source defined in osmBoundarySources.json must be used in at least one operation in timezones.json
[all …]
/external/libphonenumber/geocoder/src/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java37 "/com/google/i18n/phonenumbers/timezones/data/";
162 List<String> timezones = prefixTimeZonesMap.lookupTimeZonesForNumber(number); in getTimeZonesForGeocodableNumber() local
163 return Collections.unmodifiableList(timezones.isEmpty() ? UNKNOWN_TIME_ZONE_LIST in getTimeZonesForGeocodableNumber()
164 : timezones); in getTimeZonesForGeocodableNumber()
175 List<String> timezones = prefixTimeZonesMap.lookupCountryLevelTimeZonesForNumber(number); in getCountryLevelTimeZonesforNumber() local
176 return Collections.unmodifiableList(timezones.isEmpty() ? UNKNOWN_TIME_ZONE_LIST in getCountryLevelTimeZonesforNumber()
177 : timezones); in getCountryLevelTimeZonesforNumber()
/external/libphonenumber/repackaged/geocoder/src/com/android/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapper.java39 "/com/android/i18n/phonenumbers/timezones/data/";
164 List<String> timezones = prefixTimeZonesMap.lookupTimeZonesForNumber(number); in getTimeZonesForGeocodableNumber() local
165 return Collections.unmodifiableList(timezones.isEmpty() ? UNKNOWN_TIME_ZONE_LIST in getTimeZonesForGeocodableNumber()
166 : timezones); in getTimeZonesForGeocodableNumber()
177 List<String> timezones = prefixTimeZonesMap.lookupCountryLevelTimeZonesForNumber(number); in getCountryLevelTimeZonesforNumber() local
178 return Collections.unmodifiableList(timezones.isEmpty() ? UNKNOWN_TIME_ZONE_LIST in getCountryLevelTimeZonesforNumber()
179 : timezones); in getCountryLevelTimeZonesforNumber()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDateTest.java86 // Timezones
93 static String[] TIMEZONES = { TZ_LONDON, TZ_PACIFIC, TZ_JAPAN }; field in DateTest
236 // Loop through the timezones testing the String conversion for each in testToString()
237 for (int i = 0; i < TIMEZONES.length; i++) { in testToString()
238 testToString(TIMEZONES[i], TIME_ARRAY, SQL_TZ_DATEARRAYS[i]); in testToString()
264 // Loop over the array of test timezones in testSetTimelong()
265 for (int i = 0; i < TIMEZONES.length; i++) { in testSetTimelong()
266 testSetTimelong(TIMEZONES[i], SQL_TZ_DATEARRAYS[i]); in testSetTimelong()
DTimeTest.java62 // Timezones
69 static String[] TIMEZONES = { TZ_LONDON, TZ_PACIFIC, TZ_JAPAN }; field in TimeTest
90 // Loop through the timezones testing the String conversion for each in testToString()
92 testToString(TIMEZONES[i], TIME_ARRAY, STRING_ARRAYS[i]); in testToString()
/external/zxing/zxing.appspot.com/src/main/java/com/google/zxing/web/generator/client/
DCalendarEventGenerator.java58 private final ListBox timeZones = new ListBox(); field in CalendarEventGenerator
76 timeZones.setSelectedIndex(25); in CalendarEventGenerator()
77 timeZones.addKeyPressHandler(keyListener); in CalendarEventGenerator()
120 for (TimeZoneInfo info : TimeZoneList.TIMEZONES) { in buildTimeZoneList()
121 timeZones.addItem(info.getGmtRelative() + ' ' + info.getAbbreviation(), in buildTimeZoneList()
159 table.setWidget(6, 1, timeZones); in getWidget()
265 String timezoneDelta = timeZones.getValue(timeZones.getSelectedIndex()); in getDateTimeValues()
DTimeZoneList.java20 * A class containing a list of timezones, with their full names, and time
33 static final TimeZoneInfo[] TIMEZONES = { field in TimeZoneList
/external/libphonenumber/
Dbuild.xml143 <target name="build-timezones-data">
148 <arg value="${resources.dir}/timezones/map_data.txt"/>
149 <arg value="geocoder/src/com/google/i18n/phonenumbers/timezones/data"/>
153 <target name="build-timezones-test-data">
158 <arg value="${resources.dir}/test/timezones/map_data.txt"/>
159 <arg value="geocoder/test/com/google/i18n/phonenumbers/timezones/testing_data"/>
198 …ld-short-metadata,build-alternate-metadata,build-carrier-data,build-geo-data,build-timezones-data">
243 <include name="**/timezones/data/*"/>
249 …compile,build-test-metadata,build-carrier-test-data,build-geo-test-data,build-timezones-test-data">
269 <include name="**/timezones/testing_data/*"/>
/external/libphonenumber/geocoder/
Dpom.xml25 <directory>src/com/google/i18n/phonenumbers/timezones/data</directory>
26 <targetPath>com/google/i18n/phonenumbers/timezones/data</targetPath>
35 <directory>test/com/google/i18n/phonenumbers/timezones/testing_data</directory>
36 <targetPath>com/google/i18n/phonenumbers/timezones/testing_data</targetPath>
/external/cldr/tools/cldr-code/src/test/java/org/unicode/cldr/util/
DTestStandardCodes.java41 Set<String> timezones = sdi.getCLDRTimezoneCodes(); in testTimezoneExclusions() local
42 assertTrue(timezones.contains("Europe/Andorra")); in testTimezoneExclusions()
43 assertFalse(timezones.contains("America/Nipigon")); in testTimezoneExclusions()
/external/cronet/base/i18n/
Dtimezone_unittest.cc16 std::unique_ptr<icu::StringEnumeration> timezones( in TEST() local
20 while (const icu::UnicodeString* timezone = timezones->snext(status)) { in TEST()
28 // returns '001' (world) for region-agnostic timezones such as Etc/UTC and in TEST()
/external/libphonenumber/geocoder/test/com/google/i18n/phonenumbers/
DPhoneNumberToTimeZonesMapperTest.java34 "/com/google/i18n/phonenumbers/timezones/testing_data/";
66 static List<String> buildListOfTimeZones(String ... timezones) { in buildListOfTimeZones() argument
67 ArrayList<String> timezonesList = new ArrayList<String>(timezones.length); in buildListOfTimeZones()
68 for (String timezone : timezones) { in buildListOfTimeZones()
/external/icu/android_icu4j/libcore_bridge/src/java/com/android/i18n/timezone/
DTimeZoneFinder.java56 // Root element. e.g. <timezones ianaversion="2017b">
57 private static final String TIMEZONES_ELEMENT = "timezones";
134 return createInstanceForTests("<timezones><countryzones /></timezones>"); in createInstanceWithFallback()
253 * <timezones ianaversion="2017b"> in processXml()
266 * </timezones> in processXml()
293 // Skip anything until </timezones>, and make sure the file is not truncated and we can in processXml()
297 // Make sure we are on the </timezones> tag. in processXml()
399 * Processes &lt;timezones&gt; data.
/external/libchrome/base/i18n/
Dtimezone_unittest.cc17 // Even with that, ICU returns '001' (world) for region-agnostic timezones in TEST()
20 // TODO(jshin): Revise this to test for actual timezones using in TEST()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/test/
DXPathToMenu.java20 private static final String TIMEZONES = "timezones"; field in XPathToMenu
39 TIMEZONES,
69 theMenu = TIMEZONES; in xpathToMenu()
/external/robolectric/robolectric/src/test/java/org/robolectric/shadows/
DShadowTimeZoneFinderTest.java38 List<TimeZone> timezones = in lookupTimeZonesByCountryAndAssert() local
45 assertThat(timezones.stream().map(TimeZone::getID).collect(Collectors.toList())) in lookupTimeZonesByCountryAndAssert()
/external/apache-commons-lang/src/main/java/org/apache/commons/lang3/time/
DTimeZones.java29 public class TimeZones { class
32 private TimeZones() { in TimeZones() method in TimeZones
/external/libphonenumber/internal/prefixmapper/test/com/google/i18n/phonenumbers/prefixmapper/
DPrefixTimeZonesMapTest.java74 static List<String> buildListOfTimeZones(String ... timezones) { in buildListOfTimeZones() argument
75 ArrayList<String> timezonesList = new ArrayList<String>(timezones.length); in buildListOfTimeZones()
76 for (String timezone : timezones) { in buildListOfTimeZones()
/external/libphonenumber/repackaged/internal/prefixmapper/test/com/android/i18n/phonenumbers/prefixmapper/
DPrefixTimeZonesMapTest.java76 static List<String> buildListOfTimeZones(String ... timezones) { in buildListOfTimeZones() argument
77 ArrayList<String> timezonesList = new ArrayList<String>(timezones.length); in buildListOfTimeZones()
78 for (String timezone : timezones) { in buildListOfTimeZones()
/external/icu/icu4j/main/core/src/test/java/com/ibm/icu/dev/test/
DCoreTestFmwk.java46 // Save starting timezones in localTestInitialize()
59 // Assert that timezones are in a good state in localTestTeardown()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/
DCoreTestFmwk.java49 // Save starting timezones in localTestInitialize()
62 // Assert that timezones are in a good state in localTestTeardown()
/external/cldr/tools/cldr-code/src/main/java/org/unicode/cldr/util/
DPathHeader.java109 Timezones, enumConstant
206 Timezone_Display_Patterns(SectionId.Timezones, "Timezone Display Patterns"),
207 NAmerica(SectionId.Timezones, "North America"),
208 SAmerica(SectionId.Timezones, "South America"),
209 Africa(SectionId.Timezones),
210 Europe(SectionId.Timezones),
211 Russia(SectionId.Timezones),
212 WAsia(SectionId.Timezones, "Western Asia"),
213 CAsia(SectionId.Timezones, "Central Asia"),
214 EAsia(SectionId.Timezones, "Eastern Asia"),
[all …]
/external/apache-commons-lang/src/test/java/org/apache/commons/lang3/time/
DFastDateParserTest.java58 … India(INDIA, "+05", "+0530", "+05:30", true), Greenwich(TimeZones.GMT, "Z", "Z", "Z", false),
323 final Calendar cal = Calendar.getInstance(TimeZones.GMT); in testJpLocales()
379 final Calendar expected = Calendar.getInstance(TimeZones.GMT, Locale.FRANCE); in testLang1380()
383 final DateParser fdp = getInstance(dpProvider, "dd MMM yyyy", TimeZones.GMT, Locale.FRANCE); in testLang1380()
403 final DateParser parser = getInstance("yyyy-MM-dd'T'HH:mm:ss.SSS'Z'", TimeZones.GMT); in testLang538()
517 … for (final TimeZone timeZone : new TimeZone[] {NEW_YORK, REYKJAVIK, TimeZones.GMT}) { in testParses()
694 for (final TimeZone timeZone : new TimeZone[] {NEW_YORK, REYKJAVIK, TimeZones.GMT}) { in testTzParses()

1234567891011