Beispiel #1
0
 /**
  * get hours from a time format
  *
  * @param t
  */
 public void getHours(TimeFormat t) {
   if (t.remainder >= ONE_HOUR && t.remainder < ONE_DAY) {
     t.hours = (t.remainder / ONE_HOUR);
     t.remainder -= (t.hours * ONE_HOUR);
   }
 }