Methods

Class Index [+]

Quicksearch

When::V::Root

iCalendar を構成するクラス群の共通抽象クラス

  RFC 5545 のクラスは、有無のチェックを除いてProperty の扱いが共通なので、
  Property の扱いを、本クラスにまとめて記述している。

Attributes

property[R]

iCalendar クラス群の属性

  type : {String => When::Parts::IRI::Element}
calscale[R]

デフォルトのWhen::TM::Calendar

  type : When::TM::Calendar

  RFC 5545 では、'GREGORIAN' のみ指定可能としている。
  CALSCALE Property 文字列を capitalize したものに、
  prefix _c:(=http://hosi.org/When/CalendarTypes/)を補い
  When::TM::Calendar オブジェクトの定義を取得する。

Public Instance Methods

include?(date) click to toggle source

指定の日時を含むか?

  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.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.