Period Class Example In Java 8

Period and Duration are two other important classes introduced in java 8 under java.time package.  As Period uses date based values (years, months, days) while...