@FunctionalInterface public interface IHasCreationDateTime
| Modifier and Type | Method and Description |
|---|---|
default LocalDate |
getCreationDate() |
LocalDateTime |
getCreationDateTime() |
default LocalTime |
getCreationTime() |
default boolean |
hasCreationDateTime() |
default boolean |
isCreatedAt(LocalDateTime aDT)
Check if the object was created at the specified local date time.
|
@Nullable LocalDateTime getCreationDateTime()
null creation date time of the objectdefault boolean hasCreationDateTime()
default boolean isCreatedAt(@Nonnull LocalDateTime aDT)
true, if the creation time is ≤ than the specified local
date time.aDT - The time to check for creation. May not be null.true if this object was created, false if
not.Copyright © 2014–2019 Philip Helger. All rights reserved.