Skip to content

Commit

Permalink
Merge pull request #368 from cloudmonkeypeng/cloudmonkeypeng/NSCalendar
Browse files Browse the repository at this point in the history
Make the const string NSCalendarIdentifier same as iOS
  • Loading branch information
Raj Seshasankaran committed Mar 1, 2016
2 parents ec146c4 + dc560f2 commit d2f2cc2
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions Frameworks/UnifiedFoundation/Foundation/NSCalendar.mm
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@

#include <unicode/gregocal.h>

NSString* const NSCalendarIdentifierGregorian = @"NSCalendarIdentifierGregorian";
NSString* const NSCalendarIdentifierBuddhist = @"NSCalendarIdentifierBuddhist";
NSString* const NSCalendarIdentifierChinese = @"NSCalendarIdentifierChinese";
NSString* const NSCalendarIdentifierCoptic = @"NSCalendarIdentifierCoptic";
NSString* const NSCalendarIdentifierEthiopicAmeteMihret = @"NSCalendarIdentifierEthiopicAmeteMihret";
NSString* const NSCalendarIdentifierEthiopicAmeteAlem = @"NSCalendarIdentifierEthiopicAmeteAlem";
NSString* const NSCalendarIdentifierHebrew = @"NSCalendarIdentifierHebrew";
NSString* const NSCalendarIdentifierISO8601 = @"NSCalendarIdentifierISO8601";
NSString* const NSCalendarIdentifierIndian = @"NSCalendarIdentifierIndian";
NSString* const NSCalendarIdentifierIslamic = @"NSCalendarIdentifierIslamic";
NSString* const NSCalendarIdentifierIslamicCivil = @"NSCalendarIdentifierIslamicCivil";
NSString* const NSCalendarIdentifierJapanese = @"NSCalendarIdentifierJapanese";
NSString* const NSCalendarIdentifierPersian = @"NSCalendarIdentifierPersian";
NSString* const NSCalendarIdentifierRepublicOfChina = @"NSCalendarIdentifierRepublicOfChina";
NSString* const NSCalendarIdentifierIslamicTabular = @"NSCalendarIdentifierIslamicTabular";
NSString* const NSCalendarIdentifierIslamicUmmAlQura = @"NSCalendarIdentifierIslamicUmmAlQura";
NSString* const NSCalendarIdentifierGregorian = @"gregorian";
NSString* const NSCalendarIdentifierBuddhist = @"buddhist";
NSString* const NSCalendarIdentifierChinese = @"chinese";
NSString* const NSCalendarIdentifierCoptic = @"coptic";
NSString* const NSCalendarIdentifierEthiopicAmeteMihret = @"ethiopic";
NSString* const NSCalendarIdentifierEthiopicAmeteAlem = @"ethiopic-amete-alem";
NSString* const NSCalendarIdentifierHebrew = @"hebrew";
NSString* const NSCalendarIdentifierISO8601 = @"iso8601";
NSString* const NSCalendarIdentifierIndian = @"indian";
NSString* const NSCalendarIdentifierIslamic = @"islamic";
NSString* const NSCalendarIdentifierIslamicCivil = @"islamic-civil";
NSString* const NSCalendarIdentifierJapanese = @"japanese";
NSString* const NSCalendarIdentifierPersian = @"persian";
NSString* const NSCalendarIdentifierRepublicOfChina = @"roc";
NSString* const NSCalendarIdentifierIslamicTabular = @"islamic-tbla";
NSString* const NSCalendarIdentifierIslamicUmmAlQura = @"islamic-umalqura";
NSString* const NSCalendarDayChangedNotification = @"NSCalendarDayChangedNotification";

@implementation NSCalendar {
Expand Down

0 comments on commit d2f2cc2

Please sign in to comment.