src/main/java/seedu/address/model/person/Person.java
/**
     * Returns true if the date of this day is after otherDay
     */
Returns true if the date of this day is after otherDay
Returns true if the date of this day is after otherDay
public boolean isAfter(Person otherPerson) {
        int thisPerson = Integer.parseInt(this.profile.id.value);
        int otherPer = Integer.parseInt(otherPerson.profile.id.value);
        return thisPerson > otherPer;
    }
public boolean isAfter ( Person otherPerson ) { int thisPerson = Integer . parseInt ( this . profile . id . value ) ; int otherPer = Integer . parseInt ( otherPerson . profile . id . value ) ; return thisPerson > otherPer ; }
Returns true if the date of this day is after otherDay
Returns true if the date of this day is after otherDay