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;
74 bool operator<(
const Holiday &rhs)
const;
79 bool operator>(
const Holiday &rhs)
const;
86 QDate observedStartDate()
const;
93 QDate observedEndDate()
const;
100 int duration()
const;
123 DayType dayType()
const;
Represents a holiday region.
Represents a holiday event.
QList< Holiday > List
A list of holiday descriptions.
DayType
Describes the date type of the holiday.
@ NonWorkday
The holiday is a real holiday.
@ Workday
The holiday is a workday.
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:11:11 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.