com.atlassian.bamboo.soy
Enum FormatDateSoyFunction.DATE_FORMAT
java.lang.Object
java.lang.Enum<FormatDateSoyFunction.DATE_FORMAT>
com.atlassian.bamboo.soy.FormatDateSoyFunction.DATE_FORMAT
- All Implemented Interfaces:
- Serializable, Comparable<FormatDateSoyFunction.DATE_FORMAT>
- Enclosing class:
- FormatDateSoyFunction
public static enum FormatDateSoyFunction.DATE_FORMAT
- extends Enum<FormatDateSoyFunction.DATE_FORMAT>
SHORT
public static final FormatDateSoyFunction.DATE_FORMAT SHORT
LONG
public static final FormatDateSoyFunction.DATE_FORMAT LONG
FULL
public static final FormatDateSoyFunction.DATE_FORMAT FULL
TIMESTAMP
public static final FormatDateSoyFunction.DATE_FORMAT TIMESTAMP
SHORTAGE
public static final FormatDateSoyFunction.DATE_FORMAT SHORTAGE
LONGAGE
public static final FormatDateSoyFunction.DATE_FORMAT LONGAGE
values
public static FormatDateSoyFunction.DATE_FORMAT[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FormatDateSoyFunction.DATE_FORMAT c : FormatDateSoyFunction.DATE_FORMAT.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FormatDateSoyFunction.DATE_FORMAT valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
isAge
public boolean isAge()
getKey
public String getKey()
fromString
public static FormatDateSoyFunction.DATE_FORMAT fromString(String s)
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.