Warning

This feature is available in the Full MapKit SDK version

MMKSearchTimeRange

@interface MMKSearchTimeRange : NSObject

The time interval used to compose availability info.

Can describe two kinds of intervals: 1. 24-hour interval (isTwentyFourHours is true, from and to are not used). 2. Smaller time interval (isTwentyFourHours is false, from and to are set to the begin and end of the interval)

Summary

Class methods

+ (nonnull MMKSearchTimeRange *)timeRangeWithIsTwentyFourHours:(nullable NSNumber *)isTwentyFourHours
                                                          from:(nullable NSNumber *)from
                                                            to:(nullable NSNumber *)to;

Properties

@property (nonatomic, readonly, nullable) NSNumber *isTwentyFourHours;
All day (24 hours) time range marker

@property (nonatomic, readonly, nullable) NSNumber *from;
Interval start (seconds from midnight)

@property (nonatomic, readonly, nullable) NSNumber *to;
Interval end (seconds from midnight)

Class methods

timeRangeWithIsTwentyFourHours:from:to:

+ (nonnull MMKSearchTimeRange *)timeRangeWithIsTwentyFourHours:(nullable NSNumber *)isTwentyFourHours
                                                          from:(nullable NSNumber *)from
                                                            to:(nullable NSNumber *)to;


Properties

isTwentyFourHours

@property (nonatomic, readonly, nullable) NSNumber *isTwentyFourHours;

All day (24 hours) time range marker.

Optional field, can be nil.


from

@property (nonatomic, readonly, nullable) NSNumber *from;

Interval start (seconds from midnight).

Optional field, can be nil.


to

@property (nonatomic, readonly, nullable) NSNumber *to;

Interval end (seconds from midnight).

Optional field, can be nil.