I would like to format a period (age) in human readable form like:
47 years, one month and 7 days
. Here 1
replaced by one
and 0
skipped like
58 years and 7 days
.
Is there a ready-made formatter for such a task? Should I write my own and how to do this properly? Do I have to use Format abstract class?