Operator

==(_:_:)

Indicates whether two date component instances are the same.

Declaration

static func == (lhs: DateComponents, rhs: DateComponents) -> Bool

Relationships

From Protocol

See Also

Comparing Date Components

static func != (DateComponents, DateComponents) -> Bool

Returns a Boolean value indicating whether two values are not equal.