edited the timestamp class equals method