4 #ifndef FIRE_PLUGIN_DATA_SHARED_DATETIMESH_HPP_INCLUDED
5 #define FIRE_PLUGIN_DATA_SHARED_DATETIMESH_HPP_INCLUDED
7 #include <boost/shared_ptr.hpp>
12 #include "fire/gis/export.hpp"
13 #include "fire/shared/Shared.hpp"
14 #include "fire/source/vector/DateTime.hpp"
40 long long getTime()
const {
41 return _getPtr()->getTime();
44 void setTime(
double const & time) {
45 _getPtr()->setTime(time);
48 std::string format(std::string
const & pattern =
"yyyy-MM-dd hh:mm:ss")
const {
49 return _getPtr()->format(pattern);
52 void parse(
const std::string &txt, std::string
const & pattern =
"yyyy-MM-dd hh:mm:ss") {
53 _getPtr()->parse(txt, pattern);
long long getTime() const
Definition: Shared.hpp:17
Definition: DateTimeSh.hpp:21
Definition: DateTime.hpp:25