Class: When::V::TimezoneProperty
- Inherits:
-
Event
- Object
- BasicTypes::Object
- Root
- Event
- When::V::TimezoneProperty
- Defined in:
- lib/when_exe/icalendar.rb
Overview
Timezone Property の共通抽象クラス
Constant Summary collapse
- Properties =
[['dtstart', 'tzoffsetto', 'tzoffsetfrom'], [], [], [], ['rrule', 'comment', 'rdate', 'tzname']]
- Classes =
[]
Constants inherited from Root
Root::AwareProperties, Root::DefaultOptional, Root::DefaultUnique
Constants included from Parts::Resource
Parts::Resource::LabelProperty, Parts::Resource::Prefix, Parts::Resource::PrefixIndex, Parts::Resource::PrefixKeys, Parts::Resource::PrefixValues
Instance Attribute Summary collapse
-
#tzname ⇒ Array<String(サブクラスであるWhen::BasicTypes::M17nでもよい)>
readonly
TZNAME Property.
-
#tzoffsetfrom ⇒ When::TM::Clock
readonly
TZOFFSETFROM Property.
-
#tzoffsetto ⇒ When::TM::Clock
readonly
TZOFFSETTO Property.
Attributes inherited from Event
#dtend, #dtstart, #duration, #exdate, #first_occurrence, #rdate, #rrule
Attributes inherited from Root
Attributes included from Parts::Resource
#_pool, #child, #keys, #locale, #namespace
Instance Method Summary collapse
-
#label ⇒ String
ユニーク識別名 - DTSTART Property をユニーク識別名とする.
Methods inherited from Event
#_enumerator_list, _setup_, #dtstop, #each, #to_gcalevent
Methods included from Parts::Resource::Pool
#[], #[]=, #_pool, #_setup_, #pool_keys
Methods included from Parts::Resource::Synchronize
Methods inherited from Root
Methods inherited from BasicTypes::Object
Methods included from Parts::Resource
#[], #^, _extract_prefix, _instance, _parse, _path_with_prefix, #each, #enum_for, #hierarchy, #include?, #included?, #iri, #leaf?, #m17n, #map, #next, #parent, #prev, #registered?
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class When::Parts::Resource
Instance Attribute Details
#tzname ⇒ Array<String(サブクラスであるWhen::BasicTypes::M17nでもよい)> (readonly)
RFC 5545 は複数個の指定を許しているため、Array としている。
TZNAME Property
784 785 786 |
# File 'lib/when_exe/icalendar.rb', line 784 def tzname @tzname end |
#tzoffsetfrom ⇒ When::TM::Clock (readonly)
イベント時刻前の時間帯 保持する When::TM::Clock の tz_prop は、本オブジェクトを参照している。
TZOFFSETFROM Property
794 795 796 |
# File 'lib/when_exe/icalendar.rb', line 794 def tzoffsetfrom @tzoffsetfrom end |
#tzoffsetto ⇒ When::TM::Clock (readonly)
イベント時刻後の時間帯 保持する When::TM::Clock の tz_prop は、本オブジェクトを参照している。
TZOFFSETTO Property
804 805 806 |
# File 'lib/when_exe/icalendar.rb', line 804 def tzoffsetto @tzoffsetto end |
Instance Method Details
#label ⇒ String
ユニーク識別名 - DTSTART Property をユニーク識別名とする
808 809 810 |
# File 'lib/when_exe/icalendar.rb', line 808 def label @property['dtstart'].attribute['.'] end |