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 ()
{