public int getSeconds() {
    return (int) (totalSeconds % TimeUnit.MINUTES.toSeconds(1));
  }
Day-time interval type representing an offset in days/hours/minutes/seconds,
with nanosecond precision.
1 day = 24 hours = 1440 minutes = 86400 seconds
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveIntervalDayTime.java