[−]Struct jni_android_sys::java::time::chrono::ChronoZonedDateTime
public interface ChronoZonedDateTime
Required feature: "java-time-chrono-ChronoZonedDateTime"
Methods
impl ChronoZonedDateTime
pub fn timeLineOrder<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, Comparator>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, Comparator>>, Local<'env, Throwable>>
Required features: "java-util-Comparator"
pub fn from<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TemporalAccessor>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env TemporalAccessor>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime", "java-time-temporal-TemporalAccessor"
pub fn range<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<Option<Local<'env, ValueRange>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<Option<Local<'env, ValueRange>>, Local<'env, Throwable>>
Required features: "java-time-temporal-TemporalField", "java-time-temporal-ValueRange"
pub fn get<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-time-temporal-TemporalField"
pub fn getLong<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<i64, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<i64, Local<'env, Throwable>>
Required features: "java-time-temporal-TemporalField"
pub fn toLocalDate<'env>(
&'env self
) -> Result<Option<Local<'env, ChronoLocalDate>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ChronoLocalDate>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoLocalDate"
pub fn toLocalTime<'env>(
&'env self
) -> Result<Option<Local<'env, LocalTime>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, LocalTime>>, Local<'env, Throwable>>
Required features: "java-time-LocalTime"
pub fn toLocalDateTime<'env>(
&'env self
) -> Result<Option<Local<'env, ChronoLocalDateTime>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ChronoLocalDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoLocalDateTime"
pub fn getChronology<'env>(
&'env self
) -> Result<Option<Local<'env, Chronology>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Chronology>>, Local<'env, Throwable>>
Required features: "java-time-chrono-Chronology"
pub fn getOffset<'env>(
&'env self
) -> Result<Option<Local<'env, ZoneOffset>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ZoneOffset>>, Local<'env, Throwable>>
Required features: "java-time-ZoneOffset"
pub fn getZone<'env>(
&'env self
) -> Result<Option<Local<'env, ZoneId>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ZoneId>>, Local<'env, Throwable>>
Required features: "java-time-ZoneId"
pub fn withEarlierOffsetAtOverlap<'env>(
&'env self
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime"
pub fn withLaterOffsetAtOverlap<'env>(
&'env self
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime"
pub fn withZoneSameLocal<'env>(
&'env self,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-ZoneId", "java-time-chrono-ChronoZonedDateTime"
pub fn withZoneSameInstant<'env>(
&'env self,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-ZoneId", "java-time-chrono-ChronoZonedDateTime"
pub fn isSupported_TemporalField<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-time-temporal-TemporalField"
pub fn isSupported_TemporalUnit<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalUnit>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalUnit>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-time-temporal-TemporalUnit"
pub fn with_TemporalAdjuster<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalAdjuster>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalAdjuster>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime", "java-time-temporal-TemporalAdjuster"
pub fn with_TemporalField_long<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalField>>,
arg1: i64
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalField>>,
arg1: i64
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime", "java-time-temporal-TemporalField"
pub fn plus_TemporalAmount<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime", "java-time-temporal-TemporalAmount"
pub fn plus_long_TemporalUnit<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime", "java-time-temporal-TemporalUnit"
pub fn minus_TemporalAmount<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime", "java-time-temporal-TemporalAmount"
pub fn minus_long_TemporalUnit<'env>(
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, ChronoZonedDateTime>>, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime", "java-time-temporal-TemporalUnit"
pub fn query<'env>(
&'env self,
arg0: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-time-temporal-TemporalQuery"
pub fn format<'env>(
&'env self,
arg0: impl Into<Option<&'env DateTimeFormatter>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DateTimeFormatter>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-time-format-DateTimeFormatter"
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"
pub fn toEpochSecond<'env>(&'env self) -> Result<i64, Local<'env, Throwable>>
[src]
pub fn compareTo_ChronoZonedDateTime<'env>(
&'env self,
arg0: impl Into<Option<&'env ChronoZonedDateTime>>
) -> Result<i32, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ChronoZonedDateTime>>
) -> Result<i32, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime"
pub fn isBefore<'env>(
&'env self,
arg0: impl Into<Option<&'env ChronoZonedDateTime>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ChronoZonedDateTime>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime"
pub fn isAfter<'env>(
&'env self,
arg0: impl Into<Option<&'env ChronoZonedDateTime>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ChronoZonedDateTime>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime"
pub fn isEqual<'env>(
&'env self,
arg0: impl Into<Option<&'env ChronoZonedDateTime>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env ChronoZonedDateTime>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-time-chrono-ChronoZonedDateTime"
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 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"
Methods from Deref<Target = Object>
pub fn getClass<'env>(
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
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 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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
pub fn wait<'env>(&'env self) -> Result<(), Local<'env, Throwable>>
[src]
Trait Implementations
impl AsJValue for ChronoZonedDateTime
impl AsRef<ChronoZonedDateTime> for ZonedDateTime
fn as_ref(&self) -> &ChronoZonedDateTime
impl AsRef<Comparable> for ChronoZonedDateTime
fn as_ref(&self) -> &Comparable
impl AsRef<Temporal> for ChronoZonedDateTime
impl AsValidJObjectAndEnv for ChronoZonedDateTime
impl Deref for ChronoZonedDateTime
impl JniType for ChronoZonedDateTime
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for ChronoZonedDateTime
impl !Send for ChronoZonedDateTime
impl !Sync for ChronoZonedDateTime
impl Unpin for ChronoZonedDateTime
impl UnwindSafe for ChronoZonedDateTime
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>,