code: private String formatTimeUnit(TimeUnit timeUnit)
     {
        int units = timeUnit.getValue();
        String result;
        String[][] unitNames = LocaleData.getStringArrays(m_locale, LocaleData.TIME_UNITS_ARRAY);
  
        if (units < 0 || units >= unitNames.length)
        {
           result = "";
        }
        else
        {
           result = unitNames[units][0];
        }
  
        return (result);
     }
docs: This method formats a time unit.
  
  @param timeUnit time unit instance
  @return formatted time unit instance