Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/util/
DTimeZone.java605 String tzid = zoneId.getId(); // throws an NPE if null in getTimeZone() local
606 char c = tzid.charAt(0); in getTimeZone()
608 tzid = "GMT" + tzid; in getTimeZone()
609 } else if (c == 'Z' && tzid.length() == 1) { in getTimeZone()
610 tzid = "UTC"; in getTimeZone()
612 return getTimeZone(tzid); in getTimeZone()
/libcore/luni/src/main/java/libcore/icu/
DICU.java747 String tzid = ULocale.toLegacyType("tz", cldrShortTzId); in convertToTzId() local
750 if (tzid == null || tzid.equals(cldrShortTzId.toLowerCase(Locale.ROOT))) { in convertToTzId()
753 return tzid; in convertToTzId()