TKDateRange Class Reference
Inherits from | NSObject |
Declared in | TKDateRange.h |
Tasks
-
startDate
property -
endDate
property -
isNormalized
property -
– initWithStart:end:
-
– normalize
-
– containsDate:
Properties
endDate
Gets or sets the end date.
@property (nonatomic, strong, nonnull) NSDate *endDate
Declared In
TKDateRange.h
Instance Methods
containsDate:
Returns YES if the specified date is contained within the range.
- (BOOL)containsDate:(NSDate *__nonnull)date
Parameters
- date
The date to be tested.
Return Value
YES if the date is contained within the range.
Declared In
TKDateRange.h
initWithStart:end:
Initializes a new instance of TKDateRange with start and end dates
- (instancetype __nonnull)initWithStart:(NSDate *__nonnull)startDate end:(NSDate *__nonnull)endDate
Parameters
- startDate
The start date.
- endDate
The end date.
Return Value
An instance of TKDateRange.
Declared In
TKDateRange.h