Class CheckerLocalDateTime

java.lang.Object
com.luchersol.core.util.AbstractChecker<LocalDateTime,CheckerLocalDateTime>
com.luchersol.core.specialized_checkers.time.temporal.CheckerLocalDateTime
All Implemented Interfaces:
InterfaceCheckerDate<CheckerLocalDateTime,LocalDateTime>, InterfaceChecker<AbstractChecker<LocalDateTime,CheckerLocalDateTime>,LocalDateTime>

A specialized checker for LocalDateTime instances, providing fluent API methods to assert temporal properties such as being before/after another date-time, inclusivity checks, range validations, and whether a date-time lies in the past or future relative to the system clock.

Typical usage:


 LocalDateTime now = LocalDateTime.now();
 LocalDateTime tomorrow = now.plusDays(1);

 CheckerLocalDateTime checker = CheckerLocalDateTime.check(now)
     .isBefore(tomorrow)
     .isAfterOrEqual(now)
     .isPast();
 

This class integrates with InterfaceCheckerDate for standardized temporal validations and supports chaining multiple assertions in a fluent, expressive style.

See Also: