Class Matcher.Range

java.lang.Object
com.aoapps.cron.Matcher
com.aoapps.cron.Matcher.Range
Enclosing class:
Matcher

public static class Matcher.Range extends Matcher
Matches a specific range.
  • Constructor Details

    • Range

      public Range(int begin, int end)
      Creates a new Matcher.Range.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • matches

      public boolean matches(int value)
      Description copied from class: Matcher
      Checks if matches the given value.
      Specified by:
      matches in class Matcher