Enumerationswift 6.1.2Foundation
Style
enum Styleenum Styleimport Foundationclass DateIntervalFormattercase fullcase longcase mediumcase nonecase shortoverride init() required init?(coder: NSCoder) var calendar: Calendar! { get set }var dateStyle: DateIntervalFormatter.Style { get set }var dateTemplate: String! { get set }var locale: Locale! { get set }var timeStyle: DateIntervalFormatter.Style { get set }var timeZone: TimeZone! { get set }override func copy(with zone: NSZone? = nil) -> Any override func editingString(for obj: Any) -> String? override func encode(with aCoder: NSCoder) override func string(for obj: Any) -> String? func string(from dateInterval: DateInterval) -> String? func string(from fromDate: Date, to toDate: Date) -> String protocol EquatableA type that can be compared for value equality.
protocol Hashable : EquatableA type that can be hashed into a Hasher to produce an integer hash value.
protocol RawRepresentable<RawValue>A type that can be converted to and from an associated raw value.
protocol SendableA thread-safe type whose values can be shared across arbitrary concurrent contexts without introducing a risk of data races. Values of the type may have no shared mutable state, or they may protect that state with a lock or by forcing it to only be accessed from a specific actor.
init?(rawValue: UInt) var hashValue: Int { get }static func != (lhs: Self, rhs: Self) -> Bool Returns a Boolean value indicating whether two values are not equal.
func hash(into hasher: inout Hasher)