Changes the default from BaseTime to chosen type in the Time Picker Component
BaseTime
The type must be a sub-type of BaseTime.
type