KCalCore Library
Go to the documentation of this file.
31 #ifndef KCALCORE_DURATION_H
32 #define KCALCORE_DURATION_H
34 #include "kcalcore_export.h"
79 Duration(
const KDateTime &start,
const KDateTime &end);
92 Duration(
const KDateTime &start,
const KDateTime &end, Type type);
101 Duration(
int duration, Type type = Seconds);
125 operator bool()
const;
131 return !
operator bool();
138 bool operator<(
const Duration &other)
const;
146 return !other.operator<(*this);
155 return other.operator<(*this);
164 return !operator<(other);
174 bool operator==(
const Duration &other)
const;
185 return !operator==(other);
277 KDateTime end(
const KDateTime &start)
const;
288 bool isDaily()
const;
293 int asSeconds()
const;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Fri Jan 17 2014 22:11:59 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.