public class HMSNumberFormat extends NumberFormat
NumberFormat.FieldFRACTION_FIELD, INTEGER_FIELD| Constructor and Description |
|---|
HMSNumberFormat()
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
StringBuffer |
format(double number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats the specified number as a string of the form HH:MM:SS.
|
StringBuffer |
format(long number,
StringBuffer toAppendTo,
FieldPosition pos)
Formats the specified number as a string of the form HH:MM:SS.
|
Number |
parse(String source,
ParsePosition parsePosition)
Parsing is not implemented, so this method always returns
null. |
clone, equals, format, format, format, getAvailableLocales, getCurrency, getCurrencyInstance, getCurrencyInstance, getInstance, getInstance, getIntegerInstance, getIntegerInstance, getMaximumFractionDigits, getMaximumIntegerDigits, getMinimumFractionDigits, getMinimumIntegerDigits, getNumberInstance, getNumberInstance, getPercentInstance, getPercentInstance, getRoundingMode, hashCode, isGroupingUsed, isParseIntegerOnly, parse, parseObject, setCurrency, setGroupingUsed, setMaximumFractionDigits, setMaximumIntegerDigits, setMinimumFractionDigits, setMinimumIntegerDigits, setParseIntegerOnly, setRoundingModeformat, formatToCharacterIterator, parseObjectpublic StringBuffer format(double number, StringBuffer toAppendTo, FieldPosition pos)
format in class NumberFormatnumber - the number to format.toAppendTo - the buffer to append to (ignored here).pos - the field position (ignored here).public StringBuffer format(long number, StringBuffer toAppendTo, FieldPosition pos)
format in class NumberFormatnumber - the number to format.toAppendTo - the buffer to append to (ignored here).pos - the field position (ignored here).public Number parse(String source, ParsePosition parsePosition)
null.parse in class NumberFormatsource - ignored.parsePosition - ignored.null.Copyright © 2001–2014 JFree.org. All rights reserved.