Use Java 8 Date/Time API.
- Enable Java 8 API desugaring in Moviepedia.
- Use the Java 8
LocalDateclass instead of
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)
- I have read the CONTRIBUTING section of the README document.