Package net.redhogs.cronparser
Class Options
java.lang.Object
net.redhogs.cronparser.Options
- Since:
- 10 Dec 2012 10:58:44
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
boolean
boolean
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)void
setCasingType
(CasingTypeEnum casingType) void
setThrowExceptionOnParseError
(boolean throwExceptionOnParseError) void
setTwentyFourHourTime
(boolean twentyFourHourTime) void
setVerbose
(boolean verbose) 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)static Options
-
Constructor Details
-
Options
public Options()
-
-
Method Details
-
twentyFourHour
-
isThrowExceptionOnParseError
public boolean isThrowExceptionOnParseError()- Returns:
- the throwExceptionOnParseError
-
setThrowExceptionOnParseError
public void setThrowExceptionOnParseError(boolean throwExceptionOnParseError) - Parameters:
throwExceptionOnParseError
- the throwExceptionOnParseError to set
-
getCasingType
- Returns:
- the casingType
-
setCasingType
- 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)
- 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)
- 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
-