[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdepimlibs/kcalcore
From: Sergio Luis Martins <iamsergio () gmail ! com>
Date: 2011-01-24 8:06:55
Message-ID: 20110124080655.425A7AC8B9 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1216685 by smartins:
Explain that Event::dtEnd() is inclusive and DTEND ( iCalendar property ) is exclusive.
When serializing an all day event to iCalendar, DTEND's will be is Event::dtEnd().addDays(1)
M +6 -0 event.h
--- trunk/KDE/kdepimlibs/kcalcore/event.h #1216684:1216685
@@ -102,6 +102,9 @@
/**
Sets the event end date and time.
+ Important note for all day events: the end date is inclusive,
+ the event will still occur during dtEnd(). When serializing to iCalendar
+ DTEND will be dtEnd()+1, because the RFC states that DTEND is exclusive.
@param dtEnd is a KDateTime specifying when the event ends.
@see dtEnd(), dateEnd().
*/
@@ -109,6 +112,9 @@
/**
Returns the event end date and time.
+ Important note for all day events: the returned end date is inclusive,
+ the event will still occur during dtEnd(). When serializing to iCalendar
+ DTEND will be dtEnd()+1, because the RFC states that DTEND is exclusive.
@see setDtEnd().
*/
virtual KDateTime dtEnd() const;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic