code: public int toIntSeconds() {
      int _minutes = getHours() * 60;
      _minutes += getMinutes();
      int _seconds = _minutes * 60;
      _seconds += getSeconds();
      return _seconds;
    }
docs: Hours are added to the minutes and minutes are added to the seconds value so seconds could be
  larger than 60. Units smaller than seconds are ignored completely.
  
  @return the total time in seconds.