code: function(options) {
        inputEx.DatePickerField.superclass.setOptions.call(this, options);
        
        // Overwrite default options
        this.options.className = options.className ? options.className : 'inputEx-Field inputEx-DateField inputEx-PickerField inputEx-DatePickerField';
  
        this.options.readonly = YAHOO.lang.isUndefined(options.readonly) ? true : options.readonly;
        
        // Added options
        this.options.calendar = options.calendar || inputEx.messages.defautCalendarOpts;
     }
docs: Set the default date picker CSS classes
  @param {Object} options Options object as passed to the constructor