[−]Struct jni_android_sys::android::icu::util::TaiwanCalendar
public class TaiwanCalendar
Required feature: "android-icu-util-TaiwanCalendar"
Methods
impl TaiwanCalendar
pub fn new<'env>(
__jni_env: &'env Env
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
pub fn new_TimeZone<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TimeZone>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TimeZone>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone"
pub fn new_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn new_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
Required features: "android-icu-util-ULocale"
pub fn new_TimeZone_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TimeZone>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TimeZone>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone", "java-util-Locale"
pub fn new_TimeZone_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TimeZone>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TimeZone>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone", "android-icu-util-ULocale"
pub fn new_Date<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Date>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Date>>
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
Required features: "java-util-Date"
pub fn new_int_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
pub fn new_int_int_int_int_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32,
arg3: i32,
arg4: i32,
arg5: i32
) -> Result<Local<'env, TaiwanCalendar>, Local<'env, Throwable>>
pub fn getType<'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 const BEFORE_MINGUO: i32
[src]
public static final BEFORE_MINGUO
pub const MINGUO: i32
[src]
public static final MINGUO
Methods from Deref<Target = GregorianCalendar>
pub fn setGregorianChange<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<(), Local<'env, Throwable>>
Required features: "java-util-Date"
pub fn getGregorianChange<'env>(
&'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
Required features: "java-util-Date"
pub fn isLeapYear<'env>(
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<bool, Local<'env, Throwable>>
pub fn isEquivalentTo<'env>(
&'env self,
arg0: impl Into<Option<&'env Calendar>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Calendar>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-icu-util-Calendar"
pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
pub fn roll<'env>(
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn getActualMinimum<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn getActualMaximum<'env>(
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<i32, Local<'env, Throwable>>
pub fn getType<'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 const AD: i32
[src]
pub const BC: i32
[src]
Trait Implementations
impl AsJValue for TaiwanCalendar
impl AsValidJObjectAndEnv for TaiwanCalendar
impl Deref for TaiwanCalendar
type Target = GregorianCalendar
The resulting type after dereferencing.
fn deref(&self) -> &Self::Target
impl JniType for TaiwanCalendar
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for TaiwanCalendar
impl !Send for TaiwanCalendar
impl !Sync for TaiwanCalendar
impl Unpin for TaiwanCalendar
impl UnwindSafe for TaiwanCalendar
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>,