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