[]Struct jni_android_sys::java::time::ZoneId

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

public class ZoneId

Required feature: "java-time-ZoneId"

Methods

impl ZoneId

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

systemDefault

Required features: "java-time-ZoneId"

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

getAvailableZoneIds

Required features: "java-util-Set"

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

of

Required features: "java-lang-String", "java-time-ZoneId", "java-util-Map"

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

of

Required features: "java-lang-String", "java-time-ZoneId"

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

ofOffset

Required features: "java-lang-String", "java-time-ZoneId", "java-time-ZoneOffset"

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

from

Required features: "java-time-ZoneId", "java-time-temporal-TemporalAccessor"

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

getId

Required features: "java-lang-String"

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

getDisplayName

Required features: "java-lang-String", "java-time-format-TextStyle", "java-util-Locale"

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

getRules

Required features: "java-time-zone-ZoneRules"

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

normalized

Required features: "java-time-ZoneId"

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 hashCode<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>[src]

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

toString

Required features: "java-lang-String"

pub fn SHORT_IDS<'env>(env: &'env Env) -> Option<Local<'env, Map>>[src]

get public static final SHORT_IDS

Required feature: "java-util-Map"

Methods from Deref<Target = Object>

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

getClass

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]

equals

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 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]

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

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

Trait Implementations

impl AsJValue for ZoneId

impl AsRef<Serializable> for ZoneId

impl AsValidJObjectAndEnv for ZoneId

impl Deref for ZoneId

type Target = Object

The resulting type after dereferencing.

impl JniType for ZoneId

Auto Trait Implementations

impl RefUnwindSafe for ZoneId

impl !Send for ZoneId

impl !Sync for ZoneId

impl Unpin for ZoneId

impl UnwindSafe for ZoneId

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.