ISO8601: Added time_t ctor
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -71,9 +71,10 @@ class ISO8601p
|
||||
{
|
||||
public:
|
||||
ISO8601p ();
|
||||
ISO8601p (time_t);
|
||||
ISO8601p (const std::string&);
|
||||
~ISO8601p ();
|
||||
ISO8601p (const ISO8601p&); // Unimplemented
|
||||
ISO8601p (const std::string&);
|
||||
ISO8601p& operator= (const ISO8601p&);
|
||||
bool operator< (const ISO8601p&);
|
||||
bool operator> (const ISO8601p&);
|
||||
|
||||
Reference in New Issue
Block a user