DateClay 1.1.2

DateClay 1.1.2

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Apr 2020

Maintained by akuraru.



DateClay 1.1.2

  • By
  • akuraru

DateClay

CI Status Version License Platform

Requirements

Installation

DateClay is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "DateClay"

Usage

// filtering information for the date
+ (NSDate *)filteredDate:(NSDate *)date flag:(NSCalendarUnit)flag;
+ (NSDate *)dateIgnoreTimeWithDate:(NSDate *)date;
+ (NSDate *)dateIgnoreDayWithDate:(NSDate *)date;

// merge information for the date
+ (NSDate *)mergeDateWithDay:(NSDate *)day time:(NSDate *)time;
+ (NSDate *)mergeDateWithBaseDate:(NSDate *)baseDate unitFlag:(enum NSCalendarUnit)baseFlag anotherDate:(NSDate *)anotherDate unitFlag:(enum NSCalendarUnit)anotherFlag;

+ (NSDate *)day:(NSDate *)date nextWeekday:(NSInteger)weekday;

Please look at the test code for how to use

Author

akuraru, [email protected]

License

DateClay is available under the MIT license. See the LICENSE file for more info.