protected static enum DateParser.Component extends Enum<DateParser.Component>
| Enum Constant and Description |
|---|
AM_PM |
DAY |
HOUR |
HOUR_AND_MINUTE |
MINUTE |
MONTH |
NANO |
OFFSET |
SECOND |
YEAR |
| Modifier and Type | Method and Description |
|---|---|
static DateParser.Component |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DateParser.Component[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DateParser.Component YEAR
public static final DateParser.Component MONTH
public static final DateParser.Component DAY
public static final DateParser.Component HOUR
public static final DateParser.Component MINUTE
public static final DateParser.Component HOUR_AND_MINUTE
public static final DateParser.Component SECOND
public static final DateParser.Component NANO
public static final DateParser.Component AM_PM
public static final DateParser.Component OFFSET
public static DateParser.Component[] values()
for (DateParser.Component c : DateParser.Component.values()) System.out.println(c);
public static DateParser.Component valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.