public interface IMutableExpirable extends IExpirable
| Modifier and Type | Method and Description |
|---|---|
default com.helger.commons.state.EChange |
resetExpiration()
Remove any available expiration data.
|
com.helger.commons.state.EChange |
setExpirationDateTime(LocalDateTime aExpirationDateTime)
Change the expiration date time of this object.
|
getExpirationDateTime, isExpirationDefined, isExpiredAt, isExpiredNow@Nonnull com.helger.commons.state.EChange setExpirationDateTime(@Nullable LocalDateTime aExpirationDateTime)
resetExpiration() instead.aExpirationDateTime - The new expiration date time. May be null.EChange.CHANGED if the expiration date time changed,
EChange.UNCHANGED otherwise.@Nonnull default com.helger.commons.state.EChange resetExpiration()
EChange.CHANGED if the expiration was reset,
EChange.UNCHANGED if no expiration was defined.Copyright © 2014–2022 Philip Helger. All rights reserved.