#ifndef __OOL_XDATE_H__
#define __OOL_XDATE_H__

/*===========================================================================*/
/* OOL ------------------- the Open Object Library ------ OS/2 version 0.01a */
/*===========================================================================*/
/*                              class: XDate                                 */
/*                       derived from: XObject                               */
/*                        last update: 4/96                                  */
/*                      programmed by: Stefan von Brauk                      */
/*===========================================================================*/


#include "xobject.h"

typedef struct XdateStructure{
         UCHAR days;
         UCHAR months;
         USHORT years;
         UCHAR day;
};

class _export_ XDate: public XObject
{
      friend class XContainerObject;
   private:
      XdateStructure d;
   public:
      XDate( UCHAR day=0, UCHAR month=0, SHORT year=0, UCHAR weekday=0);
      virtual ~XDate() {;}
      static XDate * GetCurrentDate( void);
};


#endif
