Check to see if the calendar type parameter is actually an existing class before adding it to the calendar factory.
Check to see if the calendar type parameter is actually an existing class before adding it to the calendar factory.

benplummer/calendarful