Enum TimeSegment
The individual parts of a time-of-day value that can be edited on their own.
Namespace: Unity.AppUI.UI
Assembly: Unity.AppUI.dll
Syntax
public enum TimeSegment
Remarks
A time control displays its value as a sequence of segments (HH:mm, plus :ss when seconds
are shown and an AM/PM segment on a 12-hour clock). Each segment steps independently and wraps
inside its own unit: stepping minutes past 59 goes back to 00 without carrying into the hour.
Fields
| Name | Description |
|---|---|
| DayPeriod | The AM/PM segment. Only present on a 12-hour clock. Stepping it shifts the hours by 12. |
| Hours | The hours segment. Always steps over the full 0-23 range, even on a 12-hour clock. |
| Minutes | The minutes segment. Steps by minuteStep. |
| Seconds | The seconds segment. Only present when seconds are displayed. |