Sha256: 541a8cdd4c83007d4e58009fb57f6ffca7a1ac0b810b0167858b06fbb113e7a4

Contents?: true

Size: 505 Bytes

Versions: 1

Compression:

Stored size: 505 Bytes

Contents

module RiCal
  class Component
    class Timezone
      # 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
friflaj_ri_cal-0.9.0 lib/ri_cal/component/timezone/standard_period.rb