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

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

public class DateIntervalFormat

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

Methods

impl DateIntervalFormat

pub fn getInstance_String<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateIntervalFormat>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-icu-text-DateIntervalFormat", "java-lang-String"

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

getInstance

Required features: "android-icu-text-DateIntervalFormat", "java-lang-String", "java-util-Locale"

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

getInstance

Required features: "android-icu-text-DateIntervalFormat", "android-icu-util-ULocale", "java-lang-String"

pub fn getInstance_String_DateIntervalInfo<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env DateIntervalInfo>>
) -> Result<Option<Local<'env, DateIntervalFormat>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-icu-text-DateIntervalFormat", "android-icu-text-DateIntervalInfo", "java-lang-String"

pub fn getInstance_String_Locale_DateIntervalInfo<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env Locale>>,
    arg2: impl Into<Option<&'env DateIntervalInfo>>
) -> Result<Option<Local<'env, DateIntervalFormat>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-icu-text-DateIntervalFormat", "android-icu-text-DateIntervalInfo", "java-lang-String", "java-util-Locale"

pub fn getInstance_String_ULocale_DateIntervalInfo<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>,
    arg1: impl Into<Option<&'env ULocale>>,
    arg2: impl Into<Option<&'env DateIntervalInfo>>
) -> Result<Option<Local<'env, DateIntervalFormat>>, Local<'env, Throwable>>
[src]

getInstance

Required features: "android-icu-text-DateIntervalFormat", "android-icu-text-DateIntervalInfo", "android-icu-util-ULocale", "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_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]

format

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

pub fn format_DateInterval_StringBuffer_FieldPosition<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DateInterval>>,
    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-DateInterval", "java-lang-StringBuffer", "java-text-FieldPosition"

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

format

Required features: "android-icu-util-Calendar", "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]

Deprecated

parseObject

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

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

getDateIntervalInfo

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

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

setDateIntervalInfo

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

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

getTimeZone

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

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

setTimeZone

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

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

getDateFormat

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

Methods from Deref<Target = UFormat>

Trait Implementations

impl AsJValue for DateIntervalFormat

impl AsValidJObjectAndEnv for DateIntervalFormat

impl Deref for DateIntervalFormat

type Target = UFormat

The resulting type after dereferencing.

impl JniType for DateIntervalFormat

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.