Partager via


CompactDecimalFormat Class

Definition

[Android.Runtime.Register("android/icu/text/CompactDecimalFormat", ApiSince=24, DoNotGenerateAcw=true)]
public class CompactDecimalFormat : Android.Icu.Text.DecimalFormat
[<Android.Runtime.Register("android/icu/text/CompactDecimalFormat", ApiSince=24, DoNotGenerateAcw=true)>]
type CompactDecimalFormat = class
    inherit DecimalFormat
Inheritance
Attributes

Remarks

Android platform documentation

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Constructors

CompactDecimalFormat(IntPtr, JniHandleOwnership)

Fields

Accountingcurrencystyle
Obsolete.
(Inherited from NumberFormat)
Cashcurrencystyle
Obsolete.
(Inherited from NumberFormat)
Currencystyle
Obsolete.
(Inherited from NumberFormat)
FractionField
Obsolete.
(Inherited from NumberFormat)
IntegerField
Obsolete.
(Inherited from NumberFormat)
Integerstyle
Obsolete.
(Inherited from NumberFormat)
Isocurrencystyle
Obsolete.
(Inherited from NumberFormat)
MinimumGroupingDigitsAuto (Inherited from DecimalFormat)
MinimumGroupingDigitsMin2 (Inherited from DecimalFormat)
Numberstyle
Obsolete.
(Inherited from NumberFormat)
PadAfterPrefix
Obsolete.
(Inherited from DecimalFormat)
PadAfterSuffix
Obsolete.
(Inherited from DecimalFormat)
PadBeforePrefix
Obsolete.
(Inherited from DecimalFormat)
PadBeforeSuffix
Obsolete.
(Inherited from DecimalFormat)
Percentstyle
Obsolete.
(Inherited from NumberFormat)
Pluralcurrencystyle
Obsolete.
(Inherited from NumberFormat)
Scientificstyle
Obsolete.
(Inherited from NumberFormat)
Standardcurrencystyle
Obsolete.
(Inherited from NumberFormat)

Properties

Class

Returns the runtime class of this Object.

(Inherited from Object)
Currency (Inherited from NumberFormat)
CurrencyPluralInfo (Inherited from DecimalFormat)
CurrencyUsage (Inherited from DecimalFormat)
DecimalFormatSymbols (Inherited from DecimalFormat)
DecimalPatternMatchRequired (Inherited from DecimalFormat)
DecimalSeparatorAlwaysShown (Inherited from DecimalFormat)
ExponentSignAlwaysShown (Inherited from DecimalFormat)
FormatWidth (Inherited from DecimalFormat)
GroupingSize (Inherited from DecimalFormat)
GroupingUsed (Inherited from NumberFormat)
Handle

The handle to the underlying Android instance.

(Inherited from Object)
JniIdentityHashCode (Inherited from Object)
JniPeerMembers
MathContext (Inherited from DecimalFormat)
MathContextICU (Inherited from DecimalFormat)
MaximumFractionDigits (Inherited from NumberFormat)
MaximumIntegerDigits (Inherited from NumberFormat)
MaximumSignificantDigits (Inherited from DecimalFormat)
MinimumExponentDigits (Inherited from DecimalFormat)
MinimumFractionDigits (Inherited from NumberFormat)
MinimumGroupingDigits (Inherited from DecimalFormat)
MinimumIntegerDigits (Inherited from NumberFormat)
MinimumSignificantDigits (Inherited from DecimalFormat)
Multiplier (Inherited from DecimalFormat)
NegativePrefix (Inherited from DecimalFormat)
NegativeSuffix (Inherited from DecimalFormat)
PadCharacter (Inherited from DecimalFormat)
PadPosition (Inherited from DecimalFormat)
ParseBigDecimal (Inherited from DecimalFormat)
ParseCaseSensitive (Inherited from DecimalFormat)
ParseIntegerOnly (Inherited from NumberFormat)
ParseMaxDigits (Inherited from DecimalFormat)
ParseNoExponent (Inherited from DecimalFormat)
ParseStrict (Inherited from NumberFormat)
PeerReference (Inherited from Object)
PositivePrefix (Inherited from DecimalFormat)
PositiveSuffix (Inherited from DecimalFormat)
RoundingIncrement (Inherited from DecimalFormat)
RoundingMode (Inherited from NumberFormat)
ScientificNotation (Inherited from DecimalFormat)
SecondaryGroupingSize (Inherited from DecimalFormat)
SignAlwaysShown (Inherited from DecimalFormat)
ThresholdClass
ThresholdType

Methods

ApplyLocalizedPattern(String) (Inherited from DecimalFormat)
ApplyPattern(String) (Inherited from DecimalFormat)
AreSignificantDigitsUsed() (Inherited from DecimalFormat)
Clone()

Creates and returns a copy of this object.

(Inherited from _Format)
Dispose() (Inherited from Object)
Dispose(Boolean) (Inherited from Object)
Equals(Object)

Indicates whether some other object is "equal to" this one.

(Inherited from Object)
Format(BigDecimal, StringBuffer, FieldPosition) (Inherited from DecimalFormat)
Format(BigDecimal, StringBuffer, FieldPosition) (Inherited from DecimalFormat)
Format(BigDecimal) (Inherited from NumberFormat)
Format(BigDecimal) (Inherited from NumberFormat)
Format(BigInteger, StringBuffer, FieldPosition) (Inherited from DecimalFormat)
Format(BigInteger) (Inherited from NumberFormat)
Format(CurrencyAmount, StringBuffer, FieldPosition) (Inherited from NumberFormat)
Format(CurrencyAmount) (Inherited from NumberFormat)
Format(Double, StringBuffer, FieldPosition) (Inherited from DecimalFormat)
Format(Double) (Inherited from NumberFormat)
Format(Int64, StringBuffer, FieldPosition) (Inherited from DecimalFormat)
Format(Int64) (Inherited from NumberFormat)
Format(Object, StringBuffer, FieldPosition) (Inherited from NumberFormat)
Format(Object)

Formats an object to produce a string.

(Inherited from _Format)
FormatToCharacterIterator(Object)

Formats an Object producing an AttributedCharacterIterator.

(Inherited from _Format)
GetContext(DisplayContext+Type) (Inherited from NumberFormat)
GetHashCode()

Returns a hash code value for the object.

(Inherited from Object)
GetInstance(Locale, CompactDecimalFormat+CompactStyle)
GetInstance(ULocale, CompactDecimalFormat+CompactStyle)
JavaFinalize()

Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.

(Inherited from Object)
Notify()

Wakes up a single thread that is waiting on this object's monitor.

(Inherited from Object)
NotifyAll()

Wakes up all threads that are waiting on this object's monitor.

(Inherited from Object)
Parse(String, ParsePosition) (Inherited from DecimalFormat)
Parse(String) (Inherited from NumberFormat)
ParseCurrency(ICharSequence, ParsePosition) (Inherited from NumberFormat)
ParseCurrency(String, ParsePosition) (Inherited from NumberFormat)
ParseObject(String, ParsePosition) (Inherited from NumberFormat)
ParseObject(String)

Parses text from the beginning of the given string to produce an object.

(Inherited from _Format)
SetContext(DisplayContext) (Inherited from NumberFormat)
SetHandle(IntPtr, JniHandleOwnership)

Sets the Handle property.

(Inherited from Object)
SetRoundingIncrement(BigDecimal) (Inherited from DecimalFormat)
SetRoundingIncrement(Double) (Inherited from DecimalFormat)
SetSignificantDigitsUsed(Boolean) (Inherited from DecimalFormat)
ToArray<T>() (Inherited from Object)
ToLocalizedPattern() (Inherited from DecimalFormat)
ToPattern() (Inherited from DecimalFormat)
ToString()

Returns a string representation of the object.

(Inherited from Object)
UnregisterFromRuntime() (Inherited from Object)
Wait()

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>.

(Inherited from Object)
Wait(Int64, Int32)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)
Wait(Int64)

Causes the current thread to wait until it is awakened, typically by being <em>notified</em> or <em>interrupted</em>, or until a certain amount of real time has elapsed.

(Inherited from Object)

Explicit Interface Implementations

IJavaPeerable.Disposed() (Inherited from Object)
IJavaPeerable.DisposeUnlessReferenced() (Inherited from Object)
IJavaPeerable.Finalized() (Inherited from Object)
IJavaPeerable.JniManagedPeerState (Inherited from Object)
IJavaPeerable.SetJniIdentityHashCode(Int32) (Inherited from Object)
IJavaPeerable.SetJniManagedPeerState(JniManagedPeerStates) (Inherited from Object)
IJavaPeerable.SetPeerReference(JniObjectReference) (Inherited from Object)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
GetJniTypeName(IJavaPeerable)

Applies to