iCalendar を構成するクラス群の共通抽象クラス
RFC 5545 のクラスは、有無のチェックを除いてProperty の扱いが共通なので、 Property の扱いを、本クラスにまとめて記述している。
デフォルトのWhen::TM::Calendar
type : When::TM::Calendar RFC 5545 では、'GREGORIAN' のみ指定可能としている。 CALSCALE Property 文字列を capitalize したものに、 prefix _c:(=http://hosi.org/When/CalendarTypes/)を補い When::TM::Calendar オブジェクトの定義を取得する。
指定の日時を含むか?
date : When::TM::(Temporal)Position
returns : Boolean
true - 含む
false - 含まない
# File when/icalendar.rb, line 115
115: def include?(date)
116: first = enum_for(date).next
117: return first.include?(date) if first.kind_of?(When::Parts::GeometricComplex)
118: return first == date if first.precision <= date.precision
119: return false
120: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.