[]Struct jni_android_sys::java::time::format::DateTimeFormatter

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

public final class DateTimeFormatter

Required feature: "java-time-format-DateTimeFormatter"

Methods

impl DateTimeFormatter

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

ofPattern

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

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

ofPattern

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

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

ofLocalizedDate

Required features: "java-time-format-DateTimeFormatter", "java-time-format-FormatStyle"

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

ofLocalizedTime

Required features: "java-time-format-DateTimeFormatter", "java-time-format-FormatStyle"

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

ofLocalizedDateTime

Required features: "java-time-format-DateTimeFormatter", "java-time-format-FormatStyle"

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

ofLocalizedDateTime

Required features: "java-time-format-DateTimeFormatter", "java-time-format-FormatStyle"

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

parsedExcessDays

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

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

parsedLeapSecond

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

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

getLocale

Required features: "java-util-Locale"

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

withLocale

Required features: "java-time-format-DateTimeFormatter", "java-util-Locale"

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

getDecimalStyle

Required features: "java-time-format-DecimalStyle"

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

withDecimalStyle

Required features: "java-time-format-DateTimeFormatter", "java-time-format-DecimalStyle"

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

getChronology

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

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

withChronology

Required features: "java-time-chrono-Chronology", "java-time-format-DateTimeFormatter"

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

getZone

Required features: "java-time-ZoneId"

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

withZone

Required features: "java-time-ZoneId", "java-time-format-DateTimeFormatter"

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

getResolverStyle

Required features: "java-time-format-ResolverStyle"

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

withResolverStyle

Required features: "java-time-format-DateTimeFormatter", "java-time-format-ResolverStyle"

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

getResolverFields

Required features: "java-util-Set"

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

withResolverFields

Required features: "java-time-format-DateTimeFormatter", "java-time-temporal-TemporalField"

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

withResolverFields

Required features: "java-time-format-DateTimeFormatter", "java-util-Set"

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

format

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

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

formatTo

Required features: "java-lang-Appendable", "java-time-temporal-TemporalAccessor"

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

parse

Required features: "java-lang-CharSequence", "java-time-temporal-TemporalAccessor"

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

parse

Required features: "java-lang-CharSequence", "java-text-ParsePosition", "java-time-temporal-TemporalAccessor"

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

parse

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

pub fn parseBest<'env>(
    &'env self,
    arg0: impl Into<Option<&'env CharSequence>>,
    arg1: impl Into<Option<&'env ObjectArray<TemporalQuery, Throwable>>>
) -> Result<Option<Local<'env, TemporalAccessor>>, Local<'env, Throwable>>
[src]

parseBest

Required features: "java-lang-CharSequence", "java-time-temporal-TemporalAccessor", "java-time-temporal-TemporalQuery"

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

parseUnresolved

Required features: "java-lang-CharSequence", "java-text-ParsePosition", "java-time-temporal-TemporalAccessor"

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

toFormat

Required features: "java-text-Format"

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

toFormat

Required features: "java-text-Format", "java-time-temporal-TemporalQuery"

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

toString

Required features: "java-lang-String"

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

get public static final BASIC_ISO_DATE

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_DATE

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_DATE_TIME

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_INSTANT

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_LOCAL_DATE

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_LOCAL_DATE_TIME

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_LOCAL_TIME

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_OFFSET_DATE

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_OFFSET_DATE_TIME

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_OFFSET_TIME

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_ORDINAL_DATE

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_TIME

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_WEEK_DATE

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final ISO_ZONED_DATE_TIME

Required feature: "java-time-format-DateTimeFormatter"

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

get public static final RFC_1123_DATE_TIME

Required feature: "java-time-format-DateTimeFormatter"

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 DateTimeFormatter

impl AsValidJObjectAndEnv for DateTimeFormatter

impl Deref for DateTimeFormatter

type Target = Object

The resulting type after dereferencing.

impl JniType for DateTimeFormatter

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.