Language

DateFormat.GetBooleanAttribute(DateFormat+BooleanAttribute) Method

Definition

Returns the current value for the specified BooleanAttribute for this instance if attribute is missing false is returned.

[Android.Runtime.Register("getBooleanAttribute", "(Landroid/icu/text/DateFormat$BooleanAttribute;)Z", "GetGetBooleanAttribute_Landroid_icu_text_DateFormat_BooleanAttribute_Handler", ApiSince=24)]
public virtual bool GetBooleanAttribute(Android.Icu.Text.DateFormat.BooleanAttribute? key);
[<Android.Runtime.Register("getBooleanAttribute", "(Landroid/icu/text/DateFormat$BooleanAttribute;)Z", "GetGetBooleanAttribute_Landroid_icu_text_DateFormat_BooleanAttribute_Handler", ApiSince=24)>]
abstract member GetBooleanAttribute : Android.Icu.Text.DateFormat.BooleanAttribute -> bool
override this.GetBooleanAttribute : Android.Icu.Text.DateFormat.BooleanAttribute -> bool

Parameters

key
DateFormat.BooleanAttribute

The date-parsing option whose enabled state is queried.

Returns

true if the selected parsing option is enabled; otherwise, false.

Attributes

Remarks

Returns the current value for the specified BooleanAttribute for this instance if attribute is missing false is returned.

Android reference for android.icu.text.DateFormat.getBooleanAttribute.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to