presto-spi/src/main/java/io/prestosql/spi/type/DateType.java/DateType/equals
class DateType:    @Override
    @SuppressWarnings("EqualsWhichDoesntCheckParameterClass")
    public boolean equals(Object other)
    {
        return other == DATE;
    }