Sha256: d06403904b29710b63b20f8e2afa9144740becc21f1bb9a322a947b6a2722b55
Contents?: true
Size: 764 Bytes
Versions: 4
Compression:
Stored size: 764 Bytes
Contents
module RiCal class Component class Timezone #- ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license # # A DaylightPeriod is a TimezonePeriod during which daylight saving time *is* in effect class DaylightPeriod < TimezonePeriod #:nodoc: all def self.entity_name #:nodoc: "DAYLIGHT" end def dst? true end def swallows_local?(local, std_candidate) ([local.year, local.month, local.day] == [dtstart.year,dtstart.month, dtstart.day]) && local >= dtstart_property && local.advance(:seconds => (utc_total_offset - std_candidate.utc_total_offset)) < dtstart_property end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems