presto-jdbc/src/main/java/io/prestosql/jdbc/PrestoIntervalYearMonth.java/PrestoIntervalYearMonth/compareTo
class PrestoIntervalYearMonth:    @Override
    public int compareTo(PrestoIntervalYearMonth o)
    {
        return Integer.compare(months, o.months);
    }