ISO8601d: Added ::toEpoch
This commit is contained in:
@@ -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 ()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user