added functions to support duration comparison
13 files changed