…chter for bringing this to my attention.
…makes this now faster than C stdlib.
Previous 5× speed-up required assistance from the test program (setting the default output time zone to the time zone returned from an initial parse). Now it's official: ISO8601DateFormatter gets its 5× speed-up from calendar-caching without assistance from the test app.
… formatter, instead of creating them and throwing them away, and make sure it always has our default time zone.
…ds in Instruments's timeline.
… we use for unparsing.
…dard library date parsing and unparsing. Inspired by . : http://samsoff.es/posts/how-to-drastically-improve-your-app-with-an-afternoon-and-instruments
…or consistency with the hours. References #4.
… of zero-padding that is compatible, in Apple's implementation, with the + flag.
…ixed with both + and 0) in various formats.
…tly casting to its type. Sparks submitted a patch for this, but it approached this differently, by explicitly casting to unsigned int and leaving the formatters as they were. This change solves the problem the compiler was warning about, which was the risk of truncating numbers that are out of unsigned int range.
… this patch.
… date formatter.
…cation, as expected by NSDate's +dateWithString: and -initWithString: methods and emitted by its -description method.