Either you have to write custome xtype by using the widget api CQ5 | Widgets API .
Otherwise I think you need only year instead of datefield use select to select the years from the select box and select box take the value dynamically for this you have to write the jsp code to get the year and put in json formet and used in select box take a look of this example:
Either you have to write custome xtype by using the widget api CQ5 | Widgets API .
Otherwise I think you need only year instead of datefield use select to select the years from the select box and select box take the value dynamically for this you have to write the jsp code to get the year and put in json formet and used in select box take a look of this example: