Package net.redhogs.cronparser
Class Options
- java.lang.Object
-
- net.redhogs.cronparser.Options
-
public class Options extends java.lang.Object
- Since:
- 10 Dec 2012 10:58:44
-
-
Constructor Summary
Constructors Constructor Description Options()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CasingTypeEnum
getCasingType()
boolean
isThrowExceptionOnParseError()
boolean
isTwentyFourHourTime()
boolean
isVerbose()
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)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
twentyFourHour()
-
-
-
Method Detail
-
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)
- 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
-
-