blackboard.platform.intl
Class BbLocale.Date

java.lang.Object
  extended by blackboard.base.BbEnum
      extended by blackboard.platform.intl.BbLocale.Date
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<java.lang.Object>
Enclosing class:
BbLocale

public static final class BbLocale.Date
extends BbEnum

See Also:
Serialized Form

Field Summary
static BbLocale.Date DEFAULT
           
static BbLocale.Date FULL
          a date of the form: Friday, April 10, 1998
static BbLocale.Date LONG
          a date of the form: April 10, 1998
static BbLocale.Date MEDIUM
          a date of the form: 10-Apr-98
static BbLocale.Date SHORT
          a date of the form: 4/10/98
 
Method Summary
static BbLocale.Date fromExternalString(java.lang.String externalString)
          Returns the BbLocale.Date element specified by the externalString.
 int getDateStyle()
          Returns the date style for the BbLocale.Date object
static BbLocale.Date[] getValues()
          Returns an array of all of the elements in this enumeration.
 
Methods inherited from class blackboard.base.BbEnum
compareTo, defineAlias, defineDefault, fromExternalString, fromFieldName, fromFieldName, getDefaultElement, getFieldName, getValues, isDefault, readResolve, toExternalString, toFieldName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FULL

public static final BbLocale.Date FULL
a date of the form: Friday, April 10, 1998


LONG

public static final BbLocale.Date LONG
a date of the form: April 10, 1998


MEDIUM

public static final BbLocale.Date MEDIUM
a date of the form: 10-Apr-98


SHORT

public static final BbLocale.Date SHORT
a date of the form: 4/10/98


DEFAULT

public static final BbLocale.Date DEFAULT
Method Detail

getDateStyle

public int getDateStyle()
Returns the date style for the BbLocale.Date object


getValues

public static BbLocale.Date[] getValues()
Returns an array of all of the elements in this enumeration.


fromExternalString

public static BbLocale.Date fromExternalString(java.lang.String externalString)
                                        throws java.lang.IllegalArgumentException
Returns the BbLocale.Date element specified by the externalString.

Throws:
java.lang.IllegalArgumentException - if the given string is not an external representation of one of the elements in this enumeration class.


Copyright © 2012 Blackboard, Inc. All Rights Reserved.