dashing: add Duration type