code: private Date getTimeFromInteger(Integer time)
     {
        Date result = null;
  
        if (time != null)
        {
           int minutes = time.intValue();
           int hours = minutes / 60;
           minutes -= (hours * 60);
  
           Calendar cal = DateHelper.popCalendar();
           cal.set(Calendar.MILLISECOND, 0);
           cal.set(Calendar.SECOND, 0);
           cal.set(Calendar.MINUTE, minutes);
           cal.set(Calendar.HOUR_OF_DAY, hours);
           result = cal.getTime();
           DateHelper.pushCalendar(cal);
        }
  
        return (result);
     }
docs: Converts a time represented as an integer to a Date instance.
  
  @param time integer time
  @return Date instance