KHolidays Library
holidayparserdriver.cpp
virtual void setParseStartEnd()
Initialise parse year variables for calendar system.
Definition: holidayparserdriver.cpp:116
virtual void parseMetadata()
Parse the file for metadata only and populate the metadata variables.
Definition: holidayparserdriver.cpp:106
virtual void error(const QString &errorMessage)
Standard error message handling.
Definition: holidayparserdriver.cpp:97
virtual QString fileName() const
Return the untranslated name of the file.
Definition: holidayparserdriver.cpp:50
HolidayParserDriver(const QString &filePath)
Constructor of abstract holiday file parser driver class.
Definition: holidayparserdriver.cpp:29
virtual QString fileCountryCode() const
Return the ISO 3166 country/region code of the file.
Definition: holidayparserdriver.cpp:40
virtual void parse()
Actually parse the file, must be re-implemented by derived classes.
Definition: holidayparserdriver.cpp:102
virtual Holiday::List parseHolidays(const QDate &startDate, const QDate &endDate, Holiday::MultidayMode multidayMode)
Return a list of holidays falling between any two dates.
Definition: holidayparserdriver.cpp:60
virtual QString fileLanguageCode() const
Return the ISO 639-1 language code of the file.
Definition: holidayparserdriver.cpp:45
virtual void setParseCalendar(const QString &calendarType)
Set the calendar system to use.
Definition: holidayparserdriver.cpp:110
virtual QString fileDescription() const
Return the untranslated description of the file if available.
Definition: holidayparserdriver.cpp:55
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:06 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.