[−]Struct jni_android_sys::android::icu::text::DateFormat
public class DateFormat
Required feature: "android-icu-text-DateFormat"
Methods
impl DateFormat
pub fn format_Object_StringBuffer_FieldPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Object>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-StringBuffer", "java-text-FieldPosition"
pub fn format_Calendar_StringBuffer_FieldPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "android-icu-util-Calendar", "java-lang-StringBuffer", "java-text-FieldPosition"
pub fn format_Date_StringBuffer_FieldPosition<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Date>>,
arg1: impl Into<Option<&'env StringBuffer>>,
arg2: impl Into<Option<&'env FieldPosition>>
) -> Result<Option<Local<'env, StringBuffer>>, Local<'env, Throwable>>
Required features: "java-lang-StringBuffer", "java-text-FieldPosition", "java-util-Date"
pub fn format_Date<'env>(
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Date>>
) -> Result<Option<Local<'env, String>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Date"
pub fn parse_String<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-util-Date"
pub fn parse_String_Calendar_ParsePosition<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Calendar>>,
arg2: impl Into<Option<&'env ParsePosition>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Calendar>>,
arg2: impl Into<Option<&'env ParsePosition>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-util-Calendar", "java-lang-String", "java-text-ParsePosition"
pub fn parse_String_ParsePosition<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Date>>, Local<'env, Throwable>>
Required features: "java-lang-String", "java-text-ParsePosition", "java-util-Date"
pub fn parseObject<'env>(
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ParsePosition>>
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object", "java-lang-String", "java-text-ParsePosition"
pub fn getTimeInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat"
pub fn getTimeInstance_int<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat"
pub fn getTimeInstance_int_Locale<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "java-util-Locale"
pub fn getTimeInstance_int_ULocale<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-ULocale"
pub fn getDateInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat"
pub fn getDateInstance_int<'env>(
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat"
pub fn getDateInstance_int_Locale<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "java-util-Locale"
pub fn getDateInstance_int_ULocale<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-ULocale"
pub fn getDateTimeInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat"
pub fn getDateTimeInstance_int_int<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat"
pub fn getDateTimeInstance_int_int_Locale<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "java-util-Locale"
pub fn getDateTimeInstance_int_int_ULocale<'env>(
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: i32,
arg1: i32,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-ULocale"
pub fn getInstance<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat"
pub fn getAvailableLocales<'env>(
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<Locale, Throwable>>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env
) -> Result<Option<Local<'env, ObjectArray<Locale, Throwable>>>, Local<'env, Throwable>>
Required features: "java-util-Locale"
pub fn setCalendar<'env>(
&'env self,
arg0: impl Into<Option<&'env Calendar>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env Calendar>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-util-Calendar"
pub fn getCalendar<'env>(
&'env self
) -> Result<Option<Local<'env, Calendar>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Calendar>>, Local<'env, Throwable>>
Required features: "android-icu-util-Calendar"
pub fn setNumberFormat<'env>(
&'env self,
arg0: impl Into<Option<&'env NumberFormat>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env NumberFormat>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-text-NumberFormat"
pub fn getNumberFormat<'env>(
&'env self
) -> Result<Option<Local<'env, NumberFormat>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, NumberFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-NumberFormat"
pub fn setTimeZone<'env>(
&'env self,
arg0: impl Into<Option<&'env TimeZone>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env TimeZone>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone"
pub fn getTimeZone<'env>(
&'env self
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, TimeZone>>, Local<'env, Throwable>>
Required features: "android-icu-util-TimeZone"
pub fn setLenient<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isLenient<'env>(&'env self) -> Result<bool, Local<'env, Throwable>>
[src]
pub fn setCalendarLenient<'env>(
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: bool
) -> Result<(), Local<'env, Throwable>>
pub fn isCalendarLenient<'env>(
&'env self
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self
) -> Result<bool, Local<'env, Throwable>>
pub fn setBooleanAttribute<'env>(
&'env self,
arg0: impl Into<Option<&'env DateFormat_BooleanAttribute>>,
arg1: bool
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DateFormat_BooleanAttribute>>,
arg1: bool
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-text-DateFormat_BooleanAttribute"
pub fn getBooleanAttribute<'env>(
&'env self,
arg0: impl Into<Option<&'env DateFormat_BooleanAttribute>>
) -> Result<bool, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DateFormat_BooleanAttribute>>
) -> Result<bool, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat_BooleanAttribute"
pub fn setContext<'env>(
&'env self,
arg0: impl Into<Option<&'env DisplayContext>>
) -> Result<(), Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DisplayContext>>
) -> Result<(), Local<'env, Throwable>>
Required features: "android-icu-text-DisplayContext"
pub fn getContext<'env>(
&'env self,
arg0: impl Into<Option<&'env DisplayContext_Type>>
) -> Result<Option<Local<'env, DisplayContext>>, Local<'env, Throwable>>
[src]
&'env self,
arg0: impl Into<Option<&'env DisplayContext_Type>>
) -> Result<Option<Local<'env, DisplayContext>>, Local<'env, Throwable>>
Required features: "android-icu-text-DisplayContext", "android-icu-text-DisplayContext_Type"
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 clone<'env>(
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
[src]
&'env self
) -> Result<Option<Local<'env, Object>>, Local<'env, Throwable>>
Required features: "java-lang-Object"
pub fn getDateInstance_Calendar_int_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "java-util-Locale"
pub fn getDateInstance_Calendar_int_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "android-icu-util-ULocale"
pub fn getTimeInstance_Calendar_int_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "java-util-Locale"
pub fn getTimeInstance_Calendar_int_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "android-icu-util-ULocale"
pub fn getDateTimeInstance_Calendar_int_int_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "java-util-Locale"
pub fn getDateTimeInstance_Calendar_int_int_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: i32,
arg3: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "android-icu-util-ULocale"
pub fn getInstance_Calendar_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "java-util-Locale"
pub fn getInstance_Calendar<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar"
pub fn getDateInstance_Calendar_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar"
pub fn getTimeInstance_Calendar_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar"
pub fn getDateTimeInstance_Calendar_int_int<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: i32,
arg2: i32
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar"
pub fn getInstanceForSkeleton_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "java-lang-String"
pub fn getInstanceForSkeleton_String_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "java-lang-String", "java-util-Locale"
pub fn getInstanceForSkeleton_String_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-ULocale", "java-lang-String"
pub fn getInstanceForSkeleton_Calendar_String_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "java-lang-String", "java-util-Locale"
pub fn getInstanceForSkeleton_Calendar_String_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "android-icu-util-ULocale", "java-lang-String"
pub fn getPatternInstance_String<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "java-lang-String"
pub fn getPatternInstance_String_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "java-lang-String", "java-util-Locale"
pub fn getPatternInstance_String_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env String>>,
arg1: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-ULocale", "java-lang-String"
pub fn getPatternInstance_Calendar_String_Locale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env Locale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "java-lang-String", "java-util-Locale"
pub fn getPatternInstance_Calendar_String_ULocale<'env>(
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
[src]
__jni_env: &'env Env,
arg0: impl Into<Option<&'env Calendar>>,
arg1: impl Into<Option<&'env String>>,
arg2: impl Into<Option<&'env ULocale>>
) -> Result<Option<Local<'env, DateFormat>>, Local<'env, Throwable>>
Required features: "android-icu-text-DateFormat", "android-icu-util-Calendar", "android-icu-util-ULocale", "java-lang-String"
pub const ABBR_GENERIC_TZ: &'static str
[src]
public static final ABBR_GENERIC_TZ
pub const ABBR_MONTH: &'static str
[src]
public static final ABBR_MONTH
pub const ABBR_MONTH_DAY: &'static str
[src]
public static final ABBR_MONTH_DAY
pub const ABBR_MONTH_WEEKDAY_DAY: &'static str
[src]
public static final ABBR_MONTH_WEEKDAY_DAY
pub const ABBR_QUARTER: &'static str
[src]
public static final ABBR_QUARTER
pub const ABBR_SPECIFIC_TZ: &'static str
[src]
public static final ABBR_SPECIFIC_TZ
pub const ABBR_UTC_TZ: &'static str
[src]
public static final ABBR_UTC_TZ
pub const ABBR_WEEKDAY: &'static str
[src]
public static final ABBR_WEEKDAY
pub const AM_PM_FIELD: i32
[src]
public static final AM_PM_FIELD
pub const AM_PM_MIDNIGHT_NOON_FIELD: i32
[src]
public static final AM_PM_MIDNIGHT_NOON_FIELD
pub const DATE_FIELD: i32
[src]
public static final DATE_FIELD
pub const DAY: &'static str
[src]
public static final DAY
pub const DAY_OF_WEEK_FIELD: i32
[src]
public static final DAY_OF_WEEK_FIELD
pub const DAY_OF_WEEK_IN_MONTH_FIELD: i32
[src]
public static final DAY_OF_WEEK_IN_MONTH_FIELD
pub const DAY_OF_YEAR_FIELD: i32
[src]
public static final DAY_OF_YEAR_FIELD
pub const DEFAULT: i32
[src]
public static final DEFAULT
pub const DOW_LOCAL_FIELD: i32
[src]
public static final DOW_LOCAL_FIELD
pub const ERA_FIELD: i32
[src]
public static final ERA_FIELD
pub const EXTENDED_YEAR_FIELD: i32
[src]
public static final EXTENDED_YEAR_FIELD
pub const FLEXIBLE_DAY_PERIOD_FIELD: i32
[src]
public static final FLEXIBLE_DAY_PERIOD_FIELD
pub const FRACTIONAL_SECOND_FIELD: i32
[src]
public static final FRACTIONAL_SECOND_FIELD
pub const FULL: i32
[src]
public static final FULL
pub const GENERIC_TZ: &'static str
[src]
public static final GENERIC_TZ
pub const HOUR: &'static str
[src]
public static final HOUR
pub const HOUR0_FIELD: i32
[src]
public static final HOUR0_FIELD
pub const HOUR1_FIELD: i32
[src]
public static final HOUR1_FIELD
pub const HOUR24: &'static str
[src]
public static final HOUR24
pub const HOUR24_MINUTE: &'static str
[src]
public static final HOUR24_MINUTE
pub const HOUR24_MINUTE_SECOND: &'static str
[src]
public static final HOUR24_MINUTE_SECOND
pub const HOUR_MINUTE: &'static str
[src]
public static final HOUR_MINUTE
pub const HOUR_MINUTE_SECOND: &'static str
[src]
public static final HOUR_MINUTE_SECOND
pub const HOUR_OF_DAY0_FIELD: i32
[src]
public static final HOUR_OF_DAY0_FIELD
pub const HOUR_OF_DAY1_FIELD: i32
[src]
public static final HOUR_OF_DAY1_FIELD
pub const JULIAN_DAY_FIELD: i32
[src]
public static final JULIAN_DAY_FIELD
pub const LOCATION_TZ: &'static str
[src]
public static final LOCATION_TZ
pub const LONG: i32
[src]
public static final LONG
pub const MEDIUM: i32
[src]
public static final MEDIUM
pub const MILLISECONDS_IN_DAY_FIELD: i32
[src]
public static final MILLISECONDS_IN_DAY_FIELD
pub const MILLISECOND_FIELD: i32
[src]
public static final MILLISECOND_FIELD
pub const MINUTE: &'static str
[src]
public static final MINUTE
pub const MINUTE_FIELD: i32
[src]
public static final MINUTE_FIELD
pub const MINUTE_SECOND: &'static str
[src]
public static final MINUTE_SECOND
pub const MONTH: &'static str
[src]
public static final MONTH
pub const MONTH_DAY: &'static str
[src]
public static final MONTH_DAY
pub const MONTH_FIELD: i32
[src]
public static final MONTH_FIELD
pub const MONTH_WEEKDAY_DAY: &'static str
[src]
public static final MONTH_WEEKDAY_DAY
pub const NONE: i32
[src]
public static final NONE
pub const NUM_MONTH: &'static str
[src]
public static final NUM_MONTH
pub const NUM_MONTH_DAY: &'static str
[src]
public static final NUM_MONTH_DAY
pub const NUM_MONTH_WEEKDAY_DAY: &'static str
[src]
public static final NUM_MONTH_WEEKDAY_DAY
pub const QUARTER: &'static str
[src]
public static final QUARTER
pub const QUARTER_FIELD: i32
[src]
public static final QUARTER_FIELD
pub const RELATIVE: i32
[src]
public static final RELATIVE
pub const RELATIVE_DEFAULT: i32
[src]
public static final RELATIVE_DEFAULT
pub const RELATIVE_FULL: i32
[src]
public static final RELATIVE_FULL
pub const RELATIVE_LONG: i32
[src]
public static final RELATIVE_LONG
pub const RELATIVE_MEDIUM: i32
[src]
public static final RELATIVE_MEDIUM
pub const RELATIVE_SHORT: i32
[src]
public static final RELATIVE_SHORT
pub const SECOND: &'static str
[src]
public static final SECOND
pub const SECOND_FIELD: i32
[src]
public static final SECOND_FIELD
pub const SHORT: i32
[src]
public static final SHORT
pub const SPECIFIC_TZ: &'static str
[src]
public static final SPECIFIC_TZ
pub const STANDALONE_DAY_FIELD: i32
[src]
public static final STANDALONE_DAY_FIELD
pub const STANDALONE_MONTH_FIELD: i32
[src]
public static final STANDALONE_MONTH_FIELD
pub const STANDALONE_QUARTER_FIELD: i32
[src]
public static final STANDALONE_QUARTER_FIELD
pub const TIMEZONE_FIELD: i32
[src]
public static final TIMEZONE_FIELD
pub const TIMEZONE_GENERIC_FIELD: i32
[src]
public static final TIMEZONE_GENERIC_FIELD
pub const TIMEZONE_ISO_FIELD: i32
[src]
public static final TIMEZONE_ISO_FIELD
pub const TIMEZONE_ISO_LOCAL_FIELD: i32
[src]
public static final TIMEZONE_ISO_LOCAL_FIELD
pub const TIMEZONE_LOCALIZED_GMT_OFFSET_FIELD: i32
[src]
public static final TIMEZONE_LOCALIZED_GMT_OFFSET_FIELD
pub const TIMEZONE_RFC_FIELD: i32
[src]
public static final TIMEZONE_RFC_FIELD
pub const TIMEZONE_SPECIAL_FIELD: i32
[src]
public static final TIMEZONE_SPECIAL_FIELD
pub const WEEKDAY: &'static str
[src]
public static final WEEKDAY
pub const WEEK_OF_MONTH_FIELD: i32
[src]
public static final WEEK_OF_MONTH_FIELD
pub const WEEK_OF_YEAR_FIELD: i32
[src]
public static final WEEK_OF_YEAR_FIELD
pub const YEAR: &'static str
[src]
public static final YEAR
pub const YEAR_ABBR_MONTH: &'static str
[src]
public static final YEAR_ABBR_MONTH
pub const YEAR_ABBR_MONTH_DAY: &'static str
[src]
public static final YEAR_ABBR_MONTH_DAY
pub const YEAR_ABBR_MONTH_WEEKDAY_DAY: &'static str
[src]
public static final YEAR_ABBR_MONTH_WEEKDAY_DAY
pub const YEAR_ABBR_QUARTER: &'static str
[src]
public static final YEAR_ABBR_QUARTER
pub const YEAR_FIELD: i32
[src]
public static final YEAR_FIELD
pub const YEAR_MONTH: &'static str
[src]
public static final YEAR_MONTH
pub const YEAR_MONTH_DAY: &'static str
[src]
public static final YEAR_MONTH_DAY
pub const YEAR_MONTH_WEEKDAY_DAY: &'static str
[src]
public static final YEAR_MONTH_WEEKDAY_DAY
pub const YEAR_NAME_FIELD: i32
[src]
public static final YEAR_NAME_FIELD
pub const YEAR_NUM_MONTH: &'static str
[src]
public static final YEAR_NUM_MONTH
pub const YEAR_NUM_MONTH_DAY: &'static str
[src]
public static final YEAR_NUM_MONTH_DAY
pub const YEAR_NUM_MONTH_WEEKDAY_DAY: &'static str
[src]
public static final YEAR_NUM_MONTH_WEEKDAY_DAY
pub const YEAR_QUARTER: &'static str
[src]
public static final YEAR_QUARTER
pub const YEAR_WOY_FIELD: i32
[src]
public static final YEAR_WOY_FIELD
Methods from Deref<Target = UFormat>
Trait Implementations
impl AsJValue for DateFormat
impl AsValidJObjectAndEnv for DateFormat
impl Deref for DateFormat
impl JniType for DateFormat
fn static_with_jni_type<R>(callback: impl FnOnce(&str) -> R) -> R
Auto Trait Implementations
impl RefUnwindSafe for DateFormat
impl !Send for DateFormat
impl !Sync for DateFormat
impl Unpin for DateFormat
impl UnwindSafe for DateFormat
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>,