Parent

Methods

Class/Module Index [+]

Quicksearch

RiCal::OccurrencePeriod

Attributes

dtend[R]
dtstart[R]

Public Class Methods

new(dtstart, dtend) click to toggle source
# File lib/ri_cal/occurrence_period.rb, line 4
def initialize(dtstart, dtend)
  @dtstart = dtstart
  @dtend = dtend
end

Public Instance Methods

<=>(other) click to toggle source
# File lib/ri_cal/occurrence_period.rb, line 13
def <=>(other)
  [dtstart, dtend] <=> [other.dtstart, other.dtend]
end
to_s() click to toggle source
# File lib/ri_cal/occurrence_period.rb, line 9
def to_s
  "op:#{dtstart}-#{dtend}"
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.