# File lib/ri_cal/component/timezone/timezone_period.rb, line 43 def fill_cache(local_time) if occurrence_cache.empty? || occurrence_cache.last.dtstart_property <= local_time while true occurrence = enumeration_instance.next_occurrence break unless occurrence occurrence = recurrence(occurrence) occurrence_cache << occurrence break if occurrence.dtstart_property > local_time end end end