blackboard.platform.intl
Class BbLocale.Time

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

public static final class BbLocale.Time
extends BbEnum

Time

See Also:
Serialized Form

Field Summary
static BbLocale.Time DEFAULT
           
static BbLocale.Time FULL
          a time of the form: 3:58:45 o'clock PM PDT
static BbLocale.Time LONG
          a time of the form: 3:58:45 PM PDT
static BbLocale.Time MEDIUM
          a time of the form: 3:58:45 PM
static BbLocale.Time SHORT
          a time of the form: 3:58 PM
 
Method Summary
static BbLocale.Time fromExternalString(java.lang.String externalString)
          Returns the BbLocale.Time element specified by the externalString.
 int getTimeStyle()
           
static BbLocale.Time[] 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, 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.Time FULL
a time of the form: 3:58:45 o'clock PM PDT


LONG

public static final BbLocale.Time LONG
a time of the form: 3:58:45 PM PDT


MEDIUM

public static final BbLocale.Time MEDIUM
a time of the form: 3:58:45 PM


SHORT

public static final BbLocale.Time SHORT
a time of the form: 3:58 PM


DEFAULT

public static final BbLocale.Time DEFAULT
Method Detail

getTimeStyle

public int getTimeStyle()

getValues

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


fromExternalString

public static BbLocale.Time fromExternalString(java.lang.String externalString)
                                        throws java.lang.IllegalArgumentException
Returns the BbLocale.Time 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 © 2003 Blackboard, Inc. All Rights Reserved.