[]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 of_pattern_string<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
[src]

ofPattern

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

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

ofPattern

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

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

ofLocalizedDate

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

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

ofLocalizedTime

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

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

ofLocalizedDateTime

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

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

ofLocalizedDateTime

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

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

parsedExcessDays

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

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

parsedLeapSecond

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

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

getLocale

Required features: "java-util-Locale"

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

withLocale

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

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

getDecimalStyle

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

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

withDecimalStyle

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

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

getChronology

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

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

withChronology

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

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

getZone

Required features: "java-time-ZoneId"

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

withZone

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

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

getResolverStyle

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

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

withResolverStyle

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

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

getResolverFields

Required features: "java-util-Set"

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

format

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

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

formatTo

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

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

parse

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

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

parse

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

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

parse

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

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

parseUnresolved

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

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

toFormat

Required features: "java-text-Format"

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

toFormat

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

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 Deref for DateTimeFormatter

type Target = Object

The resulting type after dereferencing.

impl AsValidJObjectAndEnv for DateTimeFormatter

impl AsJValue for DateTimeFormatter

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]