MonthFormat
MonthFormat
MonthFormat
MonthFormat
Enum
Definition
Specifies the intended format for the month in a DateTimeFormatter object.
public : enum class MonthFormatpublic enum MonthFormatPublic Enum MonthFormat// You can use this enum in JavaScript.
- 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 | Display an abbreviated version of the month (for example, "Sep" for September). |
| Default Default Default Default | 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 | Display the month in its entirety (for example, "September"). |
| None None None None | Do not display the month. |
| Numeric Numeric Numeric Numeric | Display the month as a number (for example, "9" for September). |