ISO8601: Added time_t ctor

This commit is contained in:
Paul Beckingham
2015-08-12 08:01:43 -04:00
parent 29f17aed68
commit a86e45c31e
2 changed files with 9 additions and 2 deletions

View File

@@ -585,7 +585,8 @@ ISO8601p::ISO8601p ()
}
////////////////////////////////////////////////////////////////////////////////
ISO8601p::~ISO8601p ()
ISO8601p::ISO8601p (time_t input)
: _value (input)
{
}
@@ -606,6 +607,11 @@ ISO8601p::ISO8601p (const std::string& input)
parse (input, idx);
}
////////////////////////////////////////////////////////////////////////////////
ISO8601p::~ISO8601p ()
{
}
////////////////////////////////////////////////////////////////////////////////
ISO8601p& ISO8601p::operator= (const ISO8601p& other)
{