Add duration_cast
Merge pull request #2 from daedric/master

Add duration_cast