@FunctionalInterface public interface IHasTrashDateTime
| Modifier and Type | Method and Description |
|---|---|
default LocalDate |
getTrashDate() |
LocalDateTime |
getTrashDateTime() |
default LocalTime |
getTrashTime() |
default boolean |
hasTrashDateTime() |
default boolean |
isTrashedAt(LocalDateTime aDT)
Check if the object was trashed at the specified local date time.
|
@Nullable LocalDateTime getTrashDateTime()
null if the object has not been
trashed yet.default boolean hasTrashDateTime()
default boolean isTrashedAt(@Nonnull LocalDateTime aDT)
true, if the trashed time is ≤ than the specified local
date time.aDT - The time to check for trashing. May not be null.true if this object was trashed, false if
not.Copyright © 2014–2022 Philip Helger. All rights reserved.