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.
Extends the Accord DSL with additional within
operations over temporals.
Extends the Accord DSL with additional within
operations over temporals.
Combinators that operate specifically on temporals (and subclasses thereof).
Provides a DSL for validating temporals (and subclasses thereof).
A validator that succeeds only for values that are within (i.
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.
A builder to support the within
DSL extensions.
A builder to support the within
DSL extensions.
Generates a validator that succeeds only if the provided value comes strictly after the specified bound.
Generates a validator that succeeds only if the provided value comes strictly after the specified bound.
Generates a validator that succeeds only if the provided value comes strictly before the specified bound.
Generates a validator that succeeds only if the provided value comes strictly before the specified bound.
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.
Adds support for temporals (and subclasses) to the Accord DSL.
Usage
To use these extensions, import this package as follows:
Combinators
Supported operations: