Changes the default from BaseDate to chosen type in the Calendar component.
BaseDate
The type must be a sub-type of BaseDate.
type