///////////////////////////////////////////////////////////////////////////
| 417 | |
| 418 | //////////////////////////////////////////////////////////////////////////////// |
| 419 | bool Task::is_dueweek() const { |
| 420 | if (has("due")) { |
| 421 | Task::status status = getStatus(); |
| 422 | |
| 423 | if (status != Task::completed && status != Task::deleted) { |
| 424 | Datetime due(get_date("due")); |
| 425 | if (due >= Datetime("sow") && due <= Datetime("eow")) return true; |
| 426 | } |
| 427 | } |
| 428 | |
| 429 | return false; |
| 430 | } |
| 431 | |
| 432 | //////////////////////////////////////////////////////////////////////////////// |
| 433 | bool Task::is_duemonth() const { |
nothing calls this directly
no outgoing calls
no test coverage detected