KAlarm Library
repetition.cpp
Represents a sub-repetition, defined by interval and repeat count.
Definition repetition.h:48
void set(const KCalCore::Duration &interval, int count)
Initialises the instance with the specified interval and count.
Definition repetition.cpp:80
int nextRepeatCount(const KDateTime &from, const KDateTime &preDateTime) const
Find the repetition count for the next repetition after a specified time.
Definition repetition.cpp:154
int previousRepeatCount(const KDateTime &from, const KDateTime &afterDateTime) const
Find the repetition count for the last repetition before a specified time.
Definition repetition.cpp:161
KCalCore::Duration interval() const
Return the interval between repetitions.
Definition repetition.cpp:119
KCalCore::Duration duration() const
Return the overall duration of the repetition.
Definition repetition.cpp:124
int intervalDays() const
Return the repetition interval in terms of days.
Definition repetition.cpp:139
int intervalSeconds() const
Return the repetition interval in terms of seconds.
Definition repetition.cpp:149
int intervalMinutes() const
Return the repetition interval in terms of minutes.
Definition repetition.cpp:144
bool isDaily() const
Check whether the repetition interval is in terms of days (as opposed to minutes).
Definition repetition.cpp:134
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Wed Jan 24 2024 00:00:00 by doxygen 1.10.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.