A validator that succeeds only for values that come strictly after before the specified bound.
A validator that succeeds only for values that come strictly after before the specified bound.
The specific temporal type this validator operates on.
A validator that succeeds only for values that come strictly before the specified bound.
A validator that succeeds only for values that come strictly before the specified bound.
The specific temporal type this validator operates on.
A validator that succeeds only for values that are within (i.e.
A validator that succeeds only for values that are within (i.e. before or after) a duration of the specified temporal (for example, "within a month of this person's birth date").
This is essentially equivalent to (value >= of - duration) && (value <= of + duration)
.
The specific temporal type this validator operates on.
Implements Ordering over Temporal and its subclasses.
Implements Ordering over Temporal and its subclasses.
Implementation note: this assumes T
implements Comparable, which per
the JavaDoc for java.time.temporal.Temporal should always be the case.
The specific temporal type for which to construct an Ordering.
Combinators that operate specifically on temporals (and subclasses thereof).