[−]Struct jni_android_sys::java::time::format::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FormatStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FormatStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FormatStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FormatStyle>>,
arg1: impl Into<Option<&'env FormatStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
__jni_env: &'env Env
) -> Result<Option<Local<'env, TemporalQuery>>, Local<'env, Throwable>>
Required features: "java-time-temporal-TemporalQuery"
pub fn parsedLeapSecond<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, TemporalQuery>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, TemporalQuery>>, Local<'env, Throwable>>
Required features: "java-time-temporal-TemporalQuery"
pub fn getLocale<'env>(
&'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Locale>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
Required features: "java-time-format-DateTimeFormatter", "java-util-Locale"
pub fn getDecimalStyle<'env>(
&'env self
) -> Result<Option<Local<'env, DecimalStyle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, DecimalStyle>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env DecimalStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Chronology>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Chronology>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, ZoneId>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
Required features: "java-time-ZoneId", "java-time-format-DateTimeFormatter"
pub fn getResolverStyle<'env>(
&'env self
) -> Result<Option<Local<'env, ResolverStyle>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, ResolverStyle>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ResolverStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Set>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env ObjectArray<TemporalField, Throwable>>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Set>>
) -> Result<Option<Local<'env, DateTimeFormatter>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env TemporalAccessor>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env TemporalAccessor>>,
arg1: impl Into<Option<&'env Appendable>>
) -> Result<(), Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, TemporalAccessor>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, TemporalAccessor>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env ObjectArray<TemporalQuery, Throwable>>>
) -> Result<Option<Local<'env, TemporalAccessor>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, TemporalAccessor>>, Local<'env, Throwable>>
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]
&'env self
) -> Result<Option<Local<'env, Format>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Format>>, Local<'env, Throwable>>
Required features: "java-text-Format", "java-time-temporal-TemporalQuery"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String"
pub fn BASIC_ISO_DATE<'env>(
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
[src]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
env: &'env Env
) -> Option<Local<'env, DateTimeFormatter>>
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]
&'env self
) -> Result<Option<Local<'env, Class>>, Local<'env, Throwable>>
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn toString<'env>(
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
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]
&'env self,
arg0: i64
) -> Result<(), Local<'env, Throwable>>
pub fn wait_long_int<'env>(
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: i64,
arg1: i32
) -> Result<(), Local<'env, Throwable>>
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
impl JniType for DateTimeFormatter
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DateTimeFormatter
impl !Send for DateTimeFormatter
impl !Sync for DateTimeFormatter
impl Unpin for DateTimeFormatter
impl UnwindSafe for DateTimeFormatter
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,