Latest 1.1.2
Homepage https://github.com/akuraru/DateClay
License MIT
Platforms ios 6.0, requires ARC
Frameworks Foundation
Authors

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.

Latest podspec

{
    "name": "DateClay",
    "version": "1.1.2",
    "summary": "This library will be used in order to connect or cut NSDate.",
    "description": "                        This library will be used in order to connect or cut NSDaten                                                n                        // filtering information for the daten                        + (NSDate *)filteredDate:(NSDate *)date flag:(NSCalendarUnit)flag;n                        + (NSDate *)dateIgnoreTimeWithDate:(NSDate *)date;n                        + (NSDate *)dateIgnoreDayWithDate:(NSDate *)date;nn                        // merge information for the daten                        + (NSDate *)mergeDateWithDay:(NSDate *)day time:(NSDate *)time;n                        + (NSDate *)mergeDateWithBaseDate:(NSDate *)baseDate unitFlag:(enum NSCalendarUnit)baseFlag anotherDate:(NSDate *)anotherDate unitFlag:(enum NSCalendarUnit)anotherFlag;nn                        + (NSDate *)day:(NSDate *)date nextWeekday:(NSInteger)weekday;n",
    "homepage": "https://github.com/akuraru/DateClay",
    "license": "MIT",
    "authors": {
        "akuraru": "[email protected]"
    },
    "source": {
        "git": "https://github.com/akuraru/DateClay.git",
        "tag": "1.1.2"
    },
    "platforms": {
        "ios": "6.0"
    },
    "requires_arc": true,
    "source_files": "Pod/Classes",
    "frameworks": "Foundation"
}

Pin It on Pinterest

Share This