Module: Icalendar::Timezone::TzProperties

Included in:
Daylight, Standard
Defined in:
lib/icalendar/timezone.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object


5
6
7
8
9
10
11
12
13
14
15
16
# File 'lib/icalendar/timezone.rb', line 5

def self.included(base)
  base.class_eval do
    required_property :dtstart, Icalendar::Values::DateTime
    required_property :tzoffsetfrom, Icalendar::Values::UtcOffset
    required_property :tzoffsetto, Icalendar::Values::UtcOffset

    optional_property :rrule, Icalendar::Values::Recur, true
    optional_property :comment
    optional_property :rdate, Icalendar::Values::DateTime
    optional_property :tzname
  end
end