Added a conversion method for timedelta to Duration - would prefer an overloaded constructor, but maybe later for that