Interval: Added ::_from accessors

This commit is contained in:
Paul Beckingham 2016-03-20 11:40:24 -04:00
parent 61b04ff0e8
commit a22f27afc2
2 changed files with 16 additions and 0 deletions

View file

@ -28,6 +28,18 @@
#include <Interval.h>
#include <sstream>
////////////////////////////////////////////////////////////////////////////////
Datetime Interval::from () const
{
return _from;
}
////////////////////////////////////////////////////////////////////////////////
void Interval::from (Datetime& value)
{
_from = value;
}
////////////////////////////////////////////////////////////////////////////////
std::string Interval::dump () const
{

View file

@ -35,6 +35,10 @@ class Interval
{
public:
Interval () = default;
Datetime from () const;
void from (Datetime&);
std::string dump () const;
private: