Source

ISO 8601 parser/unparser / ISO8601DateFormatter.h

Author Commit Message Labels Comments Date
Peter Hosey
Added a method to drop the cache if you get a memory warning.
Peter Hosey
Two calendars are better than one.
Peter Hosey
Another 5× speed-up: Create and always use a single calendar per date formatter, instead of creating them and throwing them away, and make sure it always has our default time zone.
Peter Hosey
Made this almost ten times as fast by holding onto the date formatter we use for unparsing.
Peter Hosey
Massive rewrite. The parser and unparser are now together in a single NSFormatter subclass, and are now based on NSCalendar and NSDateComponents instead of NSCalendarDate.