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

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

public final class DateTimeFormatterBuilder

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

Methods

impl DateTimeFormatterBuilder

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

pub fn getLocalizedDateTimePattern<'env>(
    __jni_env: &'env Env,
    arg0: impl Into<Option<&'env FormatStyle>>,
    arg1: impl Into<Option<&'env FormatStyle>>,
    arg2: impl Into<Option<&'env Chronology>>,
    arg3: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]

getLocalizedDateTimePattern

Required features: "java-lang-String", "java-time-chrono-Chronology", "java-time-format-FormatStyle", "java-util-Locale"

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

parseCaseSensitive

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

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

parseCaseInsensitive

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

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

parseStrict

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

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

parseLenient

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

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

parseDefaulting

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

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

appendValue

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

pub fn appendValue_TemporalField_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>,
    arg1: i32
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendValue

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

pub fn appendValue_TemporalField_int_int_SignStyle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env SignStyle>>
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendValue

Required features: "java-time-format-DateTimeFormatterBuilder", "java-time-format-SignStyle", "java-time-temporal-TemporalField"

pub fn appendValueReduced_TemporalField_int_int_int<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>,
    arg1: i32,
    arg2: i32,
    arg3: i32
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendValueReduced

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

pub fn appendValueReduced_TemporalField_int_int_ChronoLocalDate<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>,
    arg1: i32,
    arg2: i32,
    arg3: impl Into<Option<&'env ChronoLocalDate>>
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendValueReduced

Required features: "java-time-chrono-ChronoLocalDate", "java-time-format-DateTimeFormatterBuilder", "java-time-temporal-TemporalField"

pub fn appendFraction<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>,
    arg1: i32,
    arg2: i32,
    arg3: bool
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendFraction

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

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

appendText

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

pub fn appendText_TemporalField_TextStyle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>,
    arg1: impl Into<Option<&'env TextStyle>>
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendText

Required features: "java-time-format-DateTimeFormatterBuilder", "java-time-format-TextStyle", "java-time-temporal-TemporalField"

pub fn appendText_TemporalField_Map<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TemporalField>>,
    arg1: impl Into<Option<&'env Map>>
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendText

Required features: "java-time-format-DateTimeFormatterBuilder", "java-time-temporal-TemporalField", "java-util-Map"

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

appendInstant

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

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

appendInstant

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

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

appendOffsetId

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

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

appendOffset

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

pub fn appendLocalizedOffset<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TextStyle>>
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendLocalizedOffset

Required features: "java-time-format-DateTimeFormatterBuilder", "java-time-format-TextStyle"

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

appendZoneId

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

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

appendZoneRegionId

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

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

appendZoneOrOffsetId

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

pub fn appendZoneText_TextStyle<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TextStyle>>
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendZoneText

Required features: "java-time-format-DateTimeFormatterBuilder", "java-time-format-TextStyle"

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

appendZoneText

Required features: "java-time-format-DateTimeFormatterBuilder", "java-time-format-TextStyle", "java-util-Set"

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

appendChronologyId

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

pub fn appendChronologyText<'env>(
    &'env self,
    arg0: impl Into<Option<&'env TextStyle>>
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendChronologyText

Required features: "java-time-format-DateTimeFormatterBuilder", "java-time-format-TextStyle"

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

appendLocalized

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

pub fn appendLiteral_char<'env>(
    &'env self,
    arg0: jchar
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

appendLiteral

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

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

appendLiteral

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

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

append

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

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

appendOptional

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

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

appendPattern

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

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

padNext

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

pub fn padNext_int_char<'env>(
    &'env self,
    arg0: i32,
    arg1: jchar
) -> Result<Option<Local<'env, DateTimeFormatterBuilder>>, Local<'env, Throwable>>
[src]

padNext

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

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

optionalStart

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

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

optionalEnd

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

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

toFormatter

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

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

toFormatter

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

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 DateTimeFormatterBuilder

impl AsValidJObjectAndEnv for DateTimeFormatterBuilder

impl Deref for DateTimeFormatterBuilder

type Target = Object

The resulting type after dereferencing.

impl JniType for DateTimeFormatterBuilder

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.