[]Struct jni_android_sys::android::icu::util::ChineseCalendar

#[repr(transparent)]
pub struct ChineseCalendar(_);

public class ChineseCalendar

Required feature: "android-icu-util-ChineseCalendar"

Methods

impl ChineseCalendar

pub fn new<'env>(
    __jni_env: &'env Env
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

pub fn new_Date<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Date>>
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

ChineseCalendar

Required features: "java-util-Date"

pub fn new_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

pub fn new_int_int_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32,
    arg6: i32
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

pub fn new_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

pub fn new_int_int_int_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32,
    arg6: i32,
    arg7: i32
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

pub fn new_Locale<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Locale>>
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

ChineseCalendar

Required features: "java-util-Locale"

pub fn new_TimeZone<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env TimeZone>>
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

ChineseCalendar

Required features: "android-icu-util-TimeZone"

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, ChineseCalendar>, Local<'env, Throwable>>
[src]

ChineseCalendar

Required features: "android-icu-util-TimeZone", "java-util-Locale"

pub fn new_ULocale<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Local<'env, ChineseCalendar>, Local<'env, Throwable>>
[src]

ChineseCalendar

Required features: "android-icu-util-ULocale"

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, ChineseCalendar>, Local<'env, Throwable>>
[src]

ChineseCalendar

Required features: "android-icu-util-TimeZone", "android-icu-util-ULocale"

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

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

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

getType

Required features: "java-lang-String"

Methods from Deref<Target = Calendar>

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

getTime

Required features: "java-util-Date"

pub fn setTime<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Date>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTime

Required features: "java-util-Date"

pub fn getTimeInMillis<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>[src]

pub fn setTimeInMillis<'env>(
    &'env self,
    arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

pub fn set_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn set_int_int_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn set_int_int_int_int_int_int<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

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

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

equals

Required features: "java-lang-Object"

pub fn isEquivalentTo<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Calendar>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isEquivalentTo

Required features: "android-icu-util-Calendar"

pub fn hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

pub fn before<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

before

Required features: "java-lang-Object"

pub fn after<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]

after

Required features: "java-lang-Object"

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

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

pub fn roll_int_boolean<'env>(
    &'env self,
    arg0: i32,
    arg1: bool
) -> Result<(), Local<'env, Throwable>>
[src]

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

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

pub fn getDisplayName_Locale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayName

Required features: "java-lang-String", "java-util-Locale"

pub fn getDisplayName_ULocale<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayName

Required features: "android-icu-util-ULocale", "java-lang-String"

pub fn compareTo_Calendar<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Calendar>>
) -> Result<i32, Local<'env, Throwable>>
[src]

compareTo

Required features: "android-icu-util-Calendar"

pub fn getDateTimeFormat_int_int_Locale<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]

getDateTimeFormat

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

pub fn getDateTimeFormat_int_int_ULocale<'env>(
    &'env self,
    arg0: i32,
    arg1: i32,
    arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]

getDateTimeFormat

Required features: "android-icu-text-DateFormat", "android-icu-util-ULocale"

pub fn fieldDifference<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Date>>,
    arg1: i32
) -> Result<i32, Local<'env, Throwable>>
[src]

fieldDifference

Required features: "java-util-Date"

pub fn setTimeZone<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TimeZone>>
) -> Result<(), Local<'env, Throwable>>
[src]

setTimeZone

Required features: "android-icu-util-TimeZone"

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

getTimeZone

Required features: "android-icu-util-TimeZone"

pub fn setLenient<'env>(
    &'env self,
    arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]

pub fn isLenient<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

pub fn getRepeatedWallTimeOption<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

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

pub fn getSkippedWallTimeOption<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

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

pub fn getFirstDayOfWeek<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

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

pub fn getMinimalDaysInFirstWeek<'env>(
    &'env self
) -> Result<i32, Local<'env, Throwable>>
[src]

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

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

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

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

pub fn isWeekend_Date<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Date>>
) -> Result<bool, Local<'env, Throwable>>
[src]

isWeekend

Required features: "java-util-Date"

pub fn isWeekend<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>[src]

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

clone

Required features: "java-lang-Object"

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

toString

Required features: "java-lang-String"

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

getWeekData

Required features: "android-icu-util-Calendar_WeekData"

pub fn setWeekData<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Calendar_WeekData>>
) -> Result<Option<Local<'env, Calendar>>, Local<'env, Throwable>>
[src]

setWeekData

Required features: "android-icu-util-Calendar", "android-icu-util-Calendar_WeekData"

pub fn getFieldCount<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

getType

Required features: "java-lang-String"

pub const AM: i32[src]

pub const AM_PM: i32[src]

pub const APRIL: i32[src]

pub const AUGUST: i32[src]

pub const DATE: i32[src]

pub const DAY_OF_MONTH: i32[src]

pub const DAY_OF_WEEK: i32[src]

pub const DAY_OF_WEEK_IN_MONTH: i32[src]

pub const DAY_OF_YEAR: i32[src]

pub const DECEMBER: i32[src]

pub const DOW_LOCAL: i32[src]

pub const DST_OFFSET: i32[src]

pub const ERA: i32[src]

pub const EXTENDED_YEAR: i32[src]

pub const FEBRUARY: i32[src]

pub const FRIDAY: i32[src]

pub const HOUR: i32[src]

pub const HOUR_OF_DAY: i32[src]

pub const IS_LEAP_MONTH: i32[src]

pub const JANUARY: i32[src]

pub const JULIAN_DAY: i32[src]

pub const JULY: i32[src]

pub const JUNE: i32[src]

pub const MARCH: i32[src]

pub const MAY: i32[src]

pub const MILLISECOND: i32[src]

pub const MILLISECONDS_IN_DAY: i32[src]

pub const MINUTE: i32[src]

pub const MONDAY: i32[src]

pub const MONTH: i32[src]

pub const NOVEMBER: i32[src]

pub const OCTOBER: i32[src]

pub const PM: i32[src]

pub const SATURDAY: i32[src]

pub const SECOND: i32[src]

pub const SEPTEMBER: i32[src]

pub const SUNDAY: i32[src]

pub const THURSDAY: i32[src]

pub const TUESDAY: i32[src]

pub const UNDECIMBER: i32[src]

pub const WALLTIME_FIRST: i32[src]

pub const WALLTIME_LAST: i32[src]

pub const WALLTIME_NEXT_VALID: i32[src]

pub const WEDNESDAY: i32[src]

pub const WEEK_OF_MONTH: i32[src]

pub const WEEK_OF_YEAR: i32[src]

pub const YEAR: i32[src]

pub const YEAR_WOY: i32[src]

pub const ZONE_OFFSET: i32[src]

Trait Implementations

impl AsJValue for ChineseCalendar

impl AsValidJObjectAndEnv for ChineseCalendar

impl Deref for ChineseCalendar

type Target = Calendar

The resulting type after dereferencing.

impl JniType for ChineseCalendar

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.