[−]Struct jni_android_sys::java::time::format::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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FormatStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FormatStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FormatStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
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]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env FormatStyle>>,
arg1: impl Into<Option<&'env FormatStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
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]
__jni_env: &'env Env
) -> Result<Option<Local<'env, TemporalQuery>>>
Required features: "java-time-temporal-TemporalQuery"
pub fn parsed_leap_second<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, TemporalQuery>>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, TemporalQuery>>>
Required features: "java-time-temporal-TemporalQuery"
pub fn get_locale<'env>(&'env self) -> Result<Option<Local<'env, Locale>>>
[src]
Required features: "java-util-Locale"
pub fn with_locale<'env>(
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
[src]
&'env self,
arg0: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
Required features: "java-time-format-DateTimeFormatter", "java-util-Locale"
pub fn get_decimal_style<'env>(
&'env self
) -> Result<Option<Local<'env, DecimalStyle>>>
[src]
&'env self
) -> Result<Option<Local<'env, DecimalStyle>>>
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]
&'env self,
arg0: impl Into<Option<&'env DecimalStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
Required features: "java-time-format-DateTimeFormatter", "java-time-format-DecimalStyle"
pub fn get_chronology<'env>(
&'env self
) -> Result<Option<Local<'env, Chronology>>>
[src]
&'env self
) -> Result<Option<Local<'env, Chronology>>>
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]
&'env self,
arg0: impl Into<Option<&'env Chronology>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
Required features: "java-time-chrono-Chronology", "java-time-format-DateTimeFormatter"
pub fn get_zone<'env>(&'env self) -> Result<Option<Local<'env, ZoneId>>>
[src]
Required features: "java-time-ZoneId"
pub fn with_zone<'env>(
&'env self,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
[src]
&'env self,
arg0: impl Into<Option<&'env ZoneId>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
Required features: "java-time-ZoneId", "java-time-format-DateTimeFormatter"
pub fn get_resolver_style<'env>(
&'env self
) -> Result<Option<Local<'env, ResolverStyle>>>
[src]
&'env self
) -> Result<Option<Local<'env, ResolverStyle>>>
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]
&'env self,
arg0: impl Into<Option<&'env ResolverStyle>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
Required features: "java-time-format-DateTimeFormatter", "java-time-format-ResolverStyle"
pub fn get_resolver_fields<'env>(&'env self) -> Result<Option<Local<'env, Set>>>
[src]
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]
&'env self,
arg0: impl Into<Option<&'env Set>>
) -> Result<Option<Local<'env, DateTimeFormatter>>>
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]
&'env self,
arg0: impl Into<Option<&'env TemporalAccessor>>
) -> Result<Option<Local<'env, String>>>
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]
&'env self,
arg0: impl Into<Option<&'env TemporalAccessor>>,
arg1: impl Into<Option<&'env Appendable>>
) -> Result<()>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>
) -> Result<Option<Local<'env, TemporalAccessor>>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, TemporalAccessor>>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Object>>>
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]
&'env self,
arg0: impl Into<Option<&'env CharSequence>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, TemporalAccessor>>>
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]
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]
&'env self,
arg0: impl Into<Option<&'env TemporalQuery>>
) -> Result<Option<Local<'env, Format>>>
Required features: "java-text-Format", "java-time-temporal-TemporalQuery"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
Required features: "java-lang-String"
Methods from Deref<Target = Object>
pub fn get_class<'env>(&'env self) -> Result<Option<Local<'env, Class>>>
[src]
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]
&'env self,
arg0: impl Into<Option<&'env Object>>
) -> Result<bool>
Required features: "java-lang-Object"
pub fn to_string<'env>(&'env self) -> Result<Option<Local<'env, String>>>
[src]
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
impl AsValidJObjectAndEnv for DateTimeFormatter
impl AsJValue for DateTimeFormatter
Auto Trait Implementations
impl !Sync for DateTimeFormatter
impl !Send for DateTimeFormatter
impl Unpin for DateTimeFormatter
impl RefUnwindSafe for DateTimeFormatter
impl UnwindSafe for DateTimeFormatter
Blanket Implementations
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,