compare(_:) Compares another date to this one. Declarationfunc compare(_ other: Date) -> ComparisonResult Parametersother: Another date. See AlsoComparing Dates==(_:_:)>(_:_:)<(_:_:)