Sha256: dc6521994efd1f16e9026c1888d708e5b450ee58f452bb0ff7581698ae2db8d7

Contents?: true

Size: 617 Bytes

Versions: 1

Compression:

Stored size: 617 Bytes

Contents

module RiCal
  class Component
    class Timezone
      #- ©2009 Rick DeNatale
      #- All rights reserved. Refer to the file README.txt for the license
      #
      # A StandardPeriod is a TimezonePeriod during which daylight saving time is *not* in effect
      class StandardPeriod < TimezonePeriod #:nodoc: all

        def self.entity_name #:nodoc:
          "STANDARD"
        end
        
        def dst?
          false
        end
        
        def ambiguous_local?(time)
          [time.year, time.month, time.day] == [dtstart.year, dtstart.month, dtstart.day]
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyredrick-ri_cal-0.0.2 lib/ri_cal/component/timezone/standard_period.rb