Recurrence: Stubbed Task upgrade function

This commit is contained in:
Paul Beckingham 2017-04-02 14:03:16 -04:00
parent 5ef2a256a6
commit 1f6ea2a8ad

View file

@ -29,6 +29,16 @@
extern Context context;
////////////////////////////////////////////////////////////////////////////////
// Given an old-style task, upgrades it perfectly.
// Note: Works for both parent and child.
static Task upgradeTask (const Task&)
{
Task upgraded;
return upgraded;
}
////////////////////////////////////////////////////////////////////////////////
// Calculates the due date for a new new instance N.
static Datetime calculateDueN (const Task&, int)