libkcal Library API Documentation

KCal::Period Class Reference

This class represents a period of time. More...

#include <period.h>

Collaboration diagram for KCal::Period:

Collaboration graph
[legend]
List of all members.

Public Member Functions

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

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 34 of file period.h.


Member Function Documentation

bool Period::operator< const Period other  )  const
 

Returns true if this element is smaller than the.

Parameters:
other one

Definition at line 48 of file period.cpp.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for libkcal Library Version 3.3.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Dec 21 14:22:26 2007 by doxygen 1.4.2 written by Dimitri van Heesch, © 1997-2003