Interface CronPattern.ValueParser

  • Enclosing class:
    CronPattern

    protected static interface CronPattern.ValueParser
    Definition for a value parser.
    • Method Detail

      • parse

        int parse​(String sValue)
           throws Exception
        Attempts to parse a value.
        Parameters:
        sValue - the value
        Returns:
        the parsed value
        Throws:
        Exception - if the value can't be parsed
      • getMinValue

        int getMinValue()
        Returns the minimum value accepted by the parser.
        Returns:
        The minimum value accepted by the parser
      • getMaxValue

        int getMaxValue()
        Returns the maximum value accepted by the parser.
        Returns:
        The maximum value accepted by the parser