///////////////////////////////////////////////////////////////////////////
| 431 | |
| 432 | //////////////////////////////////////////////////////////////////////////////// |
| 433 | bool Task::is_duemonth() const { |
| 434 | if (has("due")) { |
| 435 | Task::status status = getStatus(); |
| 436 | |
| 437 | if (status != Task::completed && status != Task::deleted) { |
| 438 | Datetime due(get_date("due")); |
| 439 | if (due >= Datetime("som") && due <= Datetime("eom")) return true; |
| 440 | } |
| 441 | } |
| 442 | |
| 443 | return false; |
| 444 | } |
| 445 | |
| 446 | //////////////////////////////////////////////////////////////////////////////// |
| 447 | bool Task::is_duequarter() const { |
nothing calls this directly
no outgoing calls
no test coverage detected