public enum CenturySystemDateValues extends java.lang.Enum<CenturySystemDateValues>
List of values for treatment of century into generated system date.
Enum Constant and Description |
---|
_C
With COBOL II or COBOL 85 compatible with the year 2000.
|
_N
With COBOL II or COBOL 85.
|
_W
With other COBOL languages.
|
Modifier and Type | Method and Description |
---|---|
static CenturySystemDateValues |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CenturySystemDateValues[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CenturySystemDateValues _C
With COBOL II or COBOL 85 compatible with the year 2000.
Direct retrieval of the system date including the century according to the COBOL capabilities.
public static final CenturySystemDateValues _N
With COBOL II or COBOL 85.
This is the default value.
If the year is smaller than the value entered in the Century reference date field, it is prefixed by 20. If it is greater, it is prefixed by 19
public static final CenturySystemDateValues _W
With other COBOL languages.
A value is set for the century as with the N value.
public static CenturySystemDateValues 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 CenturySystemDateValues[] values()
for (CenturySystemDateValues c : CenturySystemDateValues.values()) System.out.println(c);