ISO8601: Began merge of Duration and ISO8601p

This commit is contained in:
Paul Beckingham 2015-08-09 16:33:21 -04:00
parent 9cd10a5c1e
commit 6dc7244fa6
2 changed files with 98 additions and 2 deletions

View file

@ -72,11 +72,16 @@ class ISO8601p
public:
ISO8601p ();
~ISO8601p ();
ISO8601p (const ISO8601p&); // Unimplemented
ISO8601p& operator= (const ISO8601p&); // Unimplemented
ISO8601p (const ISO8601p&); // Unimplemented
ISO8601p (const std::string&);
ISO8601p& operator= (const ISO8601p&);
bool operator< (const ISO8601p&);
bool operator> (const ISO8601p&);
operator std::string () const;
operator time_t () const;
bool parse (const std::string&, std::string::size_type&);
void clear ();
const std::string format () const;
private:
bool parse_designated (Nibbler&);