Extended StructureSwift
Range
extension Range
Topics
Initializers
Instance Methods
func formatted() -> StringFormats the date range as an interval.func formatted<S>(S) -> S.FormatOutputFormats the date range using the specified style.func formatted(date: Date.IntervalFormatStyle.DateStyle, time: Date.IntervalFormatStyle.TimeStyle) -> StringFormats the date range using the specified date and time format styles.func isValid(within:)Indicates whether the range is valid for use with the provided discontiguous attributed string.