LocalDate – Create Date Object

The LocalDate class in java represents the date object. It does not include time information in it. The sole purpose of this class is to represent only the date. In this short example, we will see how to create the data object.