LocalDate info = LocalDate.now(); LocalDate birthday = LocalDate.of(1979,10,03); int age = Period.between(birthday,info).getYears(); System.out.println("age = " + age);
LocalDate info = LocalDate.now(); LocalDate birthday = LocalDate.of(1979,10,03); int age = Period.between(birthday,info).getYears(); System.out.println("age = " + age);