Java.Text.ChoiceFormat: Method Members

The methods of Java.Text.ChoiceFormat are listed below. For a list of all members, see the ChoiceFormat Members list.

See Also: Inherited members from Java.Text.NumberFormat

Public Methods

ApplyPattern(string)
Parses the pattern to determine new strings and ranges for this ChoiceFormat.
override
Format(double, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
Appends the string associated with the range in which the specified double value fits to the specified string buffer.
override
Format(long, Java.Lang.StringBuffer, FieldPosition) : Java.Lang.StringBuffer
Appends the string associated with the range in which the specified long value fits to the specified string buffer.
GetFormats() : Java.Lang.Object[]
Returns the strings associated with the ranges of this ChoiceFormat.
GetLimits() : double[]
Returns the limits of this ChoiceFormat.
static
NextDouble(double) : double
Returns the double value which is closest to the specified double but larger.
static
NextDouble(double, bool) : double
Returns the double value which is closest to the specified double but either larger or smaller as specified.
override
Parse(string, ParsePosition) : Java.Lang.Number
Parses a double from the specified string starting at the index specified by position.
static
PreviousDouble(double) : double
Returns the double value which is closest to the specified double but smaller.
SetChoices(double[], string[])
Sets the double values and associated strings of this ChoiceFormat.
ToPattern() : string
Returns the pattern of this ChoiceFormat which specifies the ranges and their associated strings.