Commit ID a1eff575bec0abce29440bb8cd3f077ffcaa6b93
|
Contributor: | Peter Hosey | Files Modified: | 12 |
| Date: | 13-April-2009 at 05:22 | Lines Added: | 941 | |
| Repository: | https://iso8601parser.googlecode.com/hg/ | Lines Removed: | 900 | |
| Commit Comment: | 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. The parser remains more or less unchanged. Two-thirds of the unparser is now based on NSDateFormatter, which handles that portion of ISO 8601 string-formatting more or less for free; the part not handled for free is week dates (because NSCalendar has a different idea of when the week starts), and that unparser also remains more or less unchanged. |
|||
| Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|
| Objective-C | 682 | 652 | 109 | 116 | 146 | 128 | |
| Make | 4 | 4 | 0 | 0 | 0 | 0 | |
| File | Language | Code Added | Code Removed | Comments Added | Comment Removed | Blanks Added | Blanks Removed | |
|---|---|---|---|---|---|---|---|---|
| ISO8601DateFormatter.h | Objective-C | 32 | 0 | 24 | 0 | 15 | 0 | |
| ISO8601DateFormatter.m | Objective-C | 631 | 0 | 85 | 0 | 127 | 0 | |
| Makefile | Make | 4 | 4 | 0 | 0 | 0 | 0 | |
| NSCalendarDate+ISO8601Parsing.h | Objective-C | 0 | 10 | 0 | 20 | 0 | 7 | |
| NSCalendarDate+ISO8601Parsing.m | Objective-C | 0 | 483 | 0 | 74 | 0 | 83 | |
| NSCalendarDate+ISO8601Unparsing.h | Objective-C | 0 | 16 | 0 | 10 | 0 | 10 | |
| NSCalendarDate+ISO8601Unparsing.m | Objective-C | 0 | 132 | 0 | 12 | 0 | 28 | |
| README.txt | No source code was detected in this file. | |||||||
| testparser.m | Objective-C | 4 | 2 | 0 | 0 | 1 | 0 | |
| unparse-date.m | Objective-C | 5 | 3 | 0 | 0 | 1 | 0 | |
Copyright
©
2013
Black Duck Software, Inc.
and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a
Creative Commons Attribution 3.0 Unported License
. Ohloh
®
and the Ohloh logo are trademarks of
Black Duck Software, Inc.
in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.