Encapsulated the creation of the 3 different sections of the calendar in picker.date.js