code: private TimeUnit getFormat(int format)
     {
        TimeUnit result;
        if (format == 0xFFFF)
        {
           result = TimeUnit.HOURS;
        }
        else
        {
           result = MPPUtility.getWorkTimeUnits(format);
        }
        return result;
     }
docs: Converts an integer into a time format.
  
  @param format integer format value
  @return TimeUnit instance