Class RiCal::PropertyValue::Date
In: lib/ri_cal/property_value/date.rb
Parent: PropertyValue
  • ©2009 Rick DeNatale, All rights reserved. Refer to the file README.txt for the license
 RiCal::PropertyValue::CalAddress represents an icalendar Date property value
 which is defined in
 RFC 2445 section 4.3.4 p 34

Methods

Public Instance methods

Return the sum of the receiver and duration

The parameter other duration should be a RiCal::PropertyValue::Duration

The result will be an RiCal::PropertyValue::DateTime

Return the difference between the receiver and other

The parameter other should be either a RiCal::PropertyValue::Duration or a RiCal::PropertyValue::DateTime

If other is a Duration, the result will be a DateTime, if it is a DateTime the result will be a Duration

Returns the day of the month

Returns the month of the year (1..12)

Returns the ruby representation a ::Date

Return the "Natural’ property value for the date_property, in this case the date property itself."

Return an instance of RiCal::PropertyValue::DateTime representing the start of this date

to_ri_cal_ruby_value()

Alias for ruby_value

Returns the value of the reciever as an RFC 2445 iCalendar string

Set the value of the property to val

val may be either:

Returns the year (including the century)

[Validate]