@Override
    public void setExpiryDate (final Date expiryDate) {
        cookieExpiryDate = expiryDate;
    }
Sets expiration date.
<p><strong>Note:</strong> the object returned by this method is considered
immutable. Changing it (e.g. using setTime()) could result in undefined
behaviour. Do so at your peril.</p>

@param expiryDate the {@link Date} after which this cookie is no longer valid.

@see #getExpiryDate
ngrinder-runtime/src/main/java/org/apache/hc/client5/http/impl/cookie/BasicClientCookie.java