MonthFormat MonthFormat MonthFormat MonthFormat MonthFormat Enum

Definition

Specifies the intended format for the month in a DateTimeFormatter object.

public : enum class MonthFormat
enum class winrt::Windows::Globalization::DateTimeFormatting::MonthFormat : int32_t
public enum MonthFormat
Public Enum MonthFormat
var value = Windows.Globalization.DateTimeFormatting.MonthFormat.abbreviated;
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Fields

Abbreviated Abbreviated Abbreviated Abbreviated Abbreviated 2

Display an abbreviated version of the month (for example, "Sep" for September).

Default Default Default Default Default 1

Display the month in the most natural way. It may be abbreviated, full, or numeric depending on the context, such as the language or calendar that is being used.

Full Full Full Full Full 3

Display the month in its entirety (for example, "September").

None None None None None 0

Do not display the month.

Numeric Numeric Numeric Numeric Numeric 4

Display the month as a number (for example, "9" for September).