[−]Struct jni_android_sys::android::icu::text::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateIntervalFormat>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateIntervalFormat>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateIntervalFormat>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env DateIntervalInfo>>
) -> Result<Option<Local<'env, DateIntervalFormat>>, Local<'env, Throwable>>
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]
__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>>
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]
__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>>
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]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
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]
&'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 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]
&'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>>
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]
&'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>>
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]
&'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 getDateIntervalInfo<'env>(
&'env self
) -> Result<Option<Local<'env, DateIntervalInfo>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DateIntervalInfo>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateIntervalInfo"
pub fn setDateIntervalInfo<'env>(
&'env self,
arg0: impl Into<Option<&'env DateIntervalInfo>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DateIntervalInfo>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-text-DateIntervalInfo"
pub fn getTimeZone<'env>(
&'env self
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone"
pub fn setTimeZone<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZone>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZone>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone"
pub fn getDateFormat<'env>(
&'env self
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
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
impl JniType for DateIntervalFormat
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DateIntervalFormat
impl !Send for DateIntervalFormat
impl !Sync for DateIntervalFormat
impl Unpin for DateIntervalFormat
impl UnwindSafe for DateIntervalFormat
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>,