HourFormat HourFormat HourFormat HourFormat HourFormat Enum

Definition

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

public : enum class HourFormat
enum class winrt::Windows::Globalization::DateTimeFormatting::HourFormat : int32_t
public enum HourFormat
Public Enum HourFormat
var value = Windows.Globalization.DateTimeFormatting.HourFormat.default;
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 Default 1

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 None 0

Do not display the hour.