Create a duration
x hours long, or get the hours in a duration
x.
If input is numeric, returns a duration
array that is that many hours in
time.
If input is a duration
, converts the duration
to a number of hours.
Returns an array the same size as x.