What I am trying to do :
I am trying to set the startDate and endDate params depending on the current value of year. I think that currenty what I have just sets the
I think you can simply use setStartDate and setEndDate methods: http://jsfiddle.net/ivkremer/fRzyL/21/
setStartDate
setEndDate