Lines Matching defs:id
403 String id = getID();
404 String[] names = getDisplayNames(id, locale);
406 if (id.startsWith("GMT")) {
407 char sign = id.charAt(3);
409 return id;
429 // Map(key=id, value=SoftReference(Map(key=locale, value=displaynames)))
434 private static final String[] getDisplayNames(String id, Locale locale) {
437 SoftReference<Map<Locale, String[]>> ref = displayNames.get(id);
445 names = TimeZoneNameUtility.retrieveDisplayNames(id, locale);
453 String[] names = TimeZoneNameUtility.retrieveDisplayNames(id, locale);
458 displayNames.put(id, ref);
672 final String id = zoneID;
675 System.setProperty("user.timezone", id);
831 * @param id a string of the <a href="#CustomID">custom ID form</a>.
833 * no daylight saving time, or null if the id cannot be parsed.
835 private static final TimeZone parseCustomTimeZone(String id) {
838 // Error if the length of id isn't long enough or id doesn't
840 if ((length = id.length()) < (GMT_ID_LENGTH + 2) ||
841 id.indexOf(GMT_ID) != 0) {
848 // id. Even the id is not normalized, the returned ZoneInfo
849 // should have its normalized id.
850 zi = ZoneInfoFile.getZoneInfo(id);
857 char c = id.charAt(index++);
869 c = id.charAt(index++);
918 zi = ZoneInfoFile.getCustomTimeZone(id, negative ? -gmtOffset : gmtOffset);