Replacement for KDateTime

Sergio Martins iamsergio at gmail.com
Sun Aug 9 16:03:34 BST 2015


On Monday, August 03, 2015 14:59:59 Dāvis Mosāns wrote:
> Sorry for injecting myself, but IMO there's no such thing as Date-only and
> what you need is something like QDateTimeRange (just made up) where you
> would have start QDateTime, end QDateTime and it could represent any
> Event/Interval. Like whole day, part of day or even multiple days. And
> could also check whether some QDateTime is inside this range.

Hi,

iCalendar RFC (which KCalCore implements) distinguishes between all day events 
and events with time. A time interval going from 00:00:00 to 23:59:59 is not 
equivalent to a date only event, so we can't go that route.

Regards,
Sérgio Martins





More information about the kde-core-devel mailing list