#include <QtCore/qdatetime.h>
#ifndef QDATETIME_H
class QDate{
   public: inline QDate();
   public: QDate(int y, int m, int d);
   public: inline bool isNull() const
   public: bool isValid() const
   public: int year() const
   public: int month() const
   public: int day() const
   public: int dayOfWeek() const
   public: int dayOfYear() const
   public: int daysInMonth() const
   public: int daysInYear() const
   public: int weekNumber(int* yearNum = 0) const
#ifndef QT_NO_TEXTDATE
   public: static class QString shortMonthName(int month);
   public: static class QString shortDayName(int weekday);
   public: static class QString longMonthName(int month);
   public: static class QString longDayName(int weekday);
#endif // QT_NO_TEXTDATE
#ifndef QT_NO_DATESTRING
   public: class QString toString(enum Qt::DateFormat f = Qt::TextDate) const
   public: class QString toString(class QString const & format) const
#endif
   public: bool setYMD(int y, int m, int d);
   public: bool setDate(int year, int month, int date);
   public: class QDate addDays(int days) const
   public: class QDate addMonths(int months) const
   public: class QDate addYears(int years) const
   public: int daysTo(class QDate const &) const
   public: inline bool operator ==(class QDate const & other) const
   public: inline bool operator !=(class QDate const & other) const
   public: inline bool operator <(class QDate const & other) const
   public: inline bool operator <=(class QDate const & other) const
   public: inline bool operator >(class QDate const & other) const
   public: inline bool operator >=(class QDate const & other) const
   public: static class QDate currentDate();
#ifndef QT_NO_DATESTRING
   public: static class QDate fromString(class QString const & s, enum Qt::DateFormat f = Qt::TextDate);
   public: static class QDate fromString(class QString const & s, class QString const & format);
#endif
   public: static bool isValid(int y, int m, int d);
   public: static bool isLeapYear(int year);
   public: static uint gregorianToJulian(int y, int m, int d);
   public: static void julianToGregorian(uint jd, int& y, int& m, int& d);
   public: static inline class QDate fromJulianDay(int jd);
   public: inline int toJulianDay() const
   private: uint jd;
   friend class QDateTime;
   friend struct QDateTimePrivate;
   friend struct QDataStream& operator <<(struct QDataStream&, class QDate const &);
   friend struct QDataStream& operator >>(struct QDataStream&, class QDate&);
};
#endif // QDATETIME_H