Enumerationswift 6.0.3Foundation
Style
enum Style
enum Style
import Foundation
class DateIntervalFormatter
case full
case long
case medium
case none
case short
override 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 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 RawRepresentable<RawValue>
A type that can be converted to and from an associated raw value.
protocol Sendable
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)