//>>built
define("chy/widget/Calendar",["dojo/_base/declare","dojox/widget/Calendar","dojo/date/stamp"],function(b,c,d){return b("chy.widget.Calendar",c,{_setValueAttr:function(a){if(!a)return!0;a.getFullYear||(a=d.fromISOString(a+""));if(this._isInvalidDate(a))return!1;a=new Date(a);this.displayMonth=new Date(a);this._internalValue=a;if(!this.isDisabledDate(a,this.lang)&&0==this._currentChild)this.value=a,this.onChange(a);this._children&&0<this._children.length&&this._children[this._currentChild].set("value",
this.value);return!0}})});