JAVA date difference in years months and days

Here I explain how to get date difference in years, months, days and years, months, weeks, days.