Lines Matching defs:id
550 * @param id the ID for a <code>TimeZone</code>, either an abbreviation
558 // Android-changed: param s/ID/id; use ZoneInfoDB instead of ZoneInfo class.
559 public static synchronized TimeZone getTimeZone(String id) {
560 if (id == null) {
561 throw new NullPointerException("id == null");
565 if (id.length() == 3) {
566 if (id.equals("GMT")) {
569 if (id.equals("UTC")) {
577 zone = ZoneInfoDB.getInstance().makeTimeZone(id);
582 if (zone == null && id.length() > 3 && id.startsWith("GMT")) {
583 zone = getCustomTimeZone(id);
625 private static TimeZone getCustomTimeZone(String id) {
626 Matcher m = NoImagePreloadHolder.CUSTOM_ZONE_ID_PATTERN.matcher(id);
646 char sign = id.charAt(3);