mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
Date Support
- Added Date::week helper method.
This commit is contained in:
parent
6555811ca5
commit
3a8a513d17
3 changed files with 24 additions and 1 deletions
|
@ -76,6 +76,7 @@ public:
|
|||
static int length (const std::string&);
|
||||
|
||||
int month () const;
|
||||
int week () const;
|
||||
int day () const;
|
||||
int year () const;
|
||||
int weekOfYear (int) const;
|
||||
|
@ -93,6 +94,7 @@ public:
|
|||
bool operator>= (const Date&) const;
|
||||
bool sameHour (const Date&) const;
|
||||
bool sameDay (const Date&) const;
|
||||
bool sameWeek (const Date&) const;
|
||||
bool sameMonth (const Date&) const;
|
||||
bool sameYear (const Date&) const;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue