[]Struct jni_android_sys::java::time::temporal::ChronoField

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

public enum ChronoField

Required feature: "java-time-temporal-ChronoField"

Methods

impl ChronoField

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

values

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

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

valueOf

Required features: "java-lang-String", "java-time-temporal-ChronoField"

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

getDisplayName

Required features: "java-lang-String", "java-util-Locale"

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

getBaseUnit

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

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

getRangeUnit

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

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

range

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

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

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

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

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

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

isSupportedBy

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

pub fn rangeRefinedBy<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalAccessor>>
) -> Result<Option<Local<'env, ValueRange>>, Local<'env, Throwable>>
[src]

rangeRefinedBy

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

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

getFrom

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

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

adjustInto

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

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

toString

Required features: "java-lang-String"

pub fn NANO_OF_SECOND<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final NANO_OF_SECOND

Required feature: "java-time-temporal-ChronoField"

pub fn NANO_OF_DAY<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final NANO_OF_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn MICRO_OF_SECOND<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final MICRO_OF_SECOND

Required feature: "java-time-temporal-ChronoField"

pub fn MICRO_OF_DAY<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final MICRO_OF_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn MILLI_OF_SECOND<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final MILLI_OF_SECOND

Required feature: "java-time-temporal-ChronoField"

pub fn MILLI_OF_DAY<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final MILLI_OF_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn SECOND_OF_MINUTE<'env>(
    env: &'env Env
) -> Option<Local<'env, ChronoField>>
[src]

get public static final SECOND_OF_MINUTE

Required feature: "java-time-temporal-ChronoField"

pub fn SECOND_OF_DAY<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final SECOND_OF_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn MINUTE_OF_HOUR<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final MINUTE_OF_HOUR

Required feature: "java-time-temporal-ChronoField"

pub fn MINUTE_OF_DAY<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final MINUTE_OF_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn HOUR_OF_AMPM<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final HOUR_OF_AMPM

Required feature: "java-time-temporal-ChronoField"

pub fn CLOCK_HOUR_OF_AMPM<'env>(
    env: &'env Env
) -> Option<Local<'env, ChronoField>>
[src]

get public static final CLOCK_HOUR_OF_AMPM

Required feature: "java-time-temporal-ChronoField"

pub fn HOUR_OF_DAY<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final HOUR_OF_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn CLOCK_HOUR_OF_DAY<'env>(
    env: &'env Env
) -> Option<Local<'env, ChronoField>>
[src]

get public static final CLOCK_HOUR_OF_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn AMPM_OF_DAY<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final AMPM_OF_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn DAY_OF_WEEK<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final DAY_OF_WEEK

Required feature: "java-time-temporal-ChronoField"

pub fn ALIGNED_DAY_OF_WEEK_IN_MONTH<'env>(
    env: &'env Env
) -> Option<Local<'env, ChronoField>>
[src]

get public static final ALIGNED_DAY_OF_WEEK_IN_MONTH

Required feature: "java-time-temporal-ChronoField"

pub fn ALIGNED_DAY_OF_WEEK_IN_YEAR<'env>(
    env: &'env Env
) -> Option<Local<'env, ChronoField>>
[src]

get public static final ALIGNED_DAY_OF_WEEK_IN_YEAR

Required feature: "java-time-temporal-ChronoField"

pub fn DAY_OF_MONTH<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final DAY_OF_MONTH

Required feature: "java-time-temporal-ChronoField"

pub fn DAY_OF_YEAR<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final DAY_OF_YEAR

Required feature: "java-time-temporal-ChronoField"

pub fn EPOCH_DAY<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final EPOCH_DAY

Required feature: "java-time-temporal-ChronoField"

pub fn ALIGNED_WEEK_OF_MONTH<'env>(
    env: &'env Env
) -> Option<Local<'env, ChronoField>>
[src]

get public static final ALIGNED_WEEK_OF_MONTH

Required feature: "java-time-temporal-ChronoField"

pub fn ALIGNED_WEEK_OF_YEAR<'env>(
    env: &'env Env
) -> Option<Local<'env, ChronoField>>
[src]

get public static final ALIGNED_WEEK_OF_YEAR

Required feature: "java-time-temporal-ChronoField"

pub fn MONTH_OF_YEAR<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final MONTH_OF_YEAR

Required feature: "java-time-temporal-ChronoField"

pub fn PROLEPTIC_MONTH<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final PROLEPTIC_MONTH

Required feature: "java-time-temporal-ChronoField"

pub fn YEAR_OF_ERA<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final YEAR_OF_ERA

Required feature: "java-time-temporal-ChronoField"

pub fn YEAR<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final YEAR

Required feature: "java-time-temporal-ChronoField"

pub fn ERA<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final ERA

Required feature: "java-time-temporal-ChronoField"

pub fn INSTANT_SECONDS<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final INSTANT_SECONDS

Required feature: "java-time-temporal-ChronoField"

pub fn OFFSET_SECONDS<'env>(env: &'env Env) -> Option<Local<'env, ChronoField>>[src]

get public static final OFFSET_SECONDS

Required feature: "java-time-temporal-ChronoField"

Methods from Deref<Target = Enum>

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

name

Required features: "java-lang-String"

pub fn ordinal<'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"

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 compareTo_Enum<'env>(
    &'env self,
    arg0: impl Into<Option<&'env Enum>>
) -> Result<i32, Local<'env, Throwable>>
[src]

compareTo

Required features: "java-lang-Enum"

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

getDeclaringClass

Required features: "java-lang-Class"

Trait Implementations

impl AsJValue for ChronoField

impl AsRef<TemporalField> for ChronoField

impl AsValidJObjectAndEnv for ChronoField

impl Deref for ChronoField

type Target = Enum

The resulting type after dereferencing.

impl JniType for ChronoField

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.