package com.logicbig.example.offsetdatetime;
import java.time.LocalDate;
import java.time.OffsetDateTime;
import java.time.ZoneOffset;
public class ToLocalDateExample {
public static void main(String... args) {
OffsetDateTime d = OffsetDateTime.of(2016, 10, 15, 18,
20, 30, 100, ZoneOffset.ofHours(-5));
LocalDate localDate = d.toLocalDate();
System.out.println(localDate);
}
}