/***************************************************************************
                            kde_KRFCDate.cpp -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, 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.                       *
 *                                                                         *
 ***************************************************************************/

extern "C" {
#include "kde_KRFCDate.h"
}

#include <krfcdate.h>

long kde_KRFCDate_parseDate( qt_QString * date){
	return (long) KRFCDate::parseDate((QString&)* (QString*)date);
}
long kde_KRFCDate_parseDateISO8601( qt_QString * date){
	return (long) KRFCDate::parseDateISO8601((QString&)* (QString*)date);
}
int kde_KRFCDate_localUTCOffset( ){
	return (int) KRFCDate::localUTCOffset();
}
qt_QCString* kde_KRFCDate_rfc2822DateString( long utcTime, int utcOffset){
	return (qt_QCString*)new QCString(KRFCDate::rfc2822DateString((time_t)utcTime, (int)utcOffset));
}
qt_QCString* kde_KRFCDate_rfc2822DateString1( long utcTime){
	return (qt_QCString*)new QCString(KRFCDate::rfc2822DateString((time_t)utcTime));
}
