_b4j.js 1.2 KB

123456
  1. // Licensed Materials - Property of IBM
  2. // IBM Cognos Products: rs
  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 _b4j(_mnm, _ffk, _2uj, _sia){if(typeof _2uj=="undefined"){_2uj=_u3b._ith;}this._rgj=_2uj;this._k8a=_sia||false;_b4j.baseConstructor.call(this, _mnm);if(_ffk){this._p6g(_ffk);}};_olk._vjl(_b4j, _u3b);_b4j.prototype._fq2=function(_hmc){_b4j.superClass._fq2.call(this, _hmc, "date");};_b4j.prototype._j1a=function(_uxm){var _jkh=_tf7._4vh(_uxm, this._rgj);return(_jkh||null);};_b4j.prototype._48d=function(_uxm){if(_uxm==null){return _uxm;}var _jkh=null;if(_uxm&&(_uxm.match(/^\d\d\d\d-\d\d-\d\d$/gi)||_uxm.match(/^\d\d\d\d-\d\d-\d\d[Tt]\d\d:\d\d:\d\d\.\d\d\d$/gi))){var _m6n=_tf7._f7j(_uxm.match(/^\d\d\d\d-\d\d-\d\d/gi)[0], _tf7._wk6);if(_m6n){_jkh=_tf7._s41(_m6n);}}return _jkh;};_b4j.prototype._xf4=function(_2uj){this._rgj=_2uj;this._vw1();};_b4j.prototype._rib=function(_tod){var _ffk=this._l3g(_tod);if(this._k8a&&_ffk!=null){var _nen="T00:00:00.000";if(this._1ll()&&typeof _tod!="undefined"&&_tod==_u3b._eaj){_nen="T23:59:59.999";}_ffk+= _nen;}return _ffk;};