Add methods for constructing from Date and Calendar.