///////////////////////////////////////////////////////////////////////////
| 445 | |
| 446 | //////////////////////////////////////////////////////////////////////////////// |
| 447 | bool Task::is_duequarter() const { |
| 448 | if (has("due")) { |
| 449 | Task::status status = getStatus(); |
| 450 | |
| 451 | if (status != Task::completed && status != Task::deleted) { |
| 452 | Datetime due(get_date("due")); |
| 453 | if (due >= Datetime("soq") && due <= Datetime("eoq")) return true; |
| 454 | } |
| 455 | } |
| 456 | |
| 457 | return false; |
| 458 | } |
| 459 | |
| 460 | //////////////////////////////////////////////////////////////////////////////// |
| 461 | bool Task::is_dueyear() const { |
nothing calls this directly
no outgoing calls
no test coverage detected