java.lang.Object
io.github.projectunified.cronutils.model.field.expression.FieldExpression
io.github.projectunified.cronutils.model.field.expression.Between
All Implemented Interfaces:
Serializable

public class Between extends FieldExpression
Represents a range in a cron expression.
See Also:
  • Constructor Details

  • Method Details

    • getFrom

      public FieldValue<?> getFrom()
    • getTo

      public FieldValue<?> getTo()
    • accept

      public FieldExpression accept(FieldExpressionVisitor visitor)
      Description copied from class: FieldExpression
      Accept 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:
      accept in class FieldExpression
      Parameters:
      visitor - - FieldExpressionVisitor instance, never null
      Returns:
      FieldExpression copied instance with visitor action performed.
    • asString

      public String asString()
      Description copied from class: FieldExpression
      Represents FieldExpression as string.
      Specified by:
      asString in class FieldExpression
      Returns:
      String representation, never null.