Java ZoneId create from String as "America/Los_Angeles"
import java.time.Clock; import java.time.ZoneId; public class Main { public static void main(String[] args) { ZoneId zoneId = ZoneId.of("America/Los_Angeles"); System.out.println(zoneId);//from w w w . ja v a 2 s . com Clock clock = Clock.system(zoneId); System.out.println(clock); } }