public enum FiscalYearStart extends java.lang.Enum<FiscalYearStart>
| Enum Constant and Description |
|---|
PREVIOUS_CALENDAR_YEAR |
SAME_CALENDAR_YEAR |
| Modifier and Type | Method and Description |
|---|---|
static FiscalYearStart |
fromString(java.lang.String displayName)
Returns an instance of the enum with the specified display name.
|
java.lang.String |
getDisplayName()
Returns the name of this enum constant, as contained in the
declaration.
|
static FiscalYearStart |
getFiscalYearStart(int fiscalYearType)
Returns an instance of the enum with the specified type.
|
int |
getType()
Returns the integer type of this enum constant, as contained in the
declaration.
|
java.lang.String |
toString()
Returns the display name of this enum constant, as contained in the
declaration.
|
static FiscalYearStart |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FiscalYearStart[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FiscalYearStart PREVIOUS_CALENDAR_YEAR
public static final FiscalYearStart SAME_CALENDAR_YEAR
public static FiscalYearStart fromString(java.lang.String displayName)
displayName - user friendly namepublic java.lang.String getDisplayName()
public static FiscalYearStart getFiscalYearStart(int fiscalYearType)
fiscalYearType - fiscal year start typepublic int getType()
public java.lang.String toString()
toString in class java.lang.Enum<FiscalYearStart>public static FiscalYearStart 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 static FiscalYearStart[] values()
for (FiscalYearStart c : FiscalYearStart.values()) System.out.println(c);
Copyright © 2017, 2025, Oracle and/or its affiliates. All rights reserved.