17using namespace KHolidays;
20 : d(new HolidayPrivate)
42bool Holiday::operator<(
const Holiday &rhs)
const
44 return d->mObservedDate < rhs.d->mObservedDate;
47bool Holiday::operator>(
const Holiday &rhs)
const
49 return d->mObservedDate > rhs.d->mObservedDate;
54 return d->mObservedDate;
59 return d->mObservedDate.addDays(d->mDuration - 1);
74 return d->mDescription;
84 return d->mCategoryList;
Represents a holiday event.
QDate observedStartDate() const
QStringList categoryList() const
DayType dayType() const
Returns the day type of the holiday.
QDate observedEndDate() const
QString description() const
Holiday()
Creates an empty holiday.
~Holiday()
Destroys the holiday object.
DayType
Describes the date type of the holiday.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 17:05:38 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.