getAvailableTimeUnits function

Return the list of available time units.