123456789101112131415161718192021222324 |
- //
- // NSDate+CL.h
- // CLWeeklyCalendarView
- //
- // Created by Caesar on 10/12/2014.
- // Copyright (c) 2014 Caesar. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- @interface NSDate (CL)
- -(NSDate *)addDays:(NSInteger)day;
- -(NSDate *)getWeekStartDate: (NSInteger)weekStartIndex;
- -(NSString *)getDayOfWeekShortString;
- -(NSString *)getDateOfMonth;
- -(BOOL) isSameDateWith: (NSDate *)dt;
- - (BOOL)isDateToday;
- - (BOOL)isWithinDate: (NSDate *)earlierDate toDate:(NSDate *)laterDate;
- - (BOOL)isPastDate;
- @end
- // 版权属于原作者
- // http://code4app.com (cn) http://code4app.net (en)
- // 发布代码于最专业的源码分享网站: Code4App.com
|