ISO8601d: Added ::ISO8601 (time_t)

This commit is contained in:
Paul Beckingham 2015-09-26 15:18:29 -04:00
parent 79f030b199
commit 957c8b7e7b
2 changed files with 8 additions and 0 deletions

View file

@ -119,6 +119,13 @@ ISO8601d::ISO8601d ()
_date = time (NULL);
}
////////////////////////////////////////////////////////////////////////////////
ISO8601d::ISO8601d (const time_t t)
{
clear ();
_date = t;
}
////////////////////////////////////////////////////////////////////////////////
ISO8601d::~ISO8601d ()
{

View file

@ -38,6 +38,7 @@ public:
static int minimumMatchLength;
ISO8601d ();
ISO8601d (time_t);
~ISO8601d ();
ISO8601d (const ISO8601d&); // Unimplemented
ISO8601d& operator= (const ISO8601d&); // Unimplemented