public static enum FormatDateSoyFunction.DATE_FORMAT extends Enum<FormatDateSoyFunction.DATE_FORMAT>
Enum Constant and Description |
---|
DATETIME |
FULL |
LONG |
LONGAGE |
SHORT |
SHORTAGE |
TIMESTAMP |
Modifier and Type | Method and Description |
---|---|
static FormatDateSoyFunction.DATE_FORMAT |
fromString(String s) |
String |
getKey() |
boolean |
isAge() |
static FormatDateSoyFunction.DATE_FORMAT |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatDateSoyFunction.DATE_FORMAT[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatDateSoyFunction.DATE_FORMAT SHORT
public static final FormatDateSoyFunction.DATE_FORMAT LONG
public static final FormatDateSoyFunction.DATE_FORMAT FULL
public static final FormatDateSoyFunction.DATE_FORMAT DATETIME
public static final FormatDateSoyFunction.DATE_FORMAT TIMESTAMP
public static final FormatDateSoyFunction.DATE_FORMAT SHORTAGE
public static final FormatDateSoyFunction.DATE_FORMAT LONGAGE
public static FormatDateSoyFunction.DATE_FORMAT[] values()
for (FormatDateSoyFunction.DATE_FORMAT c : FormatDateSoyFunction.DATE_FORMAT.values()) System.out.println(c);
public static FormatDateSoyFunction.DATE_FORMAT 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 boolean isAge()
public String getKey()
public static FormatDateSoyFunction.DATE_FORMAT fromString(String s)
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.