[−]Struct jni_android_sys::android::icu::text::DateTimePatternGenerator
public class DateTimePatternGenerator
Required feature: "android-icu-text-DateTimePatternGenerator"
Methods
impl DateTimePatternGenerator
pub fn getEmptyInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateTimePatternGenerator"
pub fn getInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateTimePatternGenerator"
pub fn getInstance_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateTimePatternGenerator", "android-icu-util-ULocale"
pub fn getInstance_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateTimePatternGenerator", "java-util-Locale"
pub fn getBestPattern_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getBestPattern_String_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn addPattern<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool,
arg2: impl Into<Option<&'env DateTimePatternGenerator_PatternInfo>>
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: bool,
arg2: impl Into<Option<&'env DateTimePatternGenerator_PatternInfo>>
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateTimePatternGenerator", "android-icu-text-DateTimePatternGenerator_PatternInfo", "java-lang-String"
pub fn getSkeleton<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getBaseSkeleton<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getSkeletons<'env>(
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, Map>>, Local<'env, Throwable>>
Required features: "java-util-Map"
pub fn getBaseSkeletons<'env>(
&'env self,
arg0: impl Into<Option<&'env Set>>
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Set>>
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
Required features: "java-util-Set"
pub fn replaceFieldTypes_String_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn replaceFieldTypes_String_String_int<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env String>>,
arg2: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn setDateTimeFormat<'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 getDateTimeFormat<'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 setDecimal<'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 getDecimal<'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 setAppendItemFormat<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getAppendItemFormat<'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 setAppendItemName<'env>(
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: impl Into<Option<&'env String>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn getAppendItemName<'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 isFrozen<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn freeze<'env>(
&'env self
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateTimePatternGenerator"
pub fn cloneAsThawed<'env>(
&'env self
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DateTimePatternGenerator>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateTimePatternGenerator"
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 const DAY: i32
[src]
public static final DAY
pub const DAYPERIOD: i32
[src]
public static final DAYPERIOD
pub const DAY_OF_WEEK_IN_MONTH: i32
[src]
public static final DAY_OF_WEEK_IN_MONTH
pub const DAY_OF_YEAR: i32
[src]
public static final DAY_OF_YEAR
pub const ERA: i32
[src]
public static final ERA
pub const FRACTIONAL_SECOND: i32
[src]
public static final FRACTIONAL_SECOND
pub const HOUR: i32
[src]
public static final HOUR
pub const MATCH_ALL_FIELDS_LENGTH: i32
[src]
public static final MATCH_ALL_FIELDS_LENGTH
pub const MATCH_HOUR_FIELD_LENGTH: i32
[src]
public static final MATCH_HOUR_FIELD_LENGTH
pub const MATCH_NO_OPTIONS: i32
[src]
public static final MATCH_NO_OPTIONS
pub const MINUTE: i32
[src]
public static final MINUTE
pub const MONTH: i32
[src]
public static final MONTH
pub const QUARTER: i32
[src]
public static final QUARTER
pub const SECOND: i32
[src]
public static final SECOND
pub const WEEKDAY: i32
[src]
public static final WEEKDAY
pub const WEEK_OF_MONTH: i32
[src]
public static final WEEK_OF_MONTH
pub const WEEK_OF_YEAR: i32
[src]
public static final WEEK_OF_YEAR
pub const YEAR: i32
[src]
public static final YEAR
pub const ZONE: i32
[src]
public static final ZONE
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
Required features: "java-lang-Class"
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 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 notify<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn notifyAll<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
pub fn wait_long<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for DateTimePatternGenerator
impl AsRef<Cloneable> for DateTimePatternGenerator
impl AsRef<Freezable> for DateTimePatternGenerator
impl AsValidJObjectAndEnv for DateTimePatternGenerator
impl Deref for DateTimePatternGenerator
impl JniType for DateTimePatternGenerator
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DateTimePatternGenerator
impl !Send for DateTimePatternGenerator
impl !Sync for DateTimePatternGenerator
impl Unpin for DateTimePatternGenerator
impl UnwindSafe for DateTimePatternGenerator
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>,