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

#[repr(transparent)]
pub struct 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]

getInstance

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]

getInstance

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

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

getTimeZoneNames

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]

setTimeZoneNames

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]

getGMTPattern

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]

setGMTPattern

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]

getGMTOffsetPattern

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]

setGMTOffsetPattern

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]

getGMTOffsetDigits

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]

setGMTOffsetDigits

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

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

getGMTZeroFormat

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]

setGMTZeroFormat

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]

setDefaultParseOptions

Required features: "android-icu-text-TimeZoneFormat", "java-util-EnumSet"

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

getDefaultParseOptions

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]

formatOffsetISO8601Basic

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]

formatOffsetISO8601Extended

Required features: "java-lang-String"

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

formatOffsetLocalizedGMT

Required features: "java-lang-String"

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

formatOffsetShortLocalizedGMT

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]

format

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]

format

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]

parseOffsetISO8601

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]

parseOffsetLocalizedGMT

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]

parseOffsetShortLocalizedGMT

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]

parse

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]

parse

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]

parse

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]

parse

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]

format

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]

formatToCharacterIterator

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]

parseObject

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]

freeze

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

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

cloneAsThawed

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

impl AsValidJObjectAndEnv for TimeZoneFormat

impl Deref for TimeZoneFormat

type Target = UFormat

The resulting type after dereferencing.

impl JniType for TimeZoneFormat

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.