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

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

public final class UniversalTimeScale

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

Methods

impl UniversalTimeScale

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

pub fn bigDecimalFrom_double_int<'env>(
    __jni_env: &'env Env,
    arg0: f64,
    arg1: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

bigDecimalFrom

Required features: "android-icu-math-BigDecimal"

pub fn bigDecimalFrom_long_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

bigDecimalFrom

Required features: "android-icu-math-BigDecimal"

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

bigDecimalFrom

Required features: "android-icu-math-BigDecimal"

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

pub fn toBigDecimal_long_int<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i32
) -> Result<Option<Local<'env, BigDecimal>>, Local<'env, Throwable>>
[src]

toBigDecimal

Required features: "android-icu-math-BigDecimal"

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

toBigDecimal

Required features: "android-icu-math-BigDecimal"

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

pub const DB2_TIME: i32[src]

public static final DB2_TIME

pub const DOTNET_DATE_TIME: i32[src]

public static final DOTNET_DATE_TIME

pub const EPOCH_OFFSET_PLUS_1_VALUE: i32[src]

public static final EPOCH_OFFSET_PLUS_1_VALUE

pub const EPOCH_OFFSET_VALUE: i32[src]

public static final EPOCH_OFFSET_VALUE

pub const EXCEL_TIME: i32[src]

public static final EXCEL_TIME

pub const FROM_MAX_VALUE: i32[src]

public static final FROM_MAX_VALUE

pub const FROM_MIN_VALUE: i32[src]

public static final FROM_MIN_VALUE

pub const ICU4C_TIME: i32[src]

public static final ICU4C_TIME

pub const JAVA_TIME: i32[src]

public static final JAVA_TIME

pub const MAC_OLD_TIME: i32[src]

public static final MAC_OLD_TIME

pub const MAC_TIME: i32[src]

public static final MAC_TIME

pub const MAX_SCALE: i32[src]

Deprecated

public static final MAX_SCALE

pub const TO_MAX_VALUE: i32[src]

public static final TO_MAX_VALUE

pub const TO_MIN_VALUE: i32[src]

public static final TO_MIN_VALUE

pub const UNITS_VALUE: i32[src]

public static final UNITS_VALUE

pub const UNIX_MICROSECONDS_TIME: i32[src]

public static final UNIX_MICROSECONDS_TIME

pub const UNIX_TIME: i32[src]

public static final UNIX_TIME

pub const WINDOWS_FILE_TIME: i32[src]

public static final WINDOWS_FILE_TIME

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 UniversalTimeScale

impl AsValidJObjectAndEnv for UniversalTimeScale

impl Deref for UniversalTimeScale

type Target = Object

The resulting type after dereferencing.

impl JniType for UniversalTimeScale

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.