Java tutorial
import java.time.LocalDateTime; import java.time.Month; import java.time.ZoneId; import java.time.ZonedDateTime; public class Main { public static void main(String[] args) { ZoneId usCentral = ZoneId.of("America/Chicago"); LocalDateTime localDateTime = LocalDateTime.of(2014, Month.MAY, 21, 9, 30); System.out.println(localDateTime); ZonedDateTime zonedDateTime = ZonedDateTime.of(localDateTime, usCentral); System.out.println(zonedDateTime); } }