public func ==(lhs: Date, rhs: Date) -> Bool {
return lhs === rhs || lhs.compare(rhs) == .orderedSame
}
After upgrading to Swift 3 I now get this error... "Binary operator ===
cannot be applied to two Date
operands"
Any suggestions on how to correct this?