Class Expiration

    • Method Detail

      • getDateTime

        public Calendar getDateTime()
        Gets a Calendar object that has the date and time when the package will expire.
        Returns:
        a Calendar object that has the date and time of the expiration
        Since:
        100.5.0
      • getMessage

        public String getMessage()
        Gets an accompanying message which provides contextual information when the package has expired.

        The message could indicate the reasons for expiration or where an up-to-date version of the data can be obtained from. The author of the package may have configured the message to contain raw text, hyperlinks or HTML.

        Returns:
        the message that provides information when the package has expired
        Since:
        100.5.0
      • isExpired

        public boolean isExpired()
        Gets whether the current package has expired.
        Returns:
        a boolean value that represents whether the package has expired
        Since:
        100.5.0