OnDuration extension

on

Properties

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