TimeFormat Properties
The properties defined in the TimeFormat class are summarized in the following table.
| Property | Description |
|---|---|
| amText | Contains the text for the morning time marker |
| ampmIsSuffix | Specifies whether the time marker is displayed before or after the time string |
| format | Contains the time formatting string |
| is12HourFormat | Specifies whether the 12-hour or 24-hour time format is used |
| pmText | Contains the text for the afternoon time marker |
| separator | Contains the string value used to separate hours, minutes, and seconds |
| showLeadingZeros | Specifies whether a leading zero is displayed in time fields less than ten |
| showSeconds | Specifies whether seconds are displayed in the time format |
