Class TimeFormat

java.lang.Object
  extended by java.text.Format
      extended by java.text.NumberFormat
          extended by AngleFormat
              extended by TimeFormat
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable
Direct Known Subclasses:
HourAngleFormat

public class TimeFormat
extends AngleFormat

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class java.text.NumberFormat
java.text.NumberFormat.Field
 
Field Summary
static int COLONS
           
static int HMS
           
static int HOUR
           
static int MINUTE
           
static int SECOND
           
static int SYMBOLS
           
 
Fields inherited from class AngleFormat
bottomLevel, DEGREE, DMS, seconds, topLevel
 
Fields inherited from class java.text.NumberFormat
FRACTION_FIELD, INTEGER_FIELD
 
Constructor Summary
TimeFormat()
           
TimeFormat(java.text.DecimalFormat df)
           
TimeFormat(int decimals)
           
 
Method Summary
 void colons()
           
 void defaults()
           
 int getBottomLevel()
           
 java.text.DecimalFormat getSecondsFormat()
           
 int getSeparator()
           
 int getTopLevel()
           
 void letters()
           
 void setBottomLevel(int level)
           
 void setSecondsFormat(java.text.DecimalFormat df)
           
 void setSeparator(int type)
           
 void setTopLevel(int level)
           
 void symbols()
           
 
Methods inherited from class AngleFormat
format, format, isOneSided, isWrapping, parse, parse, setOneSided, toString, wrap
 
Methods inherited from class java.text.NumberFormat
clone, equals, format, format, format, getAvailableLocales, getCurrency, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, hashCode, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setCurrency, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setParseIntegerOnly
 
Methods inherited from class java.text.Format
format, formatToCharacterIterator, parseObject
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HOUR

public static final int HOUR
See Also:
Constant Field Values

MINUTE

public static final int MINUTE
See Also:
Constant Field Values

SECOND

public static final int SECOND
See Also:
Constant Field Values

COLONS

public static final int COLONS
See Also:
Constant Field Values

HMS

public static final int HMS
See Also:
Constant Field Values

SYMBOLS

public static final int SYMBOLS
See Also:
Constant Field Values
Constructor Detail

TimeFormat

public TimeFormat()

TimeFormat

public TimeFormat(java.text.DecimalFormat df)

TimeFormat

public TimeFormat(int decimals)
Method Detail

defaults

public void defaults()

setSeparator

public void setSeparator(int type)
Overrides:
setSeparator in class AngleFormat

getSeparator

public int getSeparator()
Overrides:
getSeparator in class AngleFormat

colons

public void colons()
Overrides:
colons in class AngleFormat

letters

public void letters()
Overrides:
letters in class AngleFormat

symbols

public void symbols()
Overrides:
symbols in class AngleFormat

setTopLevel

public void setTopLevel(int level)
Overrides:
setTopLevel in class AngleFormat

setBottomLevel

public void setBottomLevel(int level)
Overrides:
setBottomLevel in class AngleFormat

getTopLevel

public int getTopLevel()
Overrides:
getTopLevel in class AngleFormat

getBottomLevel

public int getBottomLevel()
Overrides:
getBottomLevel in class AngleFormat

setSecondsFormat

public void setSecondsFormat(java.text.DecimalFormat df)
Overrides:
setSecondsFormat in class AngleFormat

getSecondsFormat

public java.text.DecimalFormat getSecondsFormat()
Overrides:
getSecondsFormat in class AngleFormat