KCalCore Library
Go to the documentation of this file.
31 #ifndef KCALCORE_PERIOD_H
32 #define KCALCORE_PERIOD_H
34 #include "kcalcore_export.h"
37 #include <KDE/KDateTime>
39 #include <QtCore/QDataStream>
40 #include <QtCore/QMetaType>
41 #include <QtCore/QVector>
55 typedef QVector<Period>
List;
68 Period(
const KDateTime &start,
const KDateTime &end);
97 bool operator<(
const Period &other)
const;
106 return other.operator<(*this);
117 bool operator==(
const Period &other)
const;
126 return !operator==(other);
139 KDateTime start()
const;
144 KDateTime end()
const;
177 bool hasDuration()
const;
193 void shiftTimes(
const KDateTime::Spec &oldSpec,
194 const KDateTime::Spec &newSpec);
202 friend KCALCORE_EXPORT QDataStream &
operator<<(QDataStream &stream,
205 friend KCALCORE_EXPORT QDataStream &
operator>>(QDataStream &stream,
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Fri Jan 3 2014 22:20:29 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.