23 #include <tdelocale.h>
34 Period::Period(
const TQDateTime &start,
const TQDateTime &end )
41 Period::Period(
const TQDateTime &start,
const Duration &duration )
44 mEnd = duration.
end( start );
51 return start() < other.start();
57 mStart == other.mStart &&
59 mHasDuration == other.mHasDuration;
62 TQDateTime Period::start()
const
67 TQDateTime Period::end()
const
77 bool Period::hasDuration()
const
82 TQString KCal::Period::summary()
const
87 void KCal::Period::setSummary(
const TQString & summary)
92 TQString KCal::Period::location()
const
97 void KCal::Period::setLocation(
const TQString & location)
This class represents a period of time.
bool operator==(const Period &other) const
Returns true if this period is equal to the other one.
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...
This class represents a duration.
bool operator<(const Period &other)
Returns true if this element is smaller than the.