src/test/java/seedu/address/testutil/ParcelBuilder.java
public ParcelBuilder withDeliveryDate(String deliveryDate) {
        try {
            this.parcel.setDeliveryDate(new DeliveryDate(deliveryDate));
        } catch (IllegalValueException ive) {
            throw new IllegalArgumentException("delivery date is expected to be unique.");
        }
        return this;
    }
/**
     * Sets the {@code DeliveryDate} of the {@code Parcel} that we are building.
     */
Sets the  DeliveryDate of the  Parcel that we are building.
Sets the DeliveryDate of the Parcel that we are building .
public ParcelBuilder withDeliveryDate(String deliveryDate) {
        try {
            this.parcel.setDeliveryDate(new DeliveryDate(deliveryDate));
        } catch (IllegalValueException ive) {
            throw new IllegalArgumentException("delivery date is expected to be unique.");
        }
        return this;
    }
public ParcelBuilder withDeliveryDate ( String deliveryDate ) { try { this . parcel . setDeliveryDate ( new DeliveryDate ( deliveryDate ) ) ; } catch ( IllegalValueException ive ) { throw new IllegalArgumentException ( "delivery date is expected to be unique." ) ; } return this ; }
Sets the {@code DeliveryDate} of the {@code Parcel} that we are building.
Sets the { @code DeliveryDate } of the { @code Parcel } that we are building .