©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
A TimezonePeriod is a component of a timezone representing a period during which a particular offset from UTC is in effect. to see the property accessing methods for this class see the RiCal::Properties::TimezonePeriod module
# File lib/ri_cal/component/timezone/timezone_period.rb, line 69 def enumeration_instance @enumeration_instance ||= super end
# 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
Generated with the Darkfish Rdoc Generator 2.