duration.cpp
26Duration::Duration()
bool operator==(const Duration &other) const
Returns true if this duration is equal to the other.
Definition: duration.cpp:104
Duration & operator=(const Duration &duration)
Sets this duration equal to duration.
Definition: duration.cpp:77
TQDateTime end(const TQDateTime &start) const
Computes a duration end time by adding the number of seconds or days in the duration to the specified...
Definition: duration.cpp:150
bool isDaily() const
Returns whether the duration is specified in terms of days rather than seconds.
Definition: duration.cpp:160
Type type() const
Returns the time units (seconds or days) used to specify the duration.
Definition: duration.cpp:155
Duration & operator+=(const Duration &other)
Adds another duration to this one.
Definition: duration.cpp:115
bool operator<(const Duration &other) const
Returns true if this duration is smaller than the other.
Definition: duration.cpp:95
Duration & operator-=(const Duration &other)
Subtracts another duration from this one.
Definition: duration.cpp:133
Namespace KCal is for global classes, objects and/or functions in libkcal.
Definition: alarm.h:38