libkcal

KCal::Period Class Reference

#include <period.h>

List of all members.


Detailed Description

This class represents a period of time.

The period can be defined by either a start time and an end time or by a start time and a duration.

Definition at line 35 of file period.h.


Public Member Functions

 Period ()
 Period (const QDateTime &start, const QDateTime &end)
 Period (const QDateTime &start, const Duration &duration)
bool operator< (const Period &other)
QDateTime start () const
QDateTime end () const
Duration duration ()
bool hasDuration () const

Member Function Documentation

bool Period::operator< ( const Period other  ) 

Returns true if this element is smaller than the.

Parameters:
other one

Definition at line 49 of file period.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys