Skip to content

Commit

Permalink
Moved ivars from interface to implementation. Fixes #28.
Browse files Browse the repository at this point in the history
  • Loading branch information
boredzo committed Oct 3, 2013
1 parent 3f3c3b8 commit cdec3e9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 0 additions & 12 deletions ISO8601DateFormatter.h
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,6 @@ typedef NSUInteger ISO8601DateFormat;
extern unichar ISO8601DefaultTimeSeparatorCharacter;

@interface ISO8601DateFormatter: NSFormatter
{
NSString *lastUsedFormatString;
NSDateFormatter *unparsingFormatter;

NSCalendar *parsingCalendar, *unparsingCalendar;

NSTimeZone *defaultTimeZone;
ISO8601DateFormat format;
unichar timeSeparator;
BOOL includeTime;
BOOL parsesStrictly;
}

@property(nonatomic, retain) NSTimeZone *defaultTimeZone;

Expand Down
12 changes: 12 additions & 0 deletions ISO8601DateFormatter.m
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,18 @@ bool ISO8601DateFormatter_GlobalCachesAreWarm(void) {
#endif

@implementation ISO8601DateFormatter
{
NSString *lastUsedFormatString;
NSDateFormatter *unparsingFormatter;

NSCalendar *parsingCalendar, *unparsingCalendar;

NSTimeZone *defaultTimeZone;
ISO8601DateFormat format;
unichar timeSeparator;
BOOL includeTime;
BOOL parsesStrictly;
}

+ (void) initialize {
[self createGlobalCachesThatDoNotAlreadyExist];
Expand Down

0 comments on commit cdec3e9

Please sign in to comment.