JDK 8 comes with two new classes, named java.time.Period and java.time.Duration. Let's take a detailed look at them in the next sections.
JDK 8 comes with two new classes, named java.time.Period and java.time.Duration. Let's take a detailed look at them in the next sections.