biz.c24.io.api.data
Class DatePatternInstanceEnum

java.lang.Object
  extended by biz.c24.io.api.data.DatePatternInstanceEnum
All Implemented Interfaces:
Serializable

public final class DatePatternInstanceEnum
extends Object
implements Serializable

An enumeration of possible date pattern instances.

Date pattern instances define what type of pattern should be created for a localised format.

See Also:
Serialized Form

Field Summary
static DatePatternInstanceEnum DATE
          Specifies a date pattern should be used when localised.
static DatePatternInstanceEnum DATE_TIME
          Specifies a date time pattern should be used when localised.
static DatePatternInstanceEnum TIME
          Specifies a time pattern should be used when localised.
 
Method Summary
static DatePatternInstanceEnum[] getEnumArray()
          Returns an array containing the members of this enumeration.
static DatePatternInstanceEnum getEnumValue(String name)
          Returns the enumeration value called name.
 String getName()
          Returns the name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

DATE

public static final DatePatternInstanceEnum DATE
Specifies a date pattern should be used when localised.


TIME

public static final DatePatternInstanceEnum TIME
Specifies a time pattern should be used when localised.


DATE_TIME

public static final DatePatternInstanceEnum DATE_TIME
Specifies a date time pattern should be used when localised.

Method Detail

getName

public String getName()
Returns the name.

Returns:
The name.

toString

public String toString()
Overrides:
toString in class Object

getEnumArray

public static DatePatternInstanceEnum[] getEnumArray()
Returns an array containing the members of this enumeration.

Returns:
The enumeration as an array.

getEnumValue

public static DatePatternInstanceEnum getEnumValue(String name)
Returns the enumeration value called name.

Parameters:
name - The name of the enumeration value to return.
Returns:
The enumeration value or null if none was found.


C24 Technologies © 2002-2012: All Rights Reserved.