ISO8601d: Added ::toEpoch

This commit is contained in:
Paul Beckingham
2015-09-26 18:39:33 -04:00
parent 4a33f3e093
commit cc8a305b37
2 changed files with 7 additions and 0 deletions

View File

@@ -840,6 +840,12 @@ bool ISO8601p::parse (const std::string& input, std::string::size_type& start)
return false;
}
////////////////////////////////////////////////////////////////////////////////
time_t ISO8601d::toEpoch ()
{
return _date;
}
////////////////////////////////////////////////////////////////////////////////
std::string ISO8601d::toEpochString ()
{