code: public DatePickerNumberOfMonths getNumberOfMonths()
  	{
  		IComplexOption numberOfMonths = getComplexOption("numberOfMonths");
  
  		if (numberOfMonths != null && numberOfMonths instanceof DatePickerNumberOfMonths)
  		{
  			return (DatePickerNumberOfMonths) numberOfMonths;
  		}
  
  		return new DatePickerNumberOfMonths(new Short("1"));
  	}
docs: Returns the number of months displayed on the date picker.