DateClay 1.1.2

DateClay 1.1.2

测试已测试
Lang语言 Obj-CObjective C
许可证 MIT
发布上次发布2020 年 4 月

akuraru 维护。



DateClay 1.1.2

  • 作者:
  • akuraru

DateClay

CI Status Version License Platform

要求

安装

DateClay 通过 CocoaPods 提供。要安装它,只需将以下行添加到您的 Podfile 中

pod "DateClay"

用法

// 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;

请查看测试代码以了解如何使用

作者

akuraru,[email protected]

许可证

DateClay 在 MIT 许可下可用。更多信息请参见 LICENSE 文件。