DayFormat Enum

Definition

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

public enum class DayFormat
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class DayFormat
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum DayFormat
var value = Windows.Globalization.DateTimeFormatting.DayFormat.none
Public Enum DayFormat
Inheritance
DayFormat
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Default 1

Display the day in the most natural way. This will depend on the context, such as the language or calendar (for example, for the Hebrew calendar and Hebrew language, use the Hebrew numbering system).

None 0

Do not display the day.

Applies to