1LocalDate jamesBirthDay = new LocalDate(1955, 5, 19);
2LocalDate now = new LocalDate(2015, 7, 30);
3
4int monthsBetween = Months.monthsBetween(jamesBirthDay, now).getMonths();
5int yearsBetween = Years.yearsBetween(jamesBirthDay, now).getYears();
6
7System.out.println("Month since father of Java born : "
8 + monthsBetween);
9System.out.println("Number of years since father of Java born : "
10 + yearsBetween);