Nepomuk
daterange.h
Go to the documentation of this file.
static DateRange monthOf(const QDate &date, DateRangeFlags flags=NoDateRangeFlags)
uint qHash(const DateRange &range)
Allows using DateRange in hashed structures such as QHash or QMap.
static DateRange lastNDays(int n)
DateRangeFlag
The flags allow to change the result returned by several of the static factory methods provided by Da...
Definition: daterange.h:102
static DateRange yearOf(const QDate &date, DateRangeFlags flags=NoDateRangeFlags)
static DateRange thisWeek(DateRangeFlags flags=NoDateRangeFlags)
Takes KLocale::weekStartDay() into account.
static DateRange thisMonth(DateRangeFlags flags=NoDateRangeFlags)
static DateRange thisYear(DateRangeFlags flags=NoDateRangeFlags)
static DateRange lastNWeeks(int n)
static DateRange weekOf(const QDate &date, DateRangeFlags flags=NoDateRangeFlags)
Takes KLocale::weekStartDay() into account.
static DateRange lastNMonths(int n)
static DateRange today()
bool isValid() const
Checks if both start and end are valid dates and if end is after start.
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:02 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.