KHolidays Library
25 #ifndef KHOLIDAYS_HOLIDAYREGION_H
26 #define KHOLIDAYS_HOLIDAYREGION_H
28 #include "kholidays_export.h"
30 #include <QtCore/QList>
31 #include <QtCore/QSharedDataPointer>
32 #include <QtCore/QString>
42 class KHOLIDAYS_EXPORT HolidayRegion
63 explicit HolidayRegion(
const QFileInfo ®ionFile );
234 Holiday::List holidays(
const QDate &startDate,
const QDate &endDate )
const;
242 Holiday::List holidays(
const QDate &startDate,
const QDate &endDate,
243 Holiday::MultidayMode multidayMode )
const;
248 Holiday::List holidays(
const QDate &date )
const;
256 Holiday::List holidays(
const QDate &date, Holiday::MultidayMode multidayMode )
const;
263 Holiday::List holidays(
int calendarYear,
const QString &calendarType )
const;
271 Holiday::List holidays(
int calendarYear,
const QString &calendarType,
272 Holiday::MultidayMode multidayMode )
const;
277 bool isHoliday(
const QDate &date )
const;
282 bool isValid()
const;
289 static bool isValid(
const QString ®ionCode );
292 Q_DISABLE_COPY( HolidayRegion )
300 #endif // KHOLIDAYS_HOLIDAYREGION_H
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:37:00 by
doxygen 1.8.7 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.