[−]Struct jni_android_sys::java::sql::Time
public class Time
Required feature: "java-sql-Time"
Methods
impl Time
pub fn new_int_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Local<'env, Time>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: i32
) -> Result<Local<'env, Time>, Local<'env, Throwable>>
Deprecated
pub fn new_long<'env>(
__jni_env: &'env Env,
arg0: i64
) -> Result<Local<'env, Time>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i64
) -> Result<Local<'env, Time>, Local<'env, Throwable>>
pub fn setTime<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn valueOf<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Time>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Time>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-sql-Time"
pub fn toString<'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 fn getYear<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn getMonth<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn getDay<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn getDate<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn setYear<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn setMonth<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn setDate<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
Methods from Deref<Target = Date>
pub fn clone<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getYear<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn setYear<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn getMonth<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn setMonth<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn getDate<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn setDate<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn getDay<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn getHours<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn setHours<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn getMinutes<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn setMinutes<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn getSeconds<'env>(&'env self) -> Result<i32, Local<'env, Throwable>>
[src]
Deprecated
pub fn setSeconds<'env>(
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i32
) -> Result<(), Local<'env, Throwable>>
Deprecated
pub fn getTime<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn setTime<'env>(
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn before<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-Date"
pub fn after<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-util-Date"
pub fn equals<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn compareTo_Date<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-util-Date"
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]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn toLocaleString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Deprecated
Required features: "java-lang-String"
pub fn toGMTString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Deprecated
Required features: "java-lang-String"
pub fn getTimezoneOffset<'env>(
&'env self
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self
) -> Result<i32, Local<'env, Throwable>>
Deprecated
pub fn toInstant<'env>(
&'env self
) -> Result<Option<Local<'env, Instant>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Instant>>, Local<'env, Throwable>>
Required features: "java-time-Instant"
Trait Implementations
impl AsJValue for Time
impl AsValidJObjectAndEnv for Time
impl Deref for Time
impl JniType for Time
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for Time
impl !Send for Time
impl !Sync for Time
impl Unpin for Time
impl UnwindSafe for Time
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>,