calculateAge

fun calculateAge(date: Date, context: Context, localDateNow: LocalDate = LocalDate.now()): String

This function calculates the age from date then translates the abbreviation for the the periods. If year is 0 display the age in years, if year is 0 then display age in month and weeks, if month is 0 display age in weeks and days otherwise if week is 0 display age in days.