Recurrence: Added notes

This commit is contained in:
Paul Beckingham 2017-04-02 14:04:44 -04:00
parent 1f6ea2a8ad
commit 54ea38b663

View file

@ -29,6 +29,14 @@
extern Context context; extern Context context;
////////////////////////////////////////////////////////////////////////////////
// Checklist:
// - last: Most recently generated instance integer. The first instance
// generated is '1'.
// - Sync must merge duplicate N.
// - Remove recurrence.limit. Now always 1. It is not something that can be done
// with rtype:chained tasks.
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
// Given an old-style task, upgrades it perfectly. // Given an old-style task, upgrades it perfectly.
// Note: Works for both parent and child. // Note: Works for both parent and child.
@ -51,9 +59,14 @@ static Datetime calculateDueN (const Task&, int)
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
static void synthesizeTasks (const Task&) static void synthesizeTasks (const Task&)
{ {
context.debug ("synthesizeTasks start");
// TODO 'due' = starting point
// TODO 'recur' = frequency
// TODO 'last' = index of most recently synthesized instance
context.debug ("synthesizeTasks end");
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////