public static enum TemplateVariable.CAL_OFFSET extends java.lang.Enum<TemplateVariable.CAL_OFFSET>
Enum Constant and Description |
---|
FIXED
Use the value saved for the map var.
|
START_OF_MONTH
Set the value to the first day of the month we are on.
|
START_OF_QUARTER
Set the value to the first day of the quarter we are on.
|
START_OF_WEEK
Set the value to the first day of the week we are on.
|
START_OF_YEAR
Set the value to the first day of the year we are on.
|
TODAY
Set the value to today.
|
Modifier and Type | Method and Description |
---|---|
int |
getNumVal() |
static TemplateVariable.CAL_OFFSET |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TemplateVariable.CAL_OFFSET[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TemplateVariable.CAL_OFFSET FIXED
public static final TemplateVariable.CAL_OFFSET TODAY
public static final TemplateVariable.CAL_OFFSET START_OF_WEEK
public static final TemplateVariable.CAL_OFFSET START_OF_MONTH
public static final TemplateVariable.CAL_OFFSET START_OF_QUARTER
public static final TemplateVariable.CAL_OFFSET START_OF_YEAR
public static TemplateVariable.CAL_OFFSET[] values()
for (TemplateVariable.CAL_OFFSET c : TemplateVariable.CAL_OFFSET.values()) System.out.println(c);
public static TemplateVariable.CAL_OFFSET valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int getNumVal()
Copyright © 2002-2021 Windward Studios, LLC. - All Rights Reserved. We are Java document generation software