dom: Added 'dom.tracked.N.duration' support

This commit is contained in:
Paul Beckingham 2016-07-16 16:11:01 -04:00
parent b5bcefb133
commit 6e01aa5c68

View file

@ -144,6 +144,13 @@ bool domGet (
return true;
}
// dom.active.duration
if (pig.skipLiteral ("duration"))
{
value = Duration (tracked[count - n].range.total ()).formatISO ();
return true;
}
int n;
if (pig.skipLiteral ("tag.") &&
pig.getDigits (n))