src/edu/kit/informatik/calendar/Date.java
/**
     * Compares the object to a given {@linkplain Date} instance and checks if the object is located after in time
     * @param other The {@linkplain Date} instance to compare
     * @return {@code True} if the object is located in time after the given value. {@code False} otherwise
     */
Compares the object to a given  Date instance and checks if the object is located after in time
@param other The  Date instance to compare
@return  True if the object is located in time after the given value.  False otherwise
Compares the object to a given Date instance and checks if the object is located after in time @param other The Date instance to compare @return True if the object is located in time after the given value . False otherwise
public boolean isAfter(Date other) {
        boolean isAfter = false;
        if (year >= other.getYear()) {
            if (year > other.getYear()) {
                isAfter = true;
            } else {
                if (month >= other.getMonthValue()) {
                    if (month > other.getMonthValue()) {
                        isAfter = true;
                    } else {
                        if (day > other.getDayOfMonth()) {
                            isAfter = true;
                        }
                    }
                }
            }
        }
        return isAfter;
    }
public boolean isAfter ( Date other ) { boolean isAfter = false ; if ( year >= other . getYear ( ) ) { if ( year > other . getYear ( ) ) { isAfter = true ; } else { if ( month >= other . getMonthValue ( ) ) { if ( month > other . getMonthValue ( ) ) { isAfter = true ; } else { if ( day > other . getDayOfMonth ( ) ) { isAfter = true ; } } } } } return isAfter ; }
Compares the object to a given {@linkplain Date} instance and checks if the object is located after in time
 @param other The {@linkplain Date} instance to compare
 @return {@code True} if the object is located in time after the given value.
Compares the object to a given { @linkplain Date } instance and checks if the object is located after in time @param other The { @linkplain Date } instance to compare @return { @code True } if the object is located in time after the given value .