diff --git a/Example/Podfile.lock b/Example/Podfile.lock
index 108f89a..6c0eccb 100644
--- a/Example/Podfile.lock
+++ b/Example/Podfile.lock
@@ -36,11 +36,11 @@ PODS:
- FBSnapshotTestCase/Core (2.0.7)
- FBSnapshotTestCase/SwiftSupport (2.0.7):
- FBSnapshotTestCase/Core
- - NSDate_Utils (0.1.0)
+ - NSDate_Utils (0.1.2)
- NSString-Helper (1.0.3)
- nv-ios-http-status (0.0.1)
- PEAR-FileManager-iOS (1.3.1)
- - PNObject (0.3.11):
+ - PNObject (0.3.12):
- AFNetworking
- CodFis-Helper
- FBSDKCoreKit
@@ -92,11 +92,11 @@ SPEC CHECKSUMS:
FBSDKLoginKit: d3d4a2e9d31954deb00bfea964167a05ca1ea976
FBSDKShareKit: 54587b4624706ace1e810cf83412a918141f807a
FBSnapshotTestCase: 7e85180d0d141a0cf472352edda7e80d7eaeb547
- NSDate_Utils: 4a57f91094123d5b7600c7de8c9ad9e1d43306a3
+ NSDate_Utils: 6f310af16917c48536836d4c17e1e47bf6fbe8e4
NSString-Helper: d4c5459e8142ee6a96b070118009f08637030c2d
nv-ios-http-status: b6c2b5fc8656cc19e0d3000dadce2080b99d0e2f
PEAR-FileManager-iOS: 3bc403f68a53483f5629aa822f4649e40275c4d3
- PNObject: ad9ec93536cac8a9d777ffb849029b6b0b4c946e
+ PNObject: cc3f3e854b20545b9caffb32a7ced7bb760fb5e7
PureLayout: f35f5384c9c4e4479df041dbe33ad7577b71ddfb
RNCryptor: 59d6483908115af5c12b884db23392024e52a5fe
Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2
diff --git a/Example/Pods/Local Podspecs/PNObject.podspec.json b/Example/Pods/Local Podspecs/PNObject.podspec.json
index f771258..cdf3c79 100644
--- a/Example/Pods/Local Podspecs/PNObject.podspec.json
+++ b/Example/Pods/Local Podspecs/PNObject.podspec.json
@@ -1,6 +1,6 @@
{
"name": "PNObject",
- "version": "0.3.11",
+ "version": "0.3.12",
"summary": "PNObject is a simple replica of the more complex ParseObject",
"homepage": "https://github.com/giuseppenucifora/PNObject",
"license": "MIT",
@@ -9,7 +9,7 @@
},
"source": {
"git": "https://github.com/giuseppenucifora/PNObject.git",
- "tag": "0.3.11"
+ "tag": "0.3.12"
},
"platforms": {
"ios": "7.0"
diff --git a/Example/Pods/Manifest.lock b/Example/Pods/Manifest.lock
index 108f89a..6c0eccb 100644
--- a/Example/Pods/Manifest.lock
+++ b/Example/Pods/Manifest.lock
@@ -36,11 +36,11 @@ PODS:
- FBSnapshotTestCase/Core (2.0.7)
- FBSnapshotTestCase/SwiftSupport (2.0.7):
- FBSnapshotTestCase/Core
- - NSDate_Utils (0.1.0)
+ - NSDate_Utils (0.1.2)
- NSString-Helper (1.0.3)
- nv-ios-http-status (0.0.1)
- PEAR-FileManager-iOS (1.3.1)
- - PNObject (0.3.11):
+ - PNObject (0.3.12):
- AFNetworking
- CodFis-Helper
- FBSDKCoreKit
@@ -92,11 +92,11 @@ SPEC CHECKSUMS:
FBSDKLoginKit: d3d4a2e9d31954deb00bfea964167a05ca1ea976
FBSDKShareKit: 54587b4624706ace1e810cf83412a918141f807a
FBSnapshotTestCase: 7e85180d0d141a0cf472352edda7e80d7eaeb547
- NSDate_Utils: 4a57f91094123d5b7600c7de8c9ad9e1d43306a3
+ NSDate_Utils: 6f310af16917c48536836d4c17e1e47bf6fbe8e4
NSString-Helper: d4c5459e8142ee6a96b070118009f08637030c2d
nv-ios-http-status: b6c2b5fc8656cc19e0d3000dadce2080b99d0e2f
PEAR-FileManager-iOS: 3bc403f68a53483f5629aa822f4649e40275c4d3
- PNObject: ad9ec93536cac8a9d777ffb849029b6b0b4c946e
+ PNObject: cc3f3e854b20545b9caffb32a7ced7bb760fb5e7
PureLayout: f35f5384c9c4e4479df041dbe33ad7577b71ddfb
RNCryptor: 59d6483908115af5c12b884db23392024e52a5fe
Specta: ac94d110b865115fe60ff2c6d7281053c6f8e8a2
diff --git a/Example/Pods/NSDate_Utils/Pod/Classes/NSDate+NSDate_Util.h b/Example/Pods/NSDate_Utils/Pod/Classes/NSDate+NSDate_Util.h
index fe7662d..ab8a910 100755
--- a/Example/Pods/NSDate_Utils/Pod/Classes/NSDate+NSDate_Util.h
+++ b/Example/Pods/NSDate_Utils/Pod/Classes/NSDate+NSDate_Util.h
@@ -21,17 +21,28 @@ static NSString *kNSDateHelperFormatWeekday = @"EEEE";
static NSString *kNSDateHelperFormatWeekdayWithTime = @"EEEE h:mm a";
static NSString *kNSDateHelperFormatTime = @"h:mm a";
static NSString *kNSDateHelperFormatTimeWithPrefix = @"'at' h:mm a";
-static NSString *kNSDateHelperFormatSQLDate = @"yyyy-MM-dd";
+
static NSString *kNSDateHelperFormatSQLTime = @"HH:mm:ss";
-static NSString *kNSDateHelperFormatSQLDateWithTime = @"yyyy-MM-dd HH:mm:ss";
+
+static NSString *kNSDateHelperFormatSQLDate = @"yyyy-MM-dd";
static NSString *kNSDateHelperFormatSQLDate_shashSeparated = @"yyyy/MM/dd";
-static NSString *kNSDateHelperFormatSQLDate_notSlashSeparated = @"yyyy-MM-dd";
-static NSString *kNSDateHelperFormatSQLDateWithTime_shashSeparated = @"yyyy/MM/dd HH:mm:ss";
+static NSString *kNSDateHelperFormatSQLDate_notSlashSeparated = @"yyyy-MM-dd";
+
static NSString *kNSDateHelperFormatSQLDateIT = @"dd-MM-yyyy";
-static NSString *kNSDateHelperFormatSQLDateEN = @"MM-dd-yyyy";
static NSString *kNSDateHelperFormatSQLDateIT_shashSeparated = @"dd/MM/yyyy";
+
+static NSString *kNSDateHelperFormatSQLDateEN = @"MM-dd-yyyy";
static NSString *kNSDateHelperFormatSQLDateEN_shashSeparated = @"MM/dd/yyyy";
+static NSString *kNSDateHelperFormatSQLDateWithTime = @"yyyy-MM-dd HH:mm:ss";
+static NSString *kNSDateHelperFormatSQLDateWithTime_shashSeparated = @"yyyy/MM/dd HH:mm:ss";
+
+static NSString *kNSDateHelperFormatSQLDateWithTimeIT = @"dd-MM-yyyy HH:mm:ss";
+static NSString *kNSDateHelperFormatSQLDateWithTimeIT_shashSeparated = @"dd/MM/yyyy HH:mm:ss";
+
+static NSString *kNSDateHelperFormatSQLDateWithTimeEN = @"MM-dd-yyyy HH:mm:ss";
+static NSString *kNSDateHelperFormatSQLDateWithTimeEN_shashSeparated = @"MM/dd/yyyy HH:mm:ss";
+
@interface NSDate (NSDate_Util)
+ (void)initializeStatics;
@@ -52,6 +63,7 @@ static NSString *kNSDateHelperFormatSQLDateEN_shashSeparated = @"MM/dd/yy
- (NSDate *) dateBySubtractingYears:(NSInteger) years;
- (NSDate *) dateAtStartOfDay;
+- (NSDate *) dateAtEndOfDay;
- (NSInteger) minutesAfterDate:(NSDate *) aDate;
- (CGFloat) distanceInWeeksToDate:(NSDate *) anotherDate;
diff --git a/Example/Pods/NSDate_Utils/Pod/Classes/NSDate+NSDate_Util.m b/Example/Pods/NSDate_Utils/Pod/Classes/NSDate+NSDate_Util.m
index 331e5c8..a17741a 100755
--- a/Example/Pods/NSDate_Utils/Pod/Classes/NSDate+NSDate_Util.m
+++ b/Example/Pods/NSDate_Utils/Pod/Classes/NSDate+NSDate_Util.m
@@ -46,6 +46,16 @@ static NSDateFormatter *_displayFormatter = nil;
components.second = 0;
return [CURRENT_CALENDAR dateFromComponents:components];
}
+
+- (NSDate *) dateAtEndOfDay
+{
+ NSDateComponents *components = [CURRENT_CALENDAR components:DATE_COMPONENTS fromDate:self];
+ components.hour = 23;
+ components.minute = 59;
+ components.second = 59;
+ return [CURRENT_CALENDAR dateFromComponents:components];
+}
+
- (NSInteger) minutesAfterDate: (NSDate *) aDate
{
NSTimeInterval ti = [self timeIntervalSinceDate:aDate];
diff --git a/Example/Pods/Target Support Files/NSDate_Utils/Info.plist b/Example/Pods/Target Support Files/NSDate_Utils/Info.plist
index 161a9d3..7c241fa 100644
--- a/Example/Pods/Target Support Files/NSDate_Utils/Info.plist
+++ b/Example/Pods/Target Support Files/NSDate_Utils/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 0.1.0
+ 0.1.2
CFBundleSignature
????
CFBundleVersion
diff --git a/Example/Pods/Target Support Files/NSDate_Utils/ResourceBundle-NSDate_Utils-Info.plist b/Example/Pods/Target Support Files/NSDate_Utils/ResourceBundle-NSDate_Utils-Info.plist
index aec6281..5365749 100644
--- a/Example/Pods/Target Support Files/NSDate_Utils/ResourceBundle-NSDate_Utils-Info.plist
+++ b/Example/Pods/Target Support Files/NSDate_Utils/ResourceBundle-NSDate_Utils-Info.plist
@@ -13,7 +13,7 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 0.1.0
+ 0.1.2
CFBundleSignature
????
CFBundleVersion
diff --git a/Example/Pods/Target Support Files/PNObject/Info.plist b/Example/Pods/Target Support Files/PNObject/Info.plist
index 651f003..b92af8c 100644
--- a/Example/Pods/Target Support Files/PNObject/Info.plist
+++ b/Example/Pods/Target Support Files/PNObject/Info.plist
@@ -15,7 +15,7 @@
CFBundlePackageType
FMWK
CFBundleShortVersionString
- 0.3.11
+ 0.3.12
CFBundleSignature
????
CFBundleVersion
diff --git a/Example/Pods/Target Support Files/PNObject/ResourceBundle-PNObject-Info.plist b/Example/Pods/Target Support Files/PNObject/ResourceBundle-PNObject-Info.plist
index fc95b27..1369b77 100644
--- a/Example/Pods/Target Support Files/PNObject/ResourceBundle-PNObject-Info.plist
+++ b/Example/Pods/Target Support Files/PNObject/ResourceBundle-PNObject-Info.plist
@@ -13,7 +13,7 @@
CFBundlePackageType
BNDL
CFBundleShortVersionString
- 0.3.11
+ 0.3.12
CFBundleSignature
????
CFBundleVersion
diff --git a/PNObject.podspec b/PNObject.podspec
index b9476c6..aa32693 100644
--- a/PNObject.podspec
+++ b/PNObject.podspec
@@ -8,7 +8,7 @@
Pod::Spec.new do |s|
s.name = "PNObject"
-s.version = "0.3.12"
+s.version = "0.3.13"
s.summary = "PNObject is a simple replica of the more complex ParseObject"
# This description is used to generate tags and improve search results.