public enum FiscalYearMode extends java.lang.Enum<FiscalYearMode> implements ValueEnum
FiscalCalendar
from the specified
FiscalCalendar.defaultDate
and FiscalCalendar.defaultMonth
If the specified fiscal year
date starts in one calendar year and ends in the next.Enum Constant and Description |
---|
END
The fiscalYear value for the date range will match the calendar year in which the period ends.
|
START
The fiscalYear value for the date range will match the calendar year in which the period starts.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static FiscalYearMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FiscalYearMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FiscalYearMode END
end
would mean the fiscalYear value for this block would be
2021.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "end".
public static final FiscalYearMode START
start
would mean the fiscalYear value for this block would be
2020.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "start".
public static FiscalYearMode[] values()
for (FiscalYearMode c : FiscalYearMode.values()) System.out.println(c);
public static FiscalYearMode 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 null