Field
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
struct Field
struct Field
s20FoundationEssentials4DateV0A20InternationalizationE21ComponentsFormatStyleV5FieldV
What are these?820B2
import FoundationInternationalization
import FoundationEssentials
struct ComponentsFormatStyle
struct Date
Date
represents a single point in time.
init(from decoder: any Decoder) throws
protocol Decodable
A type that can decode itself from an external representation.
protocol Encodable
A type that can encode itself to an external representation.
protocol Equatable
A type that can be compared for value equality.
protocol Hashable : Equatable
A type that can be hashed into a Hasher
to produce an integer hash value.
protocol Sendable
init(from decoder: any Decoder) throws
static var day: Date.ComponentsFormatStyle.Field { get }
static var hour: Date.ComponentsFormatStyle.Field { get }
static var minute: Date.ComponentsFormatStyle.Field { get }
static var month: Date.ComponentsFormatStyle.Field { get }
static var second: Date.ComponentsFormatStyle.Field { get }
static var week: Date.ComponentsFormatStyle.Field { get }
static var year: Date.ComponentsFormatStyle.Field { get }
static func != (lhs: Self, rhs: Self) -> Bool
Returns a Boolean value indicating whether two values are not equal.