libkcal
KCal::CompatPre31 Class Reference
#include <compat.h>
Public Member Functions | |
virtual void | fixFloatingEnd (QDate &) |
virtual void | fixRecurrence (Incidence *incidence) |
Detailed Description
Definition at line 91 of file compat.h.
Member Function Documentation
void CompatPre31::fixFloatingEnd | ( | QDate & | endDate | ) | [virtual] |
Before kde 3.1, floating events (events without a date) had 0:00 of their last day as the end date.
E.g. 28.5.2005 0:00 until 28.5.2005 0:00 for an event that lasted the whole day on May 28, 2005. According to RFC 2445, the end date for such an event needs to be 29.5.2005 0:00.
Update: We misunderstood rfc 2445 in this regard. For all-day events, the DTEND is the last day of the event. See a mail from the Author or rfc 2445: http://www.imc.org/ietf-calendar/archive1/msg03648.html However, as all other applications also got this wrong, we'll just leave it as it is and use the wrong interpretation (was also discussed on ietf-calsify)
Reimplemented from KCal::Compat.
Definition at line 167 of file compat.cpp.
void CompatPre31::fixRecurrence | ( | Incidence * | incidence | ) | [virtual] |
The recurrence has a specified number of repetitions.
Pre-3.2, this was extended by the number of exception dates. This is also rfc 2445-compliant. The duration of an RRULE also counts events that are later excluded via EXDATE or EXRULE.
Reimplemented from KCal::CompatPre32.
Definition at line 172 of file compat.cpp.
The documentation for this class was generated from the following files: