Class YMKSearchTimeRange
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)
Class Methods
Properties
from | Interval start (seconds from midnight). |
isTwentyFourHours | All day (24 hours) time range marker. |
to | Interval end (seconds from midnight). |
from | Interval start (seconds from midnight). |
isTwentyFourHours | All day (24 hours) time range marker. |
to | Interval end (seconds from midnight). |
Method Detail
+timeRangeWithIsTwentyFourHours:from:to:
+ (nonnull YMKSearchTimeRange *)timeRangeWithIsTwentyFourHours:(nullable NSNumber *)isTwentyFourHours
from:(nullable NSNumber *)from
to:(nullable NSNumber *)to
Property Detail
from
(assign, readonly) NSNumber * from
Interval start (seconds from midnight).
Optional property, can be null.
isTwentyFourHours
(assign, readonly) NSNumber * isTwentyFourHours
All day (24 hours) time range marker.
Optional property, can be null.
to
(assign, readonly) NSNumber * to
Interval end (seconds from midnight).
Optional property, can be null.