Searched defs:zid (Results 1 - 3 of 3) sorted by relevance
/libcore/ojluni/src/main/java/java/time/format/ |
H A D | ZoneName.java | 38 * The zid<->metazone mappings are based on CLDR metaZones.xml. 43 public static String toZid(String zid, Locale locale) { argument 46 if (tzNames.getAvailableMetaZoneIDs().contains(zid)) { 54 zid = tzNames.getReferenceZoneID(zid, region); 56 return toZid(zid); 59 public static String toZid(String zid) { argument 61 String canonicalCldrId = ZoneMeta.getCanonicalCLDRID(zid); 65 return zid;
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
H A D | ZoneName.java | 32 public static String toZid(String zid, Locale locale) { argument 33 String mzone = zidToMzone.get(zid); 34 if (mzone == null && aliases.containsKey(zid)) { 35 zid = aliases.get(zid); 36 mzone = zidToMzone.get(zid); 41 zid = map.get(locale.getCountry()); 43 zid = mzoneToZid.get(mzone); 46 return toZid(zid); 49 public static String toZid(String zid) { argument [all...] |
H A D | TestZoneTextPrinterParser.java | 88 for (String zid : zids) { 89 if (zid.equals("ROC") || zid.startsWith("Etc/GMT")) { 94 if (!zid.equals(ZoneMeta.getCanonicalCLDRID(zid))) { 97 zdt = zdt.withZoneSameLocal(ZoneId.of(zid)); 98 TimeZone tz = TimeZone.getTimeZone(zid); 215 String zid = names[0]; 216 String expected = ZoneName.toZid(zid, locale); 218 parse(fmt, zid, expecte 226 parse(DateTimeFormatter fmt, String zid, String expected, String text, Locale locale, TextStyle style, boolean ci) argument [all...] |
Completed in 35 milliseconds