[−]Struct jni_android_sys::android::icu::text::TimeZoneFormat
public class TimeZoneFormat
Required feature: "android-icu-text-TimeZoneFormat"
Methods
impl TimeZoneFormat
pub fn getInstance_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat", "android-icu-util-ULocale"
pub fn getInstance_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat", "java-util-Locale"
pub fn getTimeZoneNames<'env>(
&'env self
) -> Result<Option<Local<'env, TimeZoneNames>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TimeZoneNames>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneNames"
pub fn setTimeZoneNames<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZoneNames>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZoneNames>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat", "android-icu-text-TimeZoneNames"
pub fn getGMTPattern<'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 setGMTPattern<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat", "java-lang-String"
pub fn getGMTOffsetPattern<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_GMTOffsetPatternType>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_GMTOffsetPatternType>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat_GMTOffsetPatternType", "java-lang-String"
pub fn setGMTOffsetPattern<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_GMTOffsetPatternType>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_GMTOffsetPatternType>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat", "android-icu-text-TimeZoneFormat_GMTOffsetPatternType", "java-lang-String"
pub fn getGMTOffsetDigits<'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 setGMTOffsetDigits<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat", "java-lang-String"
pub fn getGMTZeroFormat<'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 setGMTZeroFormat<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat", "java-lang-String"
pub fn setDefaultParseOptions<'env>(
&'env self,
arg0: impl Into<Option<&'env EnumSet>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env EnumSet>>
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat", "java-util-EnumSet"
pub fn getDefaultParseOptions<'env>(
&'env self
) -> Result<Option<Local<'env, EnumSet>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, EnumSet>>, Local<'env, Throwable>>
Required features: "java-util-EnumSet"
pub fn formatOffsetISO8601Basic<'env>(
&'env self,
arg0: i32,
arg1: bool,
arg2: bool,
arg3: bool
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool,
arg2: bool,
arg3: bool
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn formatOffsetISO8601Extended<'env>(
&'env self,
arg0: i32,
arg1: bool,
arg2: bool,
arg3: bool
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: bool,
arg2: bool,
arg3: bool
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn formatOffsetLocalizedGMT<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn formatOffsetShortLocalizedGMT<'env>(
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn format_Style_TimeZone_long<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_Style>>,
arg1: impl Into<Option<&'env TimeZone>>,
arg2: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_Style>>,
arg1: impl Into<Option<&'env TimeZone>>,
arg2: i64
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat_Style", "android-icu-util-TimeZone", "java-lang-String"
pub fn format_Style_TimeZone_long_Output<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_Style>>,
arg1: impl Into<Option<&'env TimeZone>>,
arg2: i64,
arg3: impl Into<Option<&'env Output>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_Style>>,
arg1: impl Into<Option<&'env TimeZone>>,
arg2: i64,
arg3: impl Into<Option<&'env Output>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat_Style", "android-icu-util-Output", "android-icu-util-TimeZone", "java-lang-String"
pub fn parseOffsetISO8601<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String", "java-text-ParsePosition"
pub fn parseOffsetLocalizedGMT<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String", "java-text-ParsePosition"
pub fn parseOffsetShortLocalizedGMT<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-lang-String", "java-text-ParsePosition"
pub fn parse_Style_String_ParsePosition_EnumSet_Output<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_Style>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ParsePosition>>,
arg3: impl Into<Option<&'env EnumSet>>,
arg4: impl Into<Option<&'env Output>>
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_Style>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ParsePosition>>,
arg3: impl Into<Option<&'env EnumSet>>,
arg4: impl Into<Option<&'env Output>>
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat_Style", "android-icu-util-Output", "android-icu-util-TimeZone", "java-lang-String", "java-text-ParsePosition", "java-util-EnumSet"
pub fn parse_Style_String_ParsePosition_Output<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_Style>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ParsePosition>>,
arg3: impl Into<Option<&'env Output>>
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZoneFormat_Style>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ParsePosition>>,
arg3: impl Into<Option<&'env Output>>
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat_Style", "android-icu-util-Output", "android-icu-util-TimeZone", "java-lang-String", "java-text-ParsePosition"
pub fn parse_String_ParsePosition<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone", "java-lang-String", "java-text-ParsePosition"
pub fn parse_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone", "java-lang-String"
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 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 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 isFrozen<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn freeze<'env>(
&'env self
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat"
pub fn cloneAsThawed<'env>(
&'env self
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TimeZoneFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-TimeZoneFormat"
Methods from Deref<Target = UFormat>
Trait Implementations
impl AsJValue for TimeZoneFormat
impl AsRef<Freezable> for TimeZoneFormat
impl AsRef<Serializable> for TimeZoneFormat
fn as_ref(&self) -> &Serializable
impl AsValidJObjectAndEnv for TimeZoneFormat
impl Deref for TimeZoneFormat
impl JniType for TimeZoneFormat
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for TimeZoneFormat
impl !Send for TimeZoneFormat
impl !Sync for TimeZoneFormat
impl Unpin for TimeZoneFormat
impl UnwindSafe for TimeZoneFormat
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>,