Language

CalendarStyle Enum

Definition

Enumerates values returned by several types.

public enum CalendarStyle
type CalendarStyle = 
Inheritance
CalendarStyle

Fields

Name Value Description
AllStyles 0

A style specifier for getDisplayNames indicating names in all styles, such as "January" and "Jan".

Java reference for java.util.Calendar.ALL_STYLES.

Short 1

A style specifier for getDisplayName and getDisplayNames equivalent to SHORT_FORMAT.

Java reference for java.util.Calendar.SHORT.

Long 2

A style specifier for getDisplayName and getDisplayNames equivalent to LONG_FORMAT.

Java reference for java.util.Calendar.LONG.

Remarks

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