@Override
    public boolean equals(Object obj) {
        if (obj instanceof SqlDaySecondInterval) {
            SqlDaySecondInterval other = ((SqlDaySecondInterval) obj);

            return millis == other.millis;
        }

        return false;
    }
@Test
    public void testEquals() {
        SqlDaySecondInterval value = new SqlDaySecondInterval(1);

        checkEquals(value, new SqlDaySecondInterval(1), true);
        checkEquals(value, new SqlDaySecondInterval(2), false);
    }