KCal Library
period.cpp
Go to the documentation of this file.
bool operator==(const Period &other) const
Returns true if this period is equal to the other one.
Definition period.cpp:87
bool operator<(const Period &other) const
Returns true if the start of this period is earlier than the start of the other one.
Definition period.cpp:82
bool hasDuration() const
Returns true if this period has a set duration, false if it just has a start and an end.
Definition period.cpp:131
Period & operator=(const Period &other)
Sets this period equal to the other one.
Definition period.cpp:95
void shiftTimes(const KDateTime::Spec &oldSpec, const KDateTime::Spec &newSpec)
Shift the times of the period so that they appear at the same clock time as before but in a new time ...
Definition period.cpp:136
This file is part of the API for handling calendar data and defines the Period class.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 17 2025 00:00:00 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.