Udostępnij za pośrednictwem


Calendar.NarrowFormat Field

Definition

A style specifier for #getDisplayName(int, int, Locale) getDisplayName and #getDisplayNames(int, int, Locale) getDisplayNames indicating a narrow name used for format.

[Android.Runtime.Register("NARROW_FORMAT", ApiSince=26)]
public const int NarrowFormat = 4;
[<Android.Runtime.Register("NARROW_FORMAT", ApiSince=26)>]
val mutable NarrowFormat : int

Field Value

Value = 4
Attributes

Remarks

A style specifier for #getDisplayName(int, int, Locale) getDisplayName and #getDisplayNames(int, int, Locale) getDisplayNames indicating a narrow name used for format. Narrow names are typically single character strings, such as "M" for Monday.

Added in 1.8.

Java documentation for java.util.Calendar.NARROW_FORMAT.

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