gnu.text
Class RomanIntegerFormat
java.text.NumberFormat
gnu.text.RomanIntegerFormat
public class RomanIntegerFormat
extends java.text.NumberFormat
Get the index'th parameter for the conversion specification specs[speci].
Note that parameters are numbered from 1 to numParams(speci).
The list of arguments to be converted is args, with the current index
(as of the start of this conversion, i.e. not taking into account
earlier PARAM_FROM_LIST paramaters for this conversion) in start.
The default value (used if PARAM_UNSPECIFIED) is defaultValue.
StringBuffer | format(double num, StringBuffer sbuf, FieldPosition fpos)
|
static String | format(int num)
|
static String | format(int num, boolean oldStyle)
|
StringBuffer | format(long num, StringBuffer sbuf, FieldPosition fpos)
|
static RomanIntegerFormat | getInstance(boolean oldStyle)
|
java.lang.Number | parse(String text, java.text.ParsePosition status)
|
oldStyle
public boolean oldStyle
RomanIntegerFormat
public RomanIntegerFormat()
RomanIntegerFormat
public RomanIntegerFormat(boolean oldStyle)
format
public StringBuffer format(double num,
StringBuffer sbuf,
FieldPosition fpos)
format
public static String format(int num)
format
public static String format(int num,
boolean oldStyle)
format
public StringBuffer format(long num,
StringBuffer sbuf,
FieldPosition fpos)
parse
public java.lang.Number parse(String text,
java.text.ParsePosition status)