[]Struct jni_android_sys::java::time::chrono::ChronoZonedDateTime

#[repr(transparent)]
pub struct 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]

timeLineOrder

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]

from

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]

range

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]

get

Required features: "java-time-temporal-TemporalField"

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

getLong

Required features: "java-time-temporal-TemporalField"

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

toLocalDate

Required features: "java-time-chrono-ChronoLocalDate"

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

toLocalTime

Required features: "java-time-LocalTime"

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

toLocalDateTime

Required features: "java-time-chrono-ChronoLocalDateTime"

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

getChronology

Required features: "java-time-chrono-Chronology"

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

getOffset

Required features: "java-time-ZoneOffset"

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

getZone

Required features: "java-time-ZoneId"

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

withEarlierOffsetAtOverlap

Required features: "java-time-chrono-ChronoZonedDateTime"

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

withLaterOffsetAtOverlap

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]

withZoneSameLocal

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]

withZoneSameInstant

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]

isSupported

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]

isSupported

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]

with

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]

with

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]

plus

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]

plus

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]

minus

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]

minus

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]

query

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]

format

Required features: "java-lang-String", "java-time-format-DateTimeFormatter"

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

toInstant

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]

compareTo

Required features: "java-time-chrono-ChronoZonedDateTime"

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

isBefore

Required features: "java-time-chrono-ChronoZonedDateTime"

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

isAfter

Required features: "java-time-chrono-ChronoZonedDateTime"

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

isEqual

Required features: "java-time-chrono-ChronoZonedDateTime"

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"

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 ChronoZonedDateTime

impl AsRef<ChronoZonedDateTime> for ZonedDateTime

impl AsRef<Comparable> for ChronoZonedDateTime

impl AsRef<Temporal> for ChronoZonedDateTime

impl AsValidJObjectAndEnv for ChronoZonedDateTime

impl Deref for ChronoZonedDateTime

type Target = Object

The resulting type after dereferencing.

impl JniType for ChronoZonedDateTime

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.