Java ZoneId get ZoneId for "America/Chicago"

Description

Java ZoneId get ZoneId for "America/Chicago"

import java.time.ZoneId;

public class Main {
  public static void main(String[] args) {
    ZoneId usChicago = ZoneId.of("America/Chicago");
    System.out.println(usChicago);
  }//from   ww w  . j a  va2s  . co  m
}



PreviousNext

Related