OnDuration extension

on

Properties

timeOfDay TimeOfDay

Available on Duration, provided by the OnDuration extension

convert Duration to TimeOfDay, only hour and minute will be keep.
no setter