_wj4.js 1.4 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: irot
  3. // (C) Copyright IBM Corp. 2003, 2022.
  4. // US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  5. function _wj4(_7t8, _tp7, _gk5, _zr2){ if(_zr2){this._5g5=0;}else if(_gk5){this._5g5=1;}_wj4.baseConstructor.call(this, _7t8);if(_tp7){this._5x5(_tp7);}};_9t7._v88(_wj4, _qx3);_wj4.prototype._5g5=2;_wj4.prototype._5x5=function(_tp7,_yx4){if(_tp7){if(_tp7.match(/^(-?\d+\s\d\d:\d\d:\d\d.\d\d\d)\d*:(-?\d+\s\d\d:\d\d:\d\d.\d\d\d)\d*$/)){var _tp7=RegExp.$1+":" + RegExp.$2;}else if(_tp7.match(/^(-?\d+\s\d\d:\d\d:\d\d.\d\d\d)\d*$/)){var _tp7=RegExp.$1;}}_wj4.superClass._5x5.call(this, _tp7, _yx4);};_wj4.prototype._3w=function(_hi4){_wj4.superClass._3w.call(this, _hi4, "interval");};_wj4.prototype._2j3=function(_hy8){var _hh6=_hy8;if(_hh6&&(this._5g5==1)){_hh6=_hy8.match(/^-?\d+\s\d\d:\d\d:\d\d/gi)[0];}else if(_hh6&&(this._5g5==2)){var _wx8=_hy8.match(/^-?\d+\s\d\d:\d\d/gi);if(_wx8){_hh6=_wx8[0];}}return(_hh6||null);};_wj4.prototype._fr4=function(_hy8){if(_hy8==null){return _hy8;}var _hh6=null;if(_hy8&&(_hy8.match(/^-?P\d+DT\d\dH\d\dM\d\d.\d\d\dS$/gi)||_hy8.match(/^-?\d+\s\d\d:\d\d:\d\d\.\d\d\d$/gi))){_hh6=_hy8;}return _hh6;};_wj4.prototype._dh1=function(_gk5,_zr2){this._5g5=2;if(_zr2){this._5g5=0;}else if(_gk5){this._5g5=1;}this._7m();};