//*******************************************************************
//
// LICENSE: MIT see top level license.txt
//
// Author: Garrett Potts
//
//*************************************************************************
// $Id: ossimDateProperty.h 23666 2015-12-14 20:01:22Z rashadkm $
#ifndef ossimDateProperty_HEADER
#define ossimDateProperty_HEADER
#include <ossim/base/ossimProperty.h>
#include <ossim/base/ossimDate.h>

class OSSIM_DLL ossimDateProperty : public ossimProperty
{
public:
   ossimDateProperty();
   ossimDateProperty(const ossimString& name,
                     const ossimString& value);
   ossimDateProperty(const ossimString& name,
                     const ossimLocalTm& value);
   ossimDateProperty(const ossimDateProperty& src);
   virtual ossimObject* dup()const;
   
   void setDate(const ossimLocalTm& localTm);
   const ossimLocalTm& getDate()const;
   virtual bool setValue(const ossimString& value);
   virtual void valueToString(ossimString& valueResult)const;
   virtual const ossimProperty& assign(const ossimProperty& rhs);
   
protected:
   ossimLocalTm theValue;

TYPE_DATA
};

#endif
