Class YMKMasstransitScheduleEntryPeriodical

Defines a frequency-based schedule that does not contain exact arrival and departure times.

Class Methods

Properties

begin

Start of the time range when the ScheduleEntry is applicable.

end

End of the time range when the ScheduleEntry is applicable.

estimations

Collection of estimated arrivals within the applicable time range.

frequency

Frequency at which vehicles arrive or depart on average.

Method Detail

+periodicalWithFrequency:begin:end:estimations:

+ (nonnull YMKMasstransitScheduleEntryPeriodical *)periodicalWithFrequency:(nonnull YMKLocalizedValue *)frequency
                                                                     begin:(nullable YMKTime *)begin
                                                                       end:(nullable YMKTime *)end
                                                               estimations:(nonnull NSArray< YMKMasstransitScheduleEntryEstimation * > *)estimations 

Property Detail

begin

(assign, readonly) YMKTime * begin

Start of the time range when the ScheduleEntry is applicable.

Optional property, can be null.

end

(assign, readonly) YMKTime * end

End of the time range when the ScheduleEntry is applicable.

Optional property, can be null.

estimations

(assign, readonly) NSArray< YMKMasstransitScheduleEntryEstimation * > * estimations

Collection of estimated arrivals within the applicable time range.

The estimations are sorted by arrival time.

frequency

(assign, readonly) YMKLocalizedValue * frequency

Frequency at which vehicles arrive or depart on average.