ClockIdentifiers ClockIdentifiers ClockIdentifiers ClockIdentifiers Class

Definition

Contains the clock identifiers for the supported clocks, as static properties.

public static class ClockIdentifierspublic static class ClockIdentifiersPublic Static Class ClockIdentifierspublic static class ClockIdentifiers
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

The identifiers returned by properties on this class are suitable for use anywhere a clock identifier is required.

Properties

TwelveHour TwelveHour TwelveHour TwelveHour

Gets the identifier for a 12-hour clock.

public static string TwelveHour { get; }public static string TwelveHour { get; }Public Static ReadOnly Property TwelveHour As stringpublic static string TwelveHour { get; }
Value
string string string string

The string "12HourClock", which is the identifier for a 12-hour clock.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

TwentyFourHour TwentyFourHour TwentyFourHour TwentyFourHour

Gets the identifier for a 24-hour clock.

public static string TwentyFourHour { get; }public static string TwentyFourHour { get; }Public Static ReadOnly Property TwentyFourHour As stringpublic static string TwentyFourHour { get; }
Value
string string string string

The string "24HourClock", which is the identifier for a 24-hour clock.

Attributes
Additional features and requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)