calendar_count_between()
counts the number of precision
units between
start
and end
(i.e., the number of years or months). This count
corresponds to the whole number of units, and will never return a
fractional value.
This is suitable for, say, computing the whole number of years or months
between two calendar dates, accounting for the day and time of day.
Each calendar has its own help page describing the precisions that you can
count at:
year-month-day
year-month-weekday
year-week-day
iso-year-week-day
year-quarter-day
year-day