Lines Matching refs:ZoneId
44 import java.time.ZoneId;
524 * @param zoneId a {@link ZoneId} from which the time zone ID is obtained
530 public static TimeZone getTimeZone(ZoneId zoneId) {
542 * Converts this {@code TimeZone} object to a {@code ZoneId}.
544 * @return a {@code ZoneId} representing the same time zone as this
548 public ZoneId toZoneId() {
549 ZoneId zId = zoneId;
556 private ZoneId toZoneId0() {
568 return ZoneId.of("America/New_York");
570 return ZoneId.of("America/Denver");
572 return ZoneId.of("America/Honolulu");
574 return ZoneId.of(id, ZoneId.SHORT_IDS);
727 // following is evaluated in ZoneId.systemDefault():
778 * Cached {@link ZoneId} for this TimeZone
780 private transient ZoneId zoneId;