/***************************************************************************
                            qt_QDate.h -  description
                             -------------------
    begin                : Tue Nov 20 20:51:20 2001
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Tue Nov 20 20:51:20 2001, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This library is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU Library General Public License as       *
 *   published by the Free Software Foundation; either version 2 of the    *
 *   License, or (at your option) any later version.                       *
 *                                                                         *
 ***************************************************************************/

#ifndef QT_QDATE
#define QT_QDATE

#include <qtc/qtc_types.h>

/**

  QDate class
***************************************************************************
 @short 
  QDate class
***************************************************************************
*/
qt_QDate * qt_new_QDate();
qt_QDate * qt_new_QDate1(int y, int m, int d);
int qt_QDate_isNull(qt_QDate* instPointer);
int qt_QDate_isValid(qt_QDate* instPointer);
int qt_QDate_year(qt_QDate* instPointer);
int qt_QDate_month(qt_QDate* instPointer);
int qt_QDate_day(qt_QDate* instPointer);
int qt_QDate_dayOfWeek(qt_QDate* instPointer);
int qt_QDate_dayOfYear(qt_QDate* instPointer);
int qt_QDate_daysInMonth(qt_QDate* instPointer);
int qt_QDate_daysInYear(qt_QDate* instPointer);
qt_QString * qt_QDate_toString(qt_QDate* instPointer,int f);
qt_QString * qt_QDate_toString1(qt_QDate* instPointer,qt_QString * format);
int qt_QDate_setYMD(qt_QDate* instPointer,int y, int m, int d);
qt_QDate * qt_QDate_addDays(qt_QDate* instPointer,int days);
qt_QDate * qt_QDate_addMonths(qt_QDate* instPointer,int months);
qt_QDate * qt_QDate_addYears(qt_QDate* instPointer,int years);
int qt_QDate_daysTo(qt_QDate* instPointer,qt_QDate * arg1);
qt_QString * qt_QDate_monthName( int month);
qt_QString * qt_QDate_dayName( int weekday);
qt_QString * qt_QDate_shortMonthName( int month);
qt_QString * qt_QDate_shortDayName( int weekday);
qt_QString * qt_QDate_longMonthName( int month);
qt_QString * qt_QDate_longDayName( int weekday);
qt_QDate * qt_QDate_currentDate( );
qt_QDate * qt_QDate_fromString( qt_QString * s, int f);
int qt_QDate_isValid1( int y, int m, int d);
int qt_QDate_leapYear( int year);
unsigned int qt_QDate_gregorianToJulian( int y, int m, int d);
void qt_QDate_julianToGregorian( unsigned int jd, int y, int m, int d);

#endif
