com.atlassian.bamboo.soy
Enum FormatDateSoyFunction.DATE_FORMAT

java.lang.Object
  extended by java.lang.Enum<FormatDateSoyFunction.DATE_FORMAT>
      extended by com.atlassian.bamboo.soy.FormatDateSoyFunction.DATE_FORMAT
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<FormatDateSoyFunction.DATE_FORMAT>
Enclosing class:
FormatDateSoyFunction

public static enum FormatDateSoyFunction.DATE_FORMAT
extends java.lang.Enum<FormatDateSoyFunction.DATE_FORMAT>


Enum Constant Summary
FULL
           
LONG
           
LONGAGE
           
SHORT
           
SHORTAGE
           
TIMESTAMP
           
 
Method Summary
static FormatDateSoyFunction.DATE_FORMAT fromString(java.lang.String s)
           
 java.lang.String getKey()
           
 boolean isAge()
           
static FormatDateSoyFunction.DATE_FORMAT valueOf(java.lang.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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

isAge

public boolean isAge()

getKey

public java.lang.String getKey()

fromString

public static FormatDateSoyFunction.DATE_FORMAT fromString(java.lang.String s)


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.