[swift-evolution] [swift-corelibs-dev] Proposal: Conforming NSDate to Comparable
kevin at sb.org
Sat Dec 5 21:42:46 CST 2015
On Sat, Dec 5, 2015, at 07:10 PM, Pierre Habouzit via swift-evolution
> NSDate (and dates/timestamps in general) is a poor choice for Strideable,
> because, DST.
> A Calendar using this interface for a repeating event would be broken
> using this. Or you would break anyone who really wants to iterate every
> fixed 86400 seconds.
That's not a problem with Strideable. Making NSDate conform to
Strideable does nothing to encourage people as treating 86400 seconds as
being equal to 1 day. NSDate already has methods for measuring and
offsetting, the only difference with conforming to Strideable is the
More information about the swift-evolution