public class Options
extends java.lang.Object
Constructor and Description |
---|
Options() |
Modifier and Type | Method and 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() |
public static Options twentyFourHour()
public boolean isThrowExceptionOnParseError()
public void setThrowExceptionOnParseError(boolean throwExceptionOnParseError)
throwExceptionOnParseError
- the throwExceptionOnParseError to setpublic CasingTypeEnum getCasingType()
public void setCasingType(CasingTypeEnum casingType)
casingType
- the casingType to setpublic boolean isVerbose()
public void setVerbose(boolean verbose)
verbose
- the verbose to setpublic void setZeroBasedDayOfWeek(boolean zeroBasedDayOfWeek)
zeroBasedDayOfWeek
- if we are zero-based or notpublic boolean isZeroBasedDayOfWeek()
public boolean isTwentyFourHourTime()
public void setTwentyFourHourTime(boolean twentyFourHourTime)
twentyFourHourTime
- the twentyFourHourTime to set