presto-spi/src/main/java/io/prestosql/spi/type/SqlDate.java/SqlDate/equals
class SqlDate:    @Override
    public boolean equals(Object obj)
    {
        if (this == obj) {
            return true;
        }
        if (obj == null || getClass() != obj.getClass()) {
            return false;
        }
        SqlDate other = (SqlDate) obj;
        return Objects.equals(days, other.days);
    }