KHolidays
holidayregion.h
100 static QString defaultRegionCode(const QString &country = QString(), const QString &language = QString());
245 * Returns the list of holidays that occur between @p startDate and @p endDate and with @p category.
247 Holiday::List rawHolidays(const QDate &startDate, const QDate &endDate, const QString &category) const;
bool isHoliday(const QDate &date) const
Checks whether there is any holiday defined for a date.
Definition holidayregion.cpp:429
Holiday::List rawHolidays(const QDate &startDate, const QDate &endDate) const
Definition holidayregion.cpp:393
static QString defaultRegionCode(const QString &country=QString(), const QString &language=QString())
Definition holidayregion.cpp:453
bool isValid() const
Returns whether the instance contains any holiday data.
Definition holidayregion.cpp:373
HolidayRegion(const QString ®ionCode=QString())
Creates a new Holiday Region object for a given standard Region Code.
Definition holidayregion.cpp:118
Holiday::List rawHolidaysWithAstroSeasons(const QDate &startDate, const QDate &endDate) const
Definition holidayregion.cpp:402
static QStringList regionCodes()
Definition holidayregion.cpp:135
HolidayRegion & operator=(HolidayRegion &&)
Move Assignment operator.
HolidayRegion & operator=(const HolidayRegion &)
Assignment operator.
This file is part of the KDE documentation.
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2025 The KDE developers.
Generated on Fri Jan 24 2025 11:55:49 by doxygen 1.13.2 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.