static enum RubyDateFormat.FieldType extends java.lang.Enum<RubyDateFormat.FieldType>
| Enum Constant and Description |
|---|
NUMERIC |
NUMERIC2 |
NUMERIC2BLANK |
NUMERIC3 |
NUMERIC4 |
NUMERIC5 |
TEXT |
| Modifier and Type | Field and Description |
|---|---|
(package private) char |
defaultPadder |
(package private) int |
defaultWidth |
| Modifier and Type | Method and Description |
|---|---|
static RubyDateFormat.FieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RubyDateFormat.FieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RubyDateFormat.FieldType NUMERIC
public static final RubyDateFormat.FieldType NUMERIC2
public static final RubyDateFormat.FieldType NUMERIC2BLANK
public static final RubyDateFormat.FieldType NUMERIC3
public static final RubyDateFormat.FieldType NUMERIC4
public static final RubyDateFormat.FieldType NUMERIC5
public static final RubyDateFormat.FieldType TEXT
public static RubyDateFormat.FieldType[] values()
for (RubyDateFormat.FieldType c : RubyDateFormat.FieldType.values()) System.out.println(c);
public static RubyDateFormat.FieldType 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