123456 |
- // 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_TimeValue(_c9O1, _cWB1, _cEW, _cTC){this._cFW=2;if(_cTC){this._cFW=0;}else if(_cEW){this._cFW=1;}this.F_ConstructBaseClass(_c9O1);if(_cWB1){this.F_SetUseValue(_cWB1);}};C_TimeValue.F_Extends(C_ParameterValue);C_TimeValue.prototype.F_SetUseValue=function(_cWB1,_cJR){if(_cWB1){if(_cWB1.match(/^(\d\d:\d\d:\d\d.\d\d\d)\d*:(\d\d:\d\d:\d\d.\d\d\d)\d*$/)){var _cWB1=RegExp.$1+":" + RegExp.$2;}else if(_cWB1.match(/^(\d\d:\d\d:\d\d.\d\d\d)\d*$/)){var _cWB1=RegExp.$1;}}C_TimeValue.superClass.F_SetUseValue.call(this, _cWB1, _cJR);};C_TimeValue.prototype._cN3=function(_cNM){C_TimeValue.superClass._cN3.call(this, _cNM, "time");};C_TimeValue.prototype._c3J=function(_cGN1){var _cO11=U_PromptInputParser._cZ61(U_PromptInputParser.F_ParseTime(_cGN1), this._cFW);return(_cO11?_cO11:null);};C_TimeValue.prototype._cKR=function(_cGN1){var _cO11=null;if(_cGN1&&_cGN1.match(/^\d\d:\d\d:\d\d.\d\d\d$/gi)){var _c8R1=U_PromptInputParser.F_ParseTime(_cGN1);if(_c8R1){var _cO11=U_PromptInputParser.F_GetTimeInTransferableFormat(_c8R1);}}return(_cO11?_cO11:null);};C_TimeValue.prototype.F_SetDisplayProperties=function(_cEW,_cTC){this._cFW=2;if(_cTC){this._cFW=0;}else if(_cEW){this._cFW=1;}this._cC2();};
|