Warning

This feature is available in the Full MapKit SDK version

MMKSearchTimeRange

class 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

 init(isTwentyFourHours: NSNumber?, from: NSNumber?, to: NSNumber?)

Properties

var isTwentyFourHours: NSNumber? { get }
All day (24 hours) time range marker

var from: NSNumber? { get }
Interval start (seconds from midnight)

var to: NSNumber? { get }
Interval end (seconds from midnight)

Class methods

init(isTwentyFourHours:from:to:)

 init(isTwentyFourHours: NSNumber?, from: NSNumber?, to: NSNumber?)


Properties

isTwentyFourHours

var isTwentyFourHours: NSNumber? { get }

All day (24 hours) time range marker.

Optional field, can be nil.


from

var from: NSNumber? { get }

Interval start (seconds from midnight).

Optional field, can be nil.


to

var to: NSNumber? { get }

Interval end (seconds from midnight).

Optional field, can be nil.