[]Struct jni_android_sys::java::time::LocalDateTime

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

public final class LocalDateTime

Required feature: java-time-LocalDateTime

Methods

impl LocalDateTime

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

now

Required features: "java-time-LocalDateTime"

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

now

Required features: "java-time-LocalDateTime", "java-time-ZoneId"

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

now

Required features: "java-time-Clock", "java-time-LocalDateTime"

pub fn of_int_month_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env Month>>,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

of

Required features: "java-time-LocalDateTime", "java-time-Month"

pub fn of_int_month_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env Month>>,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

of

Required features: "java-time-LocalDateTime", "java-time-Month"

pub fn of_int_month_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: impl Into<Option<&'env Month>>,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32,
    arg6: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

of

Required features: "java-time-LocalDateTime", "java-time-Month"

pub fn of_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

of

Required features: "java-time-LocalDateTime"

pub fn of_int_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

of

Required features: "java-time-LocalDateTime"

pub fn of_int_int_int_int_int_int_int<'env>(
    __jni_env: &'env Env,
    arg0: i32,
    arg1: i32,
    arg2: i32,
    arg3: i32,
    arg4: i32,
    arg5: i32,
    arg6: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

of

Required features: "java-time-LocalDateTime"

pub fn of_local_date_local_time<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env LocalDate>>,
    arg1: impl Into<Option<&'env LocalTime>>
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

of

Required features: "java-time-LocalDate", "java-time-LocalDateTime", "java-time-LocalTime"

pub fn of_instant<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env Instant>>,
    arg1: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

ofInstant

Required features: "java-time-Instant", "java-time-LocalDateTime", "java-time-ZoneId"

pub fn of_epoch_second<'env>(
    __jni_env: &'env Env,
    arg0: i64,
    arg1: i32,
    arg2: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

ofEpochSecond

Required features: "java-time-LocalDateTime", "java-time-ZoneOffset"

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

from

Required features: "java-time-LocalDateTime", "java-time-temporal-TemporalAccessor"

pub fn parse_char_sequence<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

parse

Required features: "java-lang-CharSequence", "java-time-LocalDateTime"

pub fn parse_char_sequence_date_time_formatter<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env DateTimeFormatter>>
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

parse

Required features: "java-lang-CharSequence", "java-time-LocalDateTime", "java-time-format-DateTimeFormatter"

pub fn is_supported_temporal_field<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>
) -> Result<bool>
[src]

isSupported

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

pub fn is_supported_temporal_unit<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalUnit>>
) -> Result<bool>
[src]

isSupported

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

pub fn range<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>
) -> Result<Option<Local<'env, ValueRange>>>
[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>
[src]

get

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

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

getLong

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

pub fn to_local_date<'env>(&'env self) -> Result<Option<Local<'env, LocalDate>>>[src]

toLocalDate

Required features: "java-time-LocalDate"

pub fn get_year<'env>(&'env self) -> Result<i32>[src]

pub fn get_month_value<'env>(&'env self) -> Result<i32>[src]

pub fn get_month<'env>(&'env self) -> Result<Option<Local<'env, Month>>>[src]

getMonth

Required features: "java-time-Month"

pub fn get_day_of_month<'env>(&'env self) -> Result<i32>[src]

pub fn get_day_of_year<'env>(&'env self) -> Result<i32>[src]

pub fn get_day_of_week<'env>(
    &'env self
) -> Result<Option<Local<'env, DayOfWeek>>>
[src]

getDayOfWeek

Required features: "java-time-DayOfWeek"

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

toLocalTime

Required features: "java-time-LocalTime"

pub fn get_hour<'env>(&'env self) -> Result<i32>[src]

pub fn get_minute<'env>(&'env self) -> Result<i32>[src]

pub fn get_second<'env>(&'env self) -> Result<i32>[src]

pub fn get_nano<'env>(&'env self) -> Result<i32>[src]

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

with

Required features: "java-time-LocalDateTime", "java-time-temporal-TemporalAdjuster"

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

with

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

pub fn with_year<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

withYear

Required features: "java-time-LocalDateTime"

pub fn with_month<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

withMonth

Required features: "java-time-LocalDateTime"

pub fn with_day_of_month<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

withDayOfMonth

Required features: "java-time-LocalDateTime"

pub fn with_day_of_year<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

withDayOfYear

Required features: "java-time-LocalDateTime"

pub fn with_hour<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

withHour

Required features: "java-time-LocalDateTime"

pub fn with_minute<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

withMinute

Required features: "java-time-LocalDateTime"

pub fn with_second<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

withSecond

Required features: "java-time-LocalDateTime"

pub fn with_nano<'env>(
    &'env self,
    arg0: i32
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

withNano

Required features: "java-time-LocalDateTime"

pub fn truncated_to<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalUnit>>
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

truncatedTo

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

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

plus

Required features: "java-time-LocalDateTime", "java-time-temporal-TemporalAmount"

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

plus

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

pub fn plus_years<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

plusYears

Required features: "java-time-LocalDateTime"

pub fn plus_months<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

plusMonths

Required features: "java-time-LocalDateTime"

pub fn plus_weeks<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

plusWeeks

Required features: "java-time-LocalDateTime"

pub fn plus_days<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

plusDays

Required features: "java-time-LocalDateTime"

pub fn plus_hours<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

plusHours

Required features: "java-time-LocalDateTime"

pub fn plus_minutes<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

plusMinutes

Required features: "java-time-LocalDateTime"

pub fn plus_seconds<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

plusSeconds

Required features: "java-time-LocalDateTime"

pub fn plus_nanos<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

plusNanos

Required features: "java-time-LocalDateTime"

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

minus

Required features: "java-time-LocalDateTime", "java-time-temporal-TemporalAmount"

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

minus

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

pub fn minus_years<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

minusYears

Required features: "java-time-LocalDateTime"

pub fn minus_months<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

minusMonths

Required features: "java-time-LocalDateTime"

pub fn minus_weeks<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

minusWeeks

Required features: "java-time-LocalDateTime"

pub fn minus_days<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

minusDays

Required features: "java-time-LocalDateTime"

pub fn minus_hours<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

minusHours

Required features: "java-time-LocalDateTime"

pub fn minus_minutes<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

minusMinutes

Required features: "java-time-LocalDateTime"

pub fn minus_seconds<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

minusSeconds

Required features: "java-time-LocalDateTime"

pub fn minus_nanos<'env>(
    &'env self,
    arg0: i64
) -> Result<Option<Local<'env, LocalDateTime>>>
[src]

minusNanos

Required features: "java-time-LocalDateTime"

pub fn query<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Object>>>
[src]

query

Required features: "java-lang-Object", "java-time-temporal-TemporalQuery"

pub fn adjust_into<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Temporal>>
) -> Result<Option<Local<'env, Temporal>>>
[src]

adjustInto

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

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

until

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

pub fn format<'env>(
    &'env self,
    arg0: impl Into<Option<&'env DateTimeFormatter>>
) -> Result<Option<Local<'env, String>>>
[src]

format

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

pub fn at_offset<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ZoneOffset>>
) -> Result<Option<Local<'env, OffsetDateTime>>>
[src]

atOffset

Required features: "java-time-OffsetDateTime", "java-time-ZoneOffset"

pub fn at_zone_zone_id<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, ZonedDateTime>>>
[src]

atZone

Required features: "java-time-ZoneId", "java-time-ZonedDateTime"

pub fn compare_to_chrono_local_date_time<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ChronoLocalDateTime>>
) -> Result<i32>
[src]

compareTo

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

pub fn is_after<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ChronoLocalDateTime>>
) -> Result<bool>
[src]

isAfter

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

pub fn is_before<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ChronoLocalDateTime>>
) -> Result<bool>
[src]

isBefore

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

pub fn is_equal<'env>(
    &'env self,
    arg0: impl Into<Option<&'env ChronoLocalDateTime>>
) -> Result<bool>
[src]

isEqual

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

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]

equals

Required features: "java-lang-Object"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

Required features: "java-lang-String"

Methods from Deref<Target = Object>

pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>[src]

getClass

Required features: "java-lang-Class"

pub fn hash_code<'env>(&'env self) -> Result<i32>[src]

pub fn equals<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
[src]

equals

Required features: "java-lang-Object"

pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>[src]

toString

Required features: "java-lang-String"

pub fn notify<'env>(&'env self) -> Result<()>[src]

pub fn notify_all<'env>(&'env self) -> Result<()>[src]

pub fn wait_long<'env>(&'env self, arg0: i64) -> Result<()>[src]

pub fn wait_long_int<'env>(&'env self, arg0: i64, arg1: i32) -> Result<()>[src]

pub fn wait<'env>(&'env self) -> Result<()>[src]

Trait Implementations

impl AsRef<Temporal> for LocalDateTime

impl AsRef<TemporalAdjuster> for LocalDateTime

impl AsRef<ChronoLocalDateTime> for LocalDateTime

impl AsRef<Serializable> for LocalDateTime

impl Deref for LocalDateTime

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for LocalDateTime

impl AsJValue for LocalDateTime

Auto Trait Implementations

Blanket Implementations

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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]