Static Propertyswift 6.0.3FoundationInternationalization->FoundationEssentials
omitted
Excludes the time part.
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
static let omitted: Date.FormatStyle.TimeStyle
Excludes the time part.
static let omitted: Date.FormatStyle.TimeStyle
s20FoundationEssentials4DateV0A20InternationalizationE11FormatStyleV04TimeF0V7omittedAHvpZ
What are these?6D6NS
import FoundationEssentials
import FoundationInternationalization
struct TimeStyle
Predefined time styles varied in lengths or the components included. The exact format depends on the locale.
struct Date
Date
represents a single point in time.
struct FormatStyle
Strategies for formatting a Date
.
init(from decoder: any Decoder) throws
static let complete: Date.FormatStyle.TimeStyle
For example, 4:29:24 PM PDT
, 16:29:24 GMT
.
static let shortened: Date.FormatStyle.TimeStyle
For example, 04:29 PM
, 16:29
.
static let standard: Date.FormatStyle.TimeStyle
For example, 4:29:24 PM
, 16:29:24
.