Files
core/ASCOfficeOdtFile/Source/DocxFormat/DateTime.h
Elen.Subbotina 6138139c4e исправлен проект - подключен "старый" DocxFormat (тот который с AVS - без вытирания буста)
git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@53593 954022d7-b5bf-4e40-9824-e11837661b57
2016-05-20 22:37:54 +03:00

32 lines
611 B
C++

#pragma once
#ifndef OOX_DATE_TIME_INCLUDE_H_
#define OOX_DATE_TIME_INCLUDE_H_
#include <string>
#include "Utility.h"
namespace OOX
{
class DateTime
{
public:
DateTime();
explicit DateTime(const std::string& value);
explicit DateTime(const ::DateTime& dt);
public:
const std::string ToString() const;
static const DateTime Parse(const std::string& value);
public:
::DateTime& datetime();
const ::DateTime& datetime() const;
private:
static const std::string s_pattern;
::DateTime m_datetime;
};
} // namespace OOX
#endif // OOX_DATE_TIME_INCLUDE_H_