DateComponentsConvertible
internal protocol DateComponentsConvertible
Expresses that a type can be represented as DateComponents.
-
Convert instance to a
DateComponents.Declaration
Swift
func dateComponents(_ calendar: Calendar) -> DateComponentsParameters
calendarCalendar for resulting components.
Return Value
Newly created
DateComponentscontaining values from this instance.
View on GitHub
Install in Dash
DateComponentsConvertible Protocol Reference