2012-04-29 18:52:25 +00:00
|
|
|
//
|
|
|
|
// DynamicDateTime.h
|
|
|
|
//
|
|
|
|
// $Id: //poco/Main/Data/include/Poco/Data/DynamicDateTime.h#7 $
|
|
|
|
//
|
|
|
|
// Library: Data
|
|
|
|
// Package: DataCore
|
|
|
|
// Module: DynamicDateTime
|
|
|
|
//
|
|
|
|
// Definition of the Date and Time cast operators for Poco::Dynamic::Var.
|
|
|
|
//
|
|
|
|
// Copyright (c) 2006, Applied Informatics Software Engineering GmbH.
|
|
|
|
// and Contributors.
|
|
|
|
//
|
2014-05-04 21:02:42 +02:00
|
|
|
// SPDX-License-Identifier: BSL-1.0
|
2012-04-29 18:52:25 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef Data_DynamicDateTime_INCLUDED
|
|
|
|
#define Data_DynamicDateTime_INCLUDED
|
|
|
|
|
|
|
|
|
|
|
|
#include "Poco/Data/Data.h"
|
|
|
|
#include "Poco/Data/Date.h"
|
|
|
|
#include "Poco/Data/Time.h"
|
|
|
|
#include "Poco/Dynamic/Var.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace Poco {
|
|
|
|
namespace Data {
|
|
|
|
|
|
|
|
class Date;
|
|
|
|
class Time;
|
|
|
|
|
|
|
|
} } // namespace Poco::Data
|
|
|
|
|
|
|
|
|
|
|
|
namespace Poco {
|
|
|
|
namespace Dynamic {
|
|
|
|
|
|
|
|
|
|
|
|
template <> Data_API Var::operator Poco::Data::Date () const;
|
|
|
|
template <> Data_API Var::operator Poco::Data::Time () const;
|
|
|
|
|
|
|
|
|
|
|
|
} } // namespace Poco::Dynamic
|
|
|
|
|
|
|
|
|
|
|
|
#endif // Data_DynamicDateTime_INCLUDED
|