12#ifndef KHOLIDAYS_HOLIDAY_H
13#define KHOLIDAYS_HOLIDAY_H
15#include "kholidays_export.h"
18#include <QSharedDataPointer>
32 friend class HolidayParserDriver;
33 friend class HolidayParserDriverPlan;
34 friend class HolidayParserDriverPlanOld;
40 typedef QList<Holiday>
List;
74 bool operator<(
const Holiday &rhs)
const;
79 bool operator>(
const Holiday &rhs)
const;
134 QSharedDataPointer<HolidayPrivate> d;
Represents a holiday region.
Definition holidayregion.h:32
Represents a holiday event.
Definition holiday.h:30
QDate observedStartDate() const
Holiday(const Holiday &other)
Creates a holiday from an other holiday.
~Holiday()
Destroys the holiday object.
QDate observedEndDate() const
DayType dayType() const
Returns the day type of the holiday.
QStringList categoryList() const
Holiday()
Creates an empty holiday.
QList< Holiday > List
A list of holiday descriptions.
Definition holiday.h:40
QString description() const
DayType
Describes the date type of the holiday.
Definition holiday.h:46
@ NonWorkday
The holiday is a real holiday.
Definition holiday.h:48
@ Workday
The holiday is a workday.
Definition holiday.h:47