[]Struct jni_android_sys::java::util::SimpleTimeZone

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

public class SimpleTimeZone

Required feature: "java-util-SimpleTimeZone"

Methods

impl SimpleTimeZone

pub fn new_int_String<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>
) -> Result<Local<'env, SimpleTimeZone>, Local<'env, Throwable>>
[src]

SimpleTimeZone

Required features: "java-lang-String"

pub fn new_int_String_int_int_int_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32,
    arg6: i32,
    arg7: i32,
    arg8: i32,
    arg9: i32
) -> Result<Local<'env, SimpleTimeZone>, Local<'env, Throwable>>
[src]

SimpleTimeZone

Required features: "java-lang-String"

pub fn new_int_String_int_int_int_int_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32,
    arg6: i32,
    arg7: i32,
    arg8: i32,
    arg9: i32,
    arg10: i32
) -> Result<Local<'env, SimpleTimeZone>, Local<'env, Throwable>>
[src]

SimpleTimeZone

Required features: "java-lang-String"

pub fn new_int_String_int_int_int_int_int_int_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env String>>,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32,
    arg6: i32,
    arg7: i32,
    arg8: i32,
    arg9: i32,
    arg10: i32,
    arg11: i32,
    arg12: i32
) -> Result<Local<'env, SimpleTimeZone>, Local<'env, Throwable>>
[src]

SimpleTimeZone

Required features: "java-lang-String"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

inDaylightTime

Required features: "java-util-Date"

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

clone

Required features: "java-lang-Object"

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]

equals

Required features: "java-lang-Object"

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

hasSameRules

Required features: "java-util-TimeZone"

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

toString

Required features: "java-lang-String"

pub const STANDARD_TIME: i32[src]

public static final STANDARD_TIME

pub const UTC_TIME: i32[src]

public static final UTC_TIME

pub const WALL_TIME: i32[src]

public static final WALL_TIME

Methods from Deref<Target = TimeZone>

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

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

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

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

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

getID

Required features: "java-lang-String"

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

setID

Required features: "java-lang-String"

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

getDisplayName

Required features: "java-lang-String"

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_boolean_int<'env>(
    &'env self,
    arg0: bool,
    arg1: i32
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getDisplayName

Required features: "java-lang-String"

pub fn getDisplayName_boolean_int_Locale<'env>(
    &'env self,
    arg0: bool,
    arg1: i32,
    arg2: 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 getDSTSavings<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

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

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

inDaylightTime

Required features: "java-util-Date"

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

toZoneId

Required features: "java-time-ZoneId"

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

hasSameRules

Required features: "java-util-TimeZone"

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

clone

Required features: "java-lang-Object"

pub const LONG: i32[src]

pub const SHORT: i32[src]

Trait Implementations

impl AsJValue for SimpleTimeZone

impl AsValidJObjectAndEnv for SimpleTimeZone

impl Deref for SimpleTimeZone

type Target = TimeZone

The resulting type after dereferencing.

impl JniType for SimpleTimeZone

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.