//>>built
define("dojox/form/YearTextBox","dojo/_base/kernel dojo/_base/lang dojox/widget/YearlyCalendar dijit/form/TextBox ./DateTextBox dojo/_base/declare".split(" "),function(e,b,f,c,g,h){e.experimental("dojox/form/DateTextBox");return h("dojox.form.YearTextBox",g,{popupClass:f,format:function(a){return"string"!=typeof a&&a.getFullYear?a.getFullYear():a},validator:function(a){return""==a||null==a||/(^-?\d\d*$)/.test(String(a))},_setValueAttr:function(a,d,k){a&&a.getFullYear&&(a=a.getFullYear());c.prototype._setValueAttr.call(this,
a,d,k)},openDropDown:function(){this.inherited(arguments);this.dropDown.onValueSelected=b.hitch(this,function(a){this.focus();setTimeout(b.hitch(this,"closeDropDown"),1);c.prototype._setValueAttr.call(this,a,!0,a)})},parse:function(a,d){return a||(this._isEmpty(a)?null:void 0)},filter:function(a){return a&&a.getFullYear?a.getFullYear().toString():this.inherited(arguments)}})});