Version 1.9.0: added a Duration constructor for an amount of TimeUnits.