code: public SubscriptionQos setExpiryDateMs(final long expiryDateMs) {
          long now = System.currentTimeMillis();
          if (expiryDateMs <= now && expiryDateMs != NO_EXPIRY_DATE) {
              throw new IllegalArgumentException("Subscription ExpiryDate " + expiryDateMs + " in the past. Now: " + now);
          }
          this.expiryDateMs = expiryDateMs;
          return this;
      }
docs: Set the end date of the subscription, in milliseconds (since 1970-01-01T00:00:00.000 ).
  The publications will automatically expire at that date.
  <br>
  The provider will send notifications until the expiry date is reached.
  You will not receive any notifications (neither value notifications
  nor missed publication notifications) after this date.
  
  @param expiryDateMs
  is the end date of the subscription. <br>
  This value is provided in milliseconds (since 1970-01-01T00:00:00.000).
  {@value #NO_EXPIRY_DATE} means NO_EXPIRY_DATE.
  @return the subscriptionQos (fluent interface)