Class Options

java.lang.Object
net.redhogs.cronparser.Options

public class Options extends Object
Since:
10 Dec 2012 10:58:44
  • Constructor Details

    • Options

      public Options()
  • Method Details

    • twentyFourHour

      public static Options twentyFourHour()
    • isThrowExceptionOnParseError

      public boolean isThrowExceptionOnParseError()
      Returns:
      the throwExceptionOnParseError
    • setThrowExceptionOnParseError

      public void setThrowExceptionOnParseError(boolean throwExceptionOnParseError)
      Parameters:
      throwExceptionOnParseError - the throwExceptionOnParseError to set
    • getCasingType

      public CasingTypeEnum getCasingType()
      Returns:
      the casingType
    • setCasingType

      public void setCasingType(CasingTypeEnum casingType)
      Parameters:
      casingType - the casingType to set
    • isVerbose

      public boolean isVerbose()
      Returns:
      the verbose
    • setVerbose

      public void setVerbose(boolean verbose)
      Parameters:
      verbose - the verbose to set
    • setZeroBasedDayOfWeek

      public void setZeroBasedDayOfWeek(boolean zeroBasedDayOfWeek)
      If we are zero-based
      • day of week (0 - 7) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
      If we are not zero based
      • day of week (1 - 7) (1 to 6 are Sunday to Saturday, or use names; 7 is Saturday)
      Parameters:
      zeroBasedDayOfWeek - if we are zero-based or not
    • isZeroBasedDayOfWeek

      public boolean isZeroBasedDayOfWeek()
      If we are zero-based
      • day of week (0 - 7) (0 to 6 are Sunday to Saturday, or use names; 7 is Sunday, the same as 0)
      If we are not zero based
      • day of week (1 - 7) (1 to 7 are Sunday to Saturday, or use names)
      Returns:
      if we are zero-based or not
    • isTwentyFourHourTime

      public boolean isTwentyFourHourTime()
      Returns:
      the twentyFourHourTime
    • setTwentyFourHourTime

      public void setTwentyFourHourTime(boolean twentyFourHourTime)
      Parameters:
      twentyFourHourTime - the twentyFourHourTime to set