Use Java 8 Date/Time API.
Description
- Enable Java 8 API desugaring in Moviepedia.
- Use the Java 8
LocalDate
class instead ofjava.util.Date
in Moviepedia.
Motivation and Context
The Java 8 Date/Time API provides several advantages over the legacy API, such as thread safety and support for time zones.
How Has This Been Tested?
Screenshots / GIFs (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Enhancement (non-breaking change which cleans up / improves existing functionality) -
Breaking change (fix or feature that would cause existing functionality to change)
Checklist
-
I have read the CONTRIBUTING section of the README document.