- Migrated methods and unit tests from OldDuration to Duration.
This commit is contained in:
Paul Beckingham 2014-05-28 22:41:29 -04:00
parent f77074785b
commit 965284875c
3 changed files with 79 additions and 2 deletions

View file

@ -34,9 +34,12 @@ class Duration
{
public:
Duration (); // Default constructor
Duration (const std::string&); // Parse
~Duration (); // Destructor
Duration (const Duration&); // Unimplemented
Duration& operator= (const Duration&); // Unimplemented
bool operator< (const Duration&);
bool operator> (const Duration&);
Duration& operator= (const Duration&);
operator time_t () const;
bool parse (const std::string&, std::string::size_type&);
void clear ();