java.time.ZonedDateTime.of(LocalDate date, LocalTime time, ZoneId zone)


java.time.ZonedDateTime.of(LocalDate date, LocalTime time, ZoneId zone)

package com.codingdict;

import java.time.LocalDate;
import java.time.ZonedDateTime;
import java.time.LocalTime;
import java.time.ZoneId;

public class ZonedDateTimeDemo {
   public static void main(String[] args) {

      LocalDate localDate = LocalDate.parse("2017-02-03");
      LocalTime localTime = LocalTime.parse("12:30:30");
      ZonedDateTime date = ZonedDateTime.of(localDate, localTime, ZoneId.systemDefault());
      System.out.println(date);  
   }
}