[−]Struct jni_android_sys::android::icu::text::DecimalFormat
public class DecimalFormat
Required feature: "android-icu-text-DecimalFormat"
Methods
impl DecimalFormat
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, DecimalFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, DecimalFormat>, Local<'env, Throwable>>
pub fn new_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, DecimalFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Local<'env, DecimalFormat>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn new_String_DecimalFormatSymbols<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env DecimalFormatSymbols>>
) -> Result<Local<'env, DecimalFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env DecimalFormatSymbols>>
) -> Result<Local<'env, DecimalFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-DecimalFormatSymbols", "java-lang-String"
pub fn new_String_DecimalFormatSymbols_CurrencyPluralInfo_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env DecimalFormatSymbols>>,
arg2: impl Into<Option<&'env CurrencyPluralInfo>>,
arg3: i32
) -> Result<Local<'env, DecimalFormat>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env DecimalFormatSymbols>>,
arg2: impl Into<Option<&'env CurrencyPluralInfo>>,
arg3: i32
) -> Result<Local<'env, DecimalFormat>, Local<'env, Throwable>>
Required features: "android-icu-text-CurrencyPluralInfo", "android-icu-text-DecimalFormatSymbols", "java-lang-String"
pub fn applyPattern<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn applyLocalizedPattern<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
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]
&'env self,
arg0: f64,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<Option<Local<'env, AttributedCharacterIterator>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, CurrencyAmount>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, DecimalFormatSymbols>>, Local<'env, Throwable>>
Required features: "android-icu-text-DecimalFormatSymbols"
pub fn setDecimalFormatSymbols<'env>(
&'env self,
arg0: impl Into<Option<&'env DecimalFormatSymbols>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DecimalFormatSymbols>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-text-DecimalFormatSymbols"
pub fn getPositivePrefix<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setPositivePrefix<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getNegativePrefix<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setNegativePrefix<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getPositiveSuffix<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setPositiveSuffix<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getNegativeSuffix<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setNegativeSuffix<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getRoundingIncrement<'env>(
&'env self
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
Required features: "java-math-BigDecimal"
pub fn setRoundingIncrement_javaBigDecimal<'env>(
&'env self,
arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-math-BigDecimal"
pub fn setRoundingIncrement_BigDecimal<'env>(
&'env self,
arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-math-BigDecimal"
pub fn setRoundingIncrement_double<'env>(
&'env self,
arg0: f64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: f64
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMathContext<'env>(
&'env self
) -> Result<Option<Local<'env, MathContext>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MathContext>>, Local<'env, Throwable>>
Required features: "java-math-MathContext"
pub fn setMathContext<'env>(
&'env self,
arg0: impl Into<Option<&'env MathContext>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MathContext>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-math-MathContext"
pub fn getMathContextICU<'env>(
&'env self
) -> Result<Option<Local<'env, MathContext>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, MathContext>>, Local<'env, Throwable>>
Required features: "android-icu-math-MathContext"
pub fn setMathContextICU<'env>(
&'env self,
arg0: impl Into<Option<&'env MathContext>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env MathContext>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-math-MathContext"
pub fn getMinimumIntegerDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMinimumIntegerDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMaximumIntegerDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMaximumIntegerDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMinimumFractionDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMinimumFractionDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMaximumFractionDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMaximumFractionDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn areSignificantDigitsUsed<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setSignificantDigitsUsed<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getMinimumSignificantDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMinimumSignificantDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMaximumSignificantDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMaximumSignificantDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getPadCharacter<'env>(
&'env self
) -> Result<jchar, Local<'env, Throwable>>
[src]
&'env self
) -> Result<jchar, Local<'env, Throwable>>
pub fn setPadCharacter<'env>(
&'env self,
arg0: jchar
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: jchar
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn isScientificNotation<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setScientificNotation<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getMinimumExponentDigits<'env>(
&'env self
) -> Result<i8, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i8, Local<'env, Throwable>>
pub fn setMinimumExponentDigits<'env>(
&'env self,
arg0: i8
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i8
) -> Result<(), Local<'env, Throwable>>
pub fn isExponentSignAlwaysShown<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setExponentSignAlwaysShown<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getSecondaryGroupingSize<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setSecondaryGroupingSize<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn isDecimalSeparatorAlwaysShown<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setDecimalSeparatorAlwaysShown<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getCurrency<'env>(
&'env self
) -> Result<Option<Local<'env, Currency>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Currency>>, Local<'env, Throwable>>
Required features: "android-icu-util-Currency"
pub fn setCurrency<'env>(
&'env self,
arg0: impl Into<Option<&'env Currency>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Currency>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-util-Currency"
pub fn getCurrencyUsage<'env>(
&'env self
) -> Result<Option<Local<'env, Currency_CurrencyUsage>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Currency_CurrencyUsage>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Currency_CurrencyUsage>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-util-Currency_CurrencyUsage"
pub fn getCurrencyPluralInfo<'env>(
&'env self
) -> Result<Option<Local<'env, CurrencyPluralInfo>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, CurrencyPluralInfo>>, Local<'env, Throwable>>
Required features: "android-icu-text-CurrencyPluralInfo"
pub fn setCurrencyPluralInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env CurrencyPluralInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CurrencyPluralInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-text-CurrencyPluralInfo"
pub fn isParseBigDecimal<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setParseBigDecimal<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getParseMaxDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setParseMaxDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isParseIntegerOnly<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setParseIntegerOnly<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isDecimalPatternMatchRequired<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setDecimalPatternMatchRequired<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toPattern<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toLocalizedPattern<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub const PAD_AFTER_PREFIX: i32
[src]
public static final PAD_AFTER_PREFIX
pub const PAD_AFTER_SUFFIX: i32
[src]
public static final PAD_AFTER_SUFFIX
pub const PAD_BEFORE_PREFIX: i32
[src]
public static final PAD_BEFORE_PREFIX
pub const PAD_BEFORE_SUFFIX: i32
[src]
public static final PAD_BEFORE_SUFFIX
Methods from Deref<Target = NumberFormat>
pub fn format_Object_StringBuffer_FieldPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-StringBuffer", "java-text-FieldPosition"
pub fn parseObject<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String", "java-text-ParsePosition"
pub fn format_double<'env>(
&'env self,
arg0: f64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: f64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn format_long<'env>(
&'env self,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn format_BigInteger<'env>(
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigInteger>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-math-BigInteger"
pub fn format_javaBigDecimal<'env>(
&'env self,
arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-math-BigDecimal"
pub fn format_BigDecimal<'env>(
&'env self,
arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env BigDecimal>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-math-BigDecimal", "java-lang-String"
pub fn format_CurrencyAmount<'env>(
&'env self,
arg0: impl Into<Option<&'env CurrencyAmount>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env CurrencyAmount>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-util-CurrencyAmount", "java-lang-String"
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]
&'env self,
arg0: f64,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
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]
&'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>>
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]
&'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>>
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]
&'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>>
Required features: "android-icu-math-BigDecimal", "java-lang-StringBuffer", "java-text-FieldPosition"
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]
&'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>>
Required features: "android-icu-util-CurrencyAmount", "java-lang-StringBuffer", "java-text-FieldPosition"
pub fn parse_String_ParsePosition<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
Required features: "java-lang-Number", "java-lang-String", "java-text-ParsePosition"
pub fn parse_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Number>>, Local<'env, Throwable>>
Required features: "java-lang-Number", "java-lang-String"
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, CurrencyAmount>>, Local<'env, Throwable>>
Required features: "android-icu-util-CurrencyAmount", "java-lang-CharSequence", "java-text-ParsePosition"
pub fn isParseIntegerOnly<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setParseIntegerOnly<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn setParseStrict<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isParseStrict<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setContext<'env>(
&'env self,
arg0: impl Into<Option<&'env DisplayContext>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DisplayContext>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-text-DisplayContext"
pub fn getContext<'env>(
&'env self,
arg0: impl Into<Option<&'env DisplayContext_Type>>
) -> Result<Option<Local<'env, DisplayContext>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DisplayContext_Type>>
) -> Result<Option<Local<'env, DisplayContext>>, Local<'env, Throwable>>
Required features: "android-icu-text-DisplayContext", "android-icu-text-DisplayContext_Type"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
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]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn getMaximumIntegerDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMaximumIntegerDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMinimumIntegerDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMinimumIntegerDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMaximumFractionDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMaximumFractionDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getMinimumFractionDigits<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
pub fn setMinimumFractionDigits<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub fn setCurrency<'env>(
&'env self,
arg0: impl Into<Option<&'env Currency>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Currency>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-util-Currency"
pub fn getCurrency<'env>(
&'env self
) -> Result<Option<Local<'env, Currency>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Currency>>, Local<'env, Throwable>>
Required features: "android-icu-util-Currency"
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]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
pub const ACCOUNTINGCURRENCYSTYLE: i32
[src]
pub const CASHCURRENCYSTYLE: i32
[src]
pub const CURRENCYSTYLE: i32
[src]
pub const FRACTION_FIELD: i32
[src]
pub const INTEGERSTYLE: i32
[src]
pub const INTEGER_FIELD: i32
[src]
pub const ISOCURRENCYSTYLE: i32
[src]
pub const NUMBERSTYLE: i32
[src]
pub const PERCENTSTYLE: i32
[src]
pub const PLURALCURRENCYSTYLE: i32
[src]
pub const SCIENTIFICSTYLE: i32
[src]
pub const STANDARDCURRENCYSTYLE: i32
[src]
Trait Implementations
impl AsJValue for DecimalFormat
impl AsValidJObjectAndEnv for DecimalFormat
impl Deref for DecimalFormat
impl JniType for DecimalFormat
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DecimalFormat
impl !Send for DecimalFormat
impl !Sync for DecimalFormat
impl Unpin for DecimalFormat
impl UnwindSafe for DecimalFormat
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,