StructureFoundation5.9.0
Unit
struct Unit
Citizens in Foundation
Conformances
protocol Equatable
A type that can be compared for value equality.
protocol ExpressibleByArrayLiteral
A type that can be initialized using an array literal.
protocol OptionSet
A type that presents a mathematical set interface to a bit set.
protocol RawRepresentable
A type that can be converted to and from an associated raw value.
protocol SetAlgebra
A type that provides mathematical set operations.
Members
init(rawValue: UInt
) static let calendar: NSCalendar.Unit
static let day: NSCalendar.Unit
static let era: NSCalendar.Unit
static let hour: NSCalendar.Unit
static let minute: NSCalendar.Unit
static let month: NSCalendar.Unit
static let nanosecond: NSCalendar.Unit
static let quarter: NSCalendar.Unit
static let second: NSCalendar.Unit
static let timeZone: NSCalendar.Unit
static let weekOfMonth: NSCalendar.Unit
static let weekOfYear: NSCalendar.Unit
static let weekday: NSCalendar.Unit
static let weekdayOrdinal: NSCalendar.Unit
static let year: NSCalendar.Unit
static let yearForWeekOfYear: NSCalendar.Unit
let rawValue: UInt
Features
static func != (Self, Self
) -> Bool func isStrictSubset(of: Self
) -> Bool Returns a Boolean value that indicates whether this set is a strict subset of the given set.
func isStrictSuperset(of: Self
) -> Bool Returns a Boolean value that indicates whether this set is a strict superset of the given set.