Interface InterfaceCheckerDate<T extends InterfaceCheckerDate<T,U>,U>
- Type Parameters:
T- the type of the checker implementing this interface (for fluent API chaining)U- the type of the date/time value being checked
- All Known Implementing Classes:
CheckerDate,CheckerLocalDate,CheckerLocalDateTime,CheckerLocalTime
public interface InterfaceCheckerDate<T extends InterfaceCheckerDate<T,U>,U>
InterfaceCheckerDate defines a contract for date/time checker classes, providing common validation methods
such as comparisons (before, after, in range) and temporal checks (past, future).
-
Method Summary
Modifier and TypeMethodDescriptionChecks if the value is within the specified range (exclusive).Checks if the value is after the specified date/time.isAfterOrEqual(U date) Checks if the value is after or equal to the specified date/time.Checks if the value is before the specified date/time.isBeforeOrEqual(U date) Checks if the value is before or equal to the specified date/time.isFuture()Checks if the value is in the future (after now).isPast()Checks if the value is in the past (before now).