src/main/java/seedu/address/model/parcel/DeliveryDate.java
public static boolean isValidDate(String test) {
        DeliveryDate result;
        try {
            result = new DeliveryDate(test);
        } catch (IllegalValueException e) {
            return false;
        }
        return !result.equals(null);
    }
/**
     * Returns true if a given string is a valid date for delivery.
     */
Returns true if a given string is a valid date for delivery.
Returns true if a given string is a valid date for delivery .
public static boolean isValidDate(String test) {
        DeliveryDate result;
        try {
            result = new DeliveryDate(test);
        } catch (IllegalValueException e) {
            return false;
        }
        return !result.equals(null);
    }
public static boolean isValidDate ( String test ) { DeliveryDate result ; try { result = new DeliveryDate ( test ) ; } catch ( IllegalValueException e ) { return false ; } return ! result . equals ( null ) ; }
Returns true if a given string is a valid date for delivery.
Returns true if a given string is a valid date for delivery .