Date.FormatStyle.Symbol.DayPeriod
A type that specifies a format for the time period in a date format style.
Declaration
struct DayPeriodOverview
The type Date.FormatStyle.Symbol.DayPeriod includes static factory methods that create custom Date.FormatStyle.Symbol.DayPeriod objects.
Factory variable | Description |
|---|---|
Conversational abbreviated period. For example, | |
Abbreviated period. For example, | |
Abbreviated period including designations for noon and midnight. For example, |
The day period format style may be uppercase or lowercase depending on the locale and other options.
For more information about formatting dates, see the Date.FormatStyle.
Topics
Modifying a Day Period
Supporting Enumerations
Comparing Day Periods
Type Properties
See Also
Modifying Date Style Format Symbols
Date.FormatStyle.Symbol.CyclicYearDate.FormatStyle.Symbol.DayDate.FormatStyle.Symbol.DayOfYearDate.FormatStyle.Symbol.EraDate.FormatStyle.Symbol.HourDate.FormatStyle.Symbol.MinuteDate.FormatStyle.Symbol.MonthDate.FormatStyle.Symbol.QuarterDate.FormatStyle.Symbol.SecondDate.FormatStyle.Symbol.SecondFractionDate.FormatStyle.Symbol.StandaloneMonthDate.FormatStyle.Symbol.StandaloneQuarterDate.FormatStyle.Symbol.StandaloneWeekdayDate.FormatStyle.Symbol.TimeZoneDate.FormatStyle.Symbol.VerbatimHour