Author Commit Message Labels Comments Date
alloy020 avataralloy020
Add `stringFromDate` variant that takes source timezone into account.
Comments 2
Peter Hosey avatarPeter Hosey
This should be an NSInteger, not an NSTimeInterval. Thanks to Rudy Richter for bringing this to my attention.
Peter Hosey avatarPeter Hosey
Added tag 0.6 for changeset 37825820b1c1
Peter Hosey avatarPeter Hosey
Updated copyright year range in license.
Tags
0.6
Peter Hosey avatarPeter Hosey
Updated README for 0.6.
Peter Hosey avatarPeter Hosey
Added a method to drop the cache if you get a memory warning.
Peter Hosey avatarPeter Hosey
Cache time zones by offset. Gets another speed-up of about 1.5×, and makes this now faster than C stdlib.
Peter Hosey avatarPeter Hosey
State our units.
Peter Hosey avatarPeter Hosey
Announce which one we're timing before we run it.
Peter Hosey avatarPeter Hosey
Two calendars are better than one.
Peter Hosey avatarPeter Hosey
Oh yeah. Let's not leak the calendar while we're at it.
Peter Hosey avatarPeter 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 avatarPeter Hosey
Added some sleeps so I'm better able to see the phases' starts and ends in Instruments's timeline.
Peter Hosey avatarPeter Hosey
Made this almost ten times as fast by holding onto the date formatter we use for unparsing.
Peter Hosey avatarPeter Hosey
Added a program that times the ISO 8601 date formatter against C standard library date parsing and unparsing. Inspired by [1].
Peter Hosey avatarPeter Hosey
Change the minutes over to use precision the same as the hour does, for consistency with the hours. References #4.
Peter Hosey avatarPeter Hosey
Fixed #4 by amending the time string format to use a different method of zero-padding that is compatible, in Apple's implementation, with the + flag.
Peter Hosey avatarPeter Hosey
Beefed up the calendar-date unparser test with a couple of command-line arguments.
Peter Hosey avatarPeter Hosey
Also test negative hours. Works.
Peter Hosey avatarPeter Hosey
Added a function that tests a single-digit hour (which should be prefixed with both + and 0) in various formats.
Peter Hosey avatarPeter Hosey
Checking in a new test program.
Peter Hosey avatarPeter Hosey
Make the parser tester show parsed dates in GMT, not the local time zone.
Peter Hosey avatarPeter Hosey
Fix implicit-cast warnings by using the correct formatter and explicitly casting to its type.
Peter Hosey avatarPeter Hosey
Changed compiler to Clang.
Peter Hosey avatarPeter Hosey
Initialize more variables, fixing some warnings. Thanks to Sparks for this patch.
Peter Hosey avatarPeter Hosey
Fixed a couple of 64-to-32 warnings that occurred when building for i386.
Peter Hosey avatarPeter Hosey
More warnings.
Peter Hosey avatarPeter Hosey
Fix all warnings.
Peter Hosey avatarPeter Hosey
Replacing -Wall with the Hoseyification suite of warning flags.
Peter Hosey avatarPeter Hosey
Pass a date, not the ISO 8601 date formatter (oops), to the time formatter.
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.