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

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

public final class ThaiBuddhistDate

Required feature: "java-time-chrono-ThaiBuddhistDate"

Methods

impl ThaiBuddhistDate

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

now

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

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

now

Required features: "java-time-ZoneId", "java-time-chrono-ThaiBuddhistDate"

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

now

Required features: "java-time-Clock", "java-time-chrono-ThaiBuddhistDate"

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

of

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

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

from

Required features: "java-time-chrono-ThaiBuddhistDate", "java-time-temporal-TemporalAccessor"

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

getChronology

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

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

getEra

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

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

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 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 with_TemporalField_long<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>,
    arg1: i64
) -> Result<Option<Local<'env, ThaiBuddhistDate>>, Local<'env, Throwable>>
[src]

with

Required features: "java-time-chrono-ThaiBuddhistDate", "java-time-temporal-TemporalField"

pub fn with_TemporalAdjuster<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalAdjuster>>
) -> Result<Option<Local<'env, ThaiBuddhistDate>>, Local<'env, Throwable>>
[src]

with

Required features: "java-time-chrono-ThaiBuddhistDate", "java-time-temporal-TemporalAdjuster"

pub fn plus_TemporalAmount<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, ThaiBuddhistDate>>, Local<'env, Throwable>>
[src]

plus

Required features: "java-time-chrono-ThaiBuddhistDate", "java-time-temporal-TemporalAmount"

pub fn minus_TemporalAmount<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalAmount>>
) -> Result<Option<Local<'env, ThaiBuddhistDate>>, Local<'env, Throwable>>
[src]

minus

Required features: "java-time-chrono-ThaiBuddhistDate", "java-time-temporal-TemporalAmount"

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

plus

Required features: "java-time-chrono-ThaiBuddhistDate", "java-time-temporal-TemporalUnit"

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

minus

Required features: "java-time-chrono-ThaiBuddhistDate", "java-time-temporal-TemporalUnit"

pub fn atTime<'env>(
    &'env self,
    arg0: impl Into<Option<&'env LocalTime>>
) -> Result<Option<Local<'env, ChronoLocalDateTime>>, Local<'env, Throwable>>
[src]

atTime

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

pub fn until_ChronoLocalDate<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ChronoLocalDate>>
) -> Result<Option<Local<'env, ChronoPeriod>>, Local<'env, Throwable>>
[src]

until

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

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

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

until

Required features: "java-time-temporal-Temporal", "java-time-temporal-TemporalUnit"

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 ThaiBuddhistDate

impl AsRef<ChronoLocalDate> for ThaiBuddhistDate

impl AsRef<Serializable> for ThaiBuddhistDate

impl AsRef<Temporal> for ThaiBuddhistDate

impl AsRef<TemporalAdjuster> for ThaiBuddhistDate

impl AsValidJObjectAndEnv for ThaiBuddhistDate

impl Deref for ThaiBuddhistDate

type Target = Object

The resulting type after dereferencing.

impl JniType for ThaiBuddhistDate

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.