[]Struct jni_android_sys::android::icu::text::CompactDecimalFormat

#[repr(transparent)]
pub struct CompactDecimalFormat(_);

public class CompactDecimalFormat

Required feature: "android-icu-text-CompactDecimalFormat"

Methods

impl CompactDecimalFormat

pub fn getInstance_ULocale_CompactStyle<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ULocale>>,
    arg1: impl Into<Option<&'env CompactDecimalFormat_CompactStyle>>
) -> Result<Option<Local<'env, CompactDecimalFormat>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-icu-text-CompactDecimalFormat", "android-icu-text-CompactDecimalFormat_CompactStyle", "android-icu-util-ULocale"

pub fn getInstance_Locale_CompactStyle<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Locale>>,
    arg1: impl Into<Option<&'env CompactDecimalFormat_CompactStyle>>
) -> Result<Option<Local<'env, CompactDecimalFormat>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-icu-text-CompactDecimalFormat", "android-icu-text-CompactDecimalFormat_CompactStyle", "java-util-Locale"

pub fn parse<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
[src]

parse

Required features: "java-lang-Number", "java-lang-String", "java-text-ParsePosition"

pub fn parseCurrency<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, CurrencyAmount>>, Local<'env, Throwable>>
[src]

parseCurrency

Required features: "android-icu-util-CurrencyAmount", "java-lang-CharSequence", "java-text-ParsePosition"

Methods from Deref<Target = DecimalFormat>

pub fn applyPattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

applyPattern

Required features: "java-lang-String"

pub fn applyLocalizedPattern<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

applyLocalizedPattern

Required features: "java-lang-String"

pub fn clone<'env>(
    &'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]

clone

Required features: "java-lang-Object"

pub fn format_double_StringBuffer_FieldPosition<'env>(
    &'env self,
    arg0: f64,
    arg1: impl Into<Option<&'env StringBuffer>>,
    arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]

format

Required features: "java-lang-StringBuffer", "java-text-FieldPosition"

pub fn format_long_StringBuffer_FieldPosition<'env>(
    &'env self,
    arg0: i64,
    arg1: impl Into<Option<&'env StringBuffer>>,
    arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]

format

Required features: "java-lang-StringBuffer", "java-text-FieldPosition"

pub fn format_BigInteger_StringBuffer_FieldPosition<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigInteger>>,
    arg1: impl Into<Option<&'env StringBuffer>>,
    arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]

format

Required features: "java-lang-StringBuffer", "java-math-BigInteger", "java-text-FieldPosition"

pub fn format_javaBigDecimal_StringBuffer_FieldPosition<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env StringBuffer>>,
    arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]

format

Required features: "java-lang-StringBuffer", "java-math-BigDecimal", "java-text-FieldPosition"

pub fn format_BigDecimal_StringBuffer_FieldPosition<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>,
    arg1: impl Into<Option<&'env StringBuffer>>,
    arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]

format

Required features: "android-icu-math-BigDecimal", "java-lang-StringBuffer", "java-text-FieldPosition"

pub fn formatToCharacterIterator<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, AttributedCharacterIterator>>, Local<'env, Throwable>>
[src]

formatToCharacterIterator

Required features: "java-lang-Object", "java-text-AttributedCharacterIterator"

pub fn format_CurrencyAmount_StringBuffer_FieldPosition<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CurrencyAmount>>,
    arg1: impl Into<Option<&'env StringBuffer>>,
    arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]

format

Required features: "android-icu-util-CurrencyAmount", "java-lang-StringBuffer", "java-text-FieldPosition"

pub fn parse<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
[src]

parse

Required features: "java-lang-Number", "java-lang-String", "java-text-ParsePosition"

pub fn parseCurrency<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, CurrencyAmount>>, Local<'env, Throwable>>
[src]

parseCurrency

Required features: "android-icu-util-CurrencyAmount", "java-lang-CharSequence", "java-text-ParsePosition"

pub fn getDecimalFormatSymbols<'env>(
    &'env self
) -> Result<Option<Local<'env, DecimalFormatSymbols>>, Local<'env, Throwable>>
[src]

getDecimalFormatSymbols

Required features: "android-icu-text-DecimalFormatSymbols"

pub fn setDecimalFormatSymbols<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DecimalFormatSymbols>>
) -> Result<(), Local<'env, Throwable>>
[src]

setDecimalFormatSymbols

Required features: "android-icu-text-DecimalFormatSymbols"

pub fn getPositivePrefix<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getPositivePrefix

Required features: "java-lang-String"

pub fn setPositivePrefix<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setPositivePrefix

Required features: "java-lang-String"

pub fn getNegativePrefix<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getNegativePrefix

Required features: "java-lang-String"

pub fn setNegativePrefix<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setNegativePrefix

Required features: "java-lang-String"

pub fn getPositiveSuffix<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getPositiveSuffix

Required features: "java-lang-String"

pub fn setPositiveSuffix<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setPositiveSuffix

Required features: "java-lang-String"

pub fn getNegativeSuffix<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getNegativeSuffix

Required features: "java-lang-String"

pub fn setNegativeSuffix<'env>(
    &'env self,
    arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]

setNegativeSuffix

Required features: "java-lang-String"

pub fn getMultiplier<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setMultiplier<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getRoundingIncrement<'env>(
    &'env self
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

getRoundingIncrement

Required features: "java-math-BigDecimal"

pub fn setRoundingIncrement_javaBigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<(), Local<'env, Throwable>>
[src]

setRoundingIncrement

Required features: "java-math-BigDecimal"

pub fn setRoundingIncrement_BigDecimal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<(), Local<'env, Throwable>>
[src]

setRoundingIncrement

Required features: "android-icu-math-BigDecimal"

pub fn setRoundingIncrement_double<'env>(
    &'env self,
    arg0: f64
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getRoundingMode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setRoundingMode<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMathContext<'env>(
    &'env self
) -> Result<Option<Local<'env, MathContext>>, Local<'env, Throwable>>
[src]

getMathContext

Required features: "java-math-MathContext"

pub fn setMathContext<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MathContext>>
) -> Result<(), Local<'env, Throwable>>
[src]

setMathContext

Required features: "java-math-MathContext"

pub fn getMathContextICU<'env>(
    &'env self
) -> Result<Option<Local<'env, MathContext>>, Local<'env, Throwable>>
[src]

getMathContextICU

Required features: "android-icu-math-MathContext"

pub fn setMathContextICU<'env>(
    &'env self,
    arg0: impl Into<Option<&'env MathContext>>
) -> Result<(), Local<'env, Throwable>>
[src]

setMathContextICU

Required features: "android-icu-math-MathContext"

pub fn getMinimumIntegerDigits<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setMinimumIntegerDigits<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMaximumIntegerDigits<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setMaximumIntegerDigits<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMinimumFractionDigits<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setMinimumFractionDigits<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMaximumFractionDigits<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setMaximumFractionDigits<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn areSignificantDigitsUsed<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setSignificantDigitsUsed<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMinimumSignificantDigits<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setMinimumSignificantDigits<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMaximumSignificantDigits<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setMaximumSignificantDigits<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getFormatWidth<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setFormatWidth<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getPadCharacter<'env>(
    &'env self
) -> Result<jchar, Local<'env, Throwable>>
[src]

pub fn setPadCharacter<'env>(
    &'env self,
    arg0: jchar
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getPadPosition<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setPadPosition<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isScientificNotation<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setScientificNotation<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getMinimumExponentDigits<'env>(
    &'env self
) -> Result<i8, Local<'env, Throwable>>
[src]

pub fn setMinimumExponentDigits<'env>(
    &'env self,
    arg0: i8
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isExponentSignAlwaysShown<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setExponentSignAlwaysShown<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isGroupingUsed<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn setGroupingUsed<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getGroupingSize<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn setGroupingSize<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getSecondaryGroupingSize<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

pub fn setSecondaryGroupingSize<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isDecimalSeparatorAlwaysShown<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setDecimalSeparatorAlwaysShown<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getCurrency<'env>(
    &'env self
) -> Result<Option<Local<'env, Currency>>, Local<'env, Throwable>>
[src]

getCurrency

Required features: "android-icu-util-Currency"

pub fn setCurrency<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Currency>>
) -> Result<(), Local<'env, Throwable>>
[src]

setCurrency

Required features: "android-icu-util-Currency"

pub fn getCurrencyUsage<'env>(
    &'env self
) -> Result<Option<Local<'env, Currency_CurrencyUsage>>, Local<'env, Throwable>>
[src]

getCurrencyUsage

Required features: "android-icu-util-Currency_CurrencyUsage"

pub fn setCurrencyUsage<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Currency_CurrencyUsage>>
) -> Result<(), Local<'env, Throwable>>
[src]

setCurrencyUsage

Required features: "android-icu-util-Currency_CurrencyUsage"

pub fn getCurrencyPluralInfo<'env>(
    &'env self
) -> Result<Option<Local<'env, CurrencyPluralInfo>>, Local<'env, Throwable>>
[src]

getCurrencyPluralInfo

Required features: "android-icu-text-CurrencyPluralInfo"

pub fn setCurrencyPluralInfo<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CurrencyPluralInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]

setCurrencyPluralInfo

Required features: "android-icu-text-CurrencyPluralInfo"

pub fn isParseBigDecimal<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setParseBigDecimal<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn getParseMaxDigits<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

Deprecated

pub fn setParseMaxDigits<'env>(
    &'env self,
    arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]

Deprecated

pub fn isParseStrict<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

pub fn setParseStrict<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isParseIntegerOnly<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setParseIntegerOnly<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isDecimalPatternMatchRequired<'env>(
    &'env self
) -> Result<bool, Local<'env, Throwable>>
[src]

pub fn setDecimalPatternMatchRequired<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn toString<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toString

Required features: "java-lang-String"

pub fn toPattern<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toPattern

Required features: "java-lang-String"

pub fn toLocalizedPattern<'env>(
    &'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

toLocalizedPattern

Required features: "java-lang-String"

pub const PAD_AFTER_PREFIX: i32[src]

pub const PAD_AFTER_SUFFIX: i32[src]

pub const PAD_BEFORE_PREFIX: i32[src]

pub const PAD_BEFORE_SUFFIX: i32[src]

Trait Implementations

impl AsJValue for CompactDecimalFormat

impl AsValidJObjectAndEnv for CompactDecimalFormat

impl Deref for CompactDecimalFormat

type Target = DecimalFormat

The resulting type after dereferencing.

impl JniType for CompactDecimalFormat

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.