public enum DatePattern extends Enum<DatePattern>
https://docs.oracle.com/javase/tutorial/i18n/format/dateFormat.html| Modifier and Type | Method and Description |
|---|---|
int |
getPatternNbr() |
static DatePattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DatePattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DatePattern SHORT
public static final DatePattern MEDIUM
public static final DatePattern LONG
public static final DatePattern FULL
public static final DatePattern ISO
public static DatePattern[] values()
for (DatePattern c : DatePattern.values()) System.out.println(c);
public static DatePattern 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 nullpublic int getPatternNbr()
Copyright © 2018. All rights reserved.