KHolidays 5.109.0
|
Represents a holiday event. More...
#include <holiday.h>
Public Types | |
enum | DayType { Workday , NonWorkday } |
Describes the date type of the holiday. More... | |
typedef QList< Holiday > | List |
A list of holiday descriptions. | |
Public Member Functions | |
Holiday () | |
Creates an empty holiday. | |
Holiday (const Holiday &other) | |
Creates a holiday from an other holiday. | |
~Holiday () | |
Destroys the holiday object. | |
QStringList | categoryList () const |
DayType | dayType () const |
Returns the day type of the holiday. | |
QString | description () const |
int | duration () const |
QString | name () const |
QDate | observedEndDate () const |
QDate | observedStartDate () const |
bool | operator< (const Holiday &rhs) const |
Holiday & | operator= (const Holiday &other) |
bool | operator> (const Holiday &rhs) const |
Represents a holiday event.
typedef QList<Holiday> KHolidays::Holiday::List |
A list of holiday descriptions.
KHolidays::Holiday::Holiday | ( | ) |
Creates an empty holiday.
KHolidays::Holiday::Holiday | ( | const Holiday & | other | ) |
Creates a holiday from an other
holiday.
KHolidays::Holiday::~Holiday | ( | ) |
Destroys the holiday object.
QStringList KHolidays::Holiday::categoryList | ( | ) | const |
DayType KHolidays::Holiday::dayType | ( | ) | const |
Returns the day type of the holiday.
QString KHolidays::Holiday::description | ( | ) | const |
int KHolidays::Holiday::duration | ( | ) | const |
Returns the duration of the holiday in days.
QString KHolidays::Holiday::name | ( | ) | const |
QDate KHolidays::Holiday::observedEndDate | ( | ) | const |
Returns the observed end date of the holiday.
QDate KHolidays::Holiday::observedStartDate | ( | ) | const |
Returns the observed start date of the holiday.