lib to return years/months/weeks/days covered by a date range