Skip to content

Commit fafbd76

Browse files
author
Shan Ul Haq
committed
fixed the constants
1 parent e267a65 commit fafbd76

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

SHModelObject/SHModelObject/SHConstants.h

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,19 @@
1313
* Date option conversion enum to be passed to the serializer constructer
1414
*/
1515
typedef enum {
16-
kDateConverstionFromNSStringToNSStringOption = 0, // do not convert, keep NSString as it is.
17-
kDateConverstionFromNSStringToNSDateOption = 1, // convert NSString to NSDate
16+
kDateConverstionFromNSStringToNSStringOption = 0, // do not convert, keep NSString as it is.
17+
kDateConverstionFromNSStringToNSDateOption = 1, // convert NSString to NSDate
1818
kDateConverstionFromNSStringToNSTimeIntervalOption = 2 // convert NSString to NSTimeInterval
1919
} kDateConversionOption;
2020

2121
/**
2222
* enum for identifying the input date type.
2323
*/
2424
typedef NS_ENUM(int, kInputDateFormat) {
25-
kInputDateFormatJSON = 0,
26-
kInputDateFormatDotNetSimple = 1,
27-
kInputDateFormatDotNetWithTimeZone = 2
25+
kInputDateFormatJSON = 1,
26+
kInputDateFormatDotNetSimple = 2,
27+
kInputDateFormatDotNetWithTimeZone = 3,
28+
kInputDateFormatCustom = -1,
2829
};
2930

3031
#endif

0 commit comments

Comments
 (0)