// Licensed Materials - Property of IBM // IBM Cognos Products: cchl // (C) Copyright IBM Corp. 2003, 2016. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. function C_PromptBaseDateTextBox(_cL7, _cH21, _cCB1, _cKS){G_HAL.F_VerifyDependencies("G_ResManager");G_HAL.F_VerifyDependencies("U_PromptInputParser");G_HAL.F_VerifyDependencies("C_PromptBaseTextBox");G_HAL.F_VerifyDependencies("C_PromptBaseDateCalendar");G_HAL.F_VerifyDependencies("D_PromptCalendar");this.F_ConstructBaseClass(_cL7, _cH21, _cCB1, _cKS);this._cUG=false;this._c0D();this._cBT1();};C_PromptBaseDateTextBox.F_Extends(C_PromptBaseControl);C_PromptBaseDateTextBox.prototype.F_Detach=function(){this._c3B.F_Detach();this._cWO1();};C_PromptBaseDateTextBox.prototype.F_Focus=function(){this._c3B.F_Focus();};C_PromptBaseDateTextBox.prototype._c0D=function(){C_PromptBaseDateTextBox.superClass._c0D.call(this);this._cMS=0;this._cY71=null;this._c0D1=null;this._cLR1=(this._cUQ&&this._cSD(this._cUQ))?U_PromptInputParser.F_ParseDate(this._cUQ, U_PromptInputParser._cDA):new Date();if(this._cWM.getAttribute("calendar")){this._cMS=( this._cWM.getAttribute( "calendar" )=="Imperial" )?1:0;}var _cZ71=this._cWM.getAttribute("firstDate");if(_cZ71&&this._cSD(_cZ71)){this._cY71=U_PromptInputParser.F_ParseDate(_cZ71, U_PromptInputParser._cDA);}var _c1D1=this._cWM.getAttribute("lastDate");if(_c1D1&&this._cSD(_c1D1)){this._c0D1=U_PromptInputParser.F_ParseDate(_c1D1, U_PromptInputParser._cDA);}if(this._c0D1&&(this._cLR1>this._c0D1)){this._cLR1=new Date(this._c0D1.valueOf());}if(this._cY71&&(this._cLR1this._c0D1){this._cLR1=new Date(this._c0D1.valueOf());}if(this._cY71&&this._cLR1