There are three core ideas behind the Date/Time API of Java 8:
- Immutable-value classes: The new API avoids thread-safety and concurrency issues by ensuring that all the core classes are immutable and represent well-defined values.
- Domain-driven design: The new API is modeled on precise domain with classes that represent different use cases for Date and Time.
- The emphasis on domain-driven design offers benefits like clarity and understandability.
- Separation of chronologies: The new API allows people to work with different calendar systems. It supports the needs of users in different areas of the world likes Japan or Thailand that don’t follow ISO-8601.