Source

ISO 8601 parser/unparser / NSCalendarDate+ISO8601Unparsing.h

Diff from to

NSCalendarDate+ISO8601Unparsing.h

 /*This addition unparses dates to ISO 8601 strings. A good introduction to ISO 8601: <http://www.cl.cam.ac.uk/~mgk25/iso-time.html>
  */
 
+//The default separator for time values. Currently, this is ':'.
+extern unichar ISO8601UnparserDefaultTimeSeparatorCharacter;
+
 @interface NSCalendarDate(ISO8601Unparsing)
 
+- (NSString *)ISO8601DateStringWithTime:(BOOL)includeTime timeSeparator:(unichar)timeSep;
+- (NSString *)ISO8601WeekDateStringWithTime:(BOOL)includeTime timeSeparator:(unichar)timeSep;
+- (NSString *)ISO8601OrdinalDateStringWithTime:(BOOL)includeTime timeSeparator:(unichar)timeSep;
+
 - (NSString *)ISO8601DateStringWithTime:(BOOL)includeTime;
 - (NSString *)ISO8601WeekDateStringWithTime:(BOOL)includeTime;
 - (NSString *)ISO8601OrdinalDateStringWithTime:(BOOL)includeTime;
 
 //includeTime: YES.
+- (NSString *)ISO8601DateStringWithTimeSeparator:(unichar)timeSep;
+- (NSString *)ISO8601WeekDateStringWithTimeSeparator:(unichar)timeSep;
+- (NSString *)ISO8601OrdinalDateStringWithTimeSeparator:(unichar)timeSep;
+
+//includeTime: YES.
 - (NSString *)ISO8601DateString;
 - (NSString *)ISO8601WeekDateString;
 - (NSString *)ISO8601OrdinalDateString;
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.