Class Between
java.lang.Object
io.github.projectunified.cronutils.model.field.expression.FieldExpression
io.github.projectunified.cronutils.model.field.expression.Between
- All Implemented Interfaces:
Serializable
Represents a range in a cron expression.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaccept(FieldExpressionVisitor visitor) Accept a visitor to perform some action on the instance.asString()Represents FieldExpression as string.FieldValue<?> getFrom()FieldValue<?> getTo()Methods inherited from class io.github.projectunified.cronutils.model.field.expression.FieldExpression
always, and, questionMark
-
Constructor Details
-
Between
-
Between
-
-
Method Details
-
getFrom
-
getTo
-
accept
Description copied from class:FieldExpressionAccept a visitor to perform some action on the instance. Current instance is cloned, so that we ensure immutability. Clone of this instance is returned after visitor.visit(clone) was invoked.- Specified by:
acceptin classFieldExpression- Parameters:
visitor- - FieldExpressionVisitor instance, never null- Returns:
- FieldExpression copied instance with visitor action performed.
-
asString
Description copied from class:FieldExpressionRepresents FieldExpression as string.- Specified by:
asStringin classFieldExpression- Returns:
- String representation, never null.
-