public interface ExpirationDate
License.getExpirationDate()
Modifier and Type | Method and Description |
---|---|
Optional<Date> |
getDate()
Returns the date at which the license is expiring, if any.
|
Optional<Integer> |
getDaysBeforeExpiration()
Determines the number of days before the license is expiring.
|
boolean |
isPermanent()
Determines if the license is permanently valid.
|
boolean isPermanent()
true
if the license is permanently valid, false
otherwise.Optional<Date> getDate()
Optional.empty()
is none.isPermanent()