init(from:)
- iOS
- 15.0+
- macOS
- 12.0+
- tvOS
- 15.0+
- watchOS
- 8.0+
init(from decoder: any Decoder) throws
init(from decoder: any Decoder) throws
s20FoundationEssentials4DateV0A20InternationalizationE21ComponentsFormatStyleV5FieldV4fromAHs7Decoder_p_tKcfc
What are these?9G5D6
import FoundationEssentials
import FoundationInternationalization
struct Field
struct Date
Date
represents a single point in time.
struct ComponentsFormatStyle
protocol Decoder
A type that can decode values from a native format into in-memory representations.
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 }