public void set(HiveIntervalDayTime other) {
    set(other.getTotalSeconds(), other.getNanos());
  }
Ensures that the seconds and nanoseconds fields have consistent sign
storage-api/src/java/org/apache/hadoop/hive/common/type/HiveIntervalDayTime.java