Utility library ( static ) based on NSFoundation
Fits for any apple system : iOS, MacOS, WatchOS, tvOS
Back to Home - Header File - Source File
Returns the target date with hours and minutes set to 0 (GMT)
**-(NSDate*)dateByClearingTime;**
Returns the target date with given hour ( modulo 24 ) and minute ( modulo 60 )
**-(NSDate*)dateBySettingHour:(NSUInteger)hour minute:(NSUInteger)minute;**
Returns true if target date is the same day than given date.
**-(NSDate*)isSameDayAsDate:(NSDate*)date;**
Returns true if target date is the same month than given date.
**-(NSDate*)isSameMonthAsDate:(NSDate*)date;**
oneMonthLater oneMonthEarlier oneDayLater oneDayEarlier secondsSinceStartOfDay components
Returns the target date plus one month.
**-(NSDate*)oneMonthLater;**
Returns the target date minus one month.
**-(NSDate*)oneMonthEarlier;**
Returns the target date plus one day.
**-(NSDate*)oneDayLater;**
Returns the target date minus one day.
**-(NSDate*)oneDayEarlier;**
Returns the number os seconds since the beginning of the day ( midnight of previous day ).
**-(NSUInteger)secondsSinceStartOfDay;**
Returns the date components, based on the current system calendar.
**-(NSDateComponents*)components;**
-------
MFFoundationFramework - ©2007-2016 Tristan Leblanc - MooseFactory Software