presto-parser/src/main/java/io/prestosql/sql/tree/IntervalDayTimeDataType.java/IntervalDayTimeDataType/equals
class IntervalDayTimeDataType:    @Override
    public boolean equals(Object o)
    {
        if (this == o) {
            return true;
        }
        if (o == null || getClass() != o.getClass()) {
            return false;
        }
        IntervalDayTimeDataType that = (IntervalDayTimeDataType) o;
        return from == that.from &&
                to == that.to;
    }