ESTTimePeriod
@interface ESTTimePeriod : NSObject <NSCopying>
ESTTimePeriod represents time interval using two time points. Can be used for time intervals of reoccuring events without a concrete absolute time.
Start time later than end time is allowed. In that situation, the object represents interval spanning across adjacent days.
-
Convenience initializer.
Declaration
Objective-C
- (nonnull instancetype)initWithStartTimeSeconds:(NSUInteger)startTimeSeconds endTimeSeconds:(NSUInteger)endTimeSeconds;
Swift
init(startTimeSeconds: UInt, endTimeSeconds: UInt)
Parameters
startTimeSeconds
Time interval starting bound in seconds.
endTimeSeconds
Time interval ending bound in seconds.
Return Value
Initialized object.