class TeradataTimestampPeriod extends DbStruct {

    @Override
    public boolean equals(Object other) {

        if (other == null)
            return false;

        if (!(other instanceof TeradataTimestampPeriod))
            return false;

        TeradataTimestampPeriod odp = (TeradataTimestampPeriod)other;

        Object[] thisAtts = null;
        Object[] otherAtts = null;

        try {
            otherAtts = odp.getAttributes();
            thisAtts = this.getAttributes();
        }
        catch (SQLException e) {
            System.out.println("TeradataTimestampPeriod: equals: caught exception");
        }

        if (!(thisAtts[0].equals(otherAtts[0])))
            return false;

        if (!(thisAtts[1].equals(otherAtts[1])))
            return false;

        return true;
    }

    public  TeradataTimestampPeriod(Object[] dates);

}