mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-09-01 09:17:19 +02:00
Duration
- Migrated methods and unit tests from OldDuration to Duration.
This commit is contained in:
parent
f77074785b
commit
965284875c
3 changed files with 79 additions and 2 deletions
|
@ -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 ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue