time-sequence: code cleanup

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>