Enum ImportDateFieldOrder
- java.lang.Object
-
- java.lang.Enum<ImportDateFieldOrder>
-
- com.infinitekind.moneydance.model.txtimport.ImportDateFieldOrder
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ImportDateFieldOrder>
public enum ImportDateFieldOrder extends java.lang.Enum<ImportDateFieldOrder>
Created by sreilly - 2018.09.06 13:21
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.util.List<ImportDateFieldOrder>
allFields()
Return a list of all available import fields, in a sensible order for presenting in a UI to choose fieldsstatic ImportDateFieldOrder
fromLocale()
java.util.List<TabularTextImportSpec.DateField>
getDateFieldList()
java.lang.String
getID()
static ImportDateFieldOrder
valueForID(java.lang.String id)
static ImportDateFieldOrder
valueForYMDIndexes(int yearIndex, int monthIndex, int dayIndex)
static ImportDateFieldOrder
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ImportDateFieldOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MDY
public static final ImportDateFieldOrder MDY
-
DMY
public static final ImportDateFieldOrder DMY
-
YMD
public static final ImportDateFieldOrder YMD
-
YDM
public static final ImportDateFieldOrder YDM
-
DYM
public static final ImportDateFieldOrder DYM
-
MYD
public static final ImportDateFieldOrder MYD
-
-
Method Detail
-
values
public static ImportDateFieldOrder[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ImportDateFieldOrder c : ImportDateFieldOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ImportDateFieldOrder valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
allFields
public static java.util.List<ImportDateFieldOrder> allFields()
Return a list of all available import fields, in a sensible order for presenting in a UI to choose fields
-
fromLocale
public static ImportDateFieldOrder fromLocale()
-
getID
public java.lang.String getID()
-
valueForID
public static ImportDateFieldOrder valueForID(java.lang.String id)
-
getDateFieldList
public java.util.List<TabularTextImportSpec.DateField> getDateFieldList()
-
valueForYMDIndexes
public static ImportDateFieldOrder valueForYMDIndexes(int yearIndex, int monthIndex, int dayIndex)
-
-