java.time.LocalDate.atStartOfDay(ZoneId zone)


java.time.LocalDate.atStartOfDay(ZoneId zone)

package com.codingdict;

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

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

      LocalDate date = LocalDate.parse("2017-02-03");
      System.out.println(date);  
      ZonedDateTime date1 = date.atStartOfDay(ZoneId.systemDefault());
      System.out.println(date1);  
   }
}