HourFormat
HourFormat
HourFormat
HourFormat
Enum
Definition
Specifies the intended format for the hour in a DateTimeFormatter object.
public : enum class HourFormatpublic enum HourFormatPublic Enum HourFormat// 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
| Default Default Default Default | Display the hour in the most natural way. This will depend on the context, such as the language or clock that is being used. |
| None None None None | Do not display the hour. |