mat-date 1.7.31 → 1.7.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -100,5 +100,10 @@ export declare class MDateUtil {
100
100
  static diffMins(before: MDateUtil | Date | number | string, after: MDateUtil | Date | number | string, abs?: boolean): number;
101
101
  static diffSecs(before: MDateUtil | Date | number | string, after: MDateUtil | Date | number | string, abs?: boolean): number;
102
102
  static s1(m1: MDateUtil | Date | number | string, m2: MDateUtil | Date | number | string, t1: MDateUtil | Date | number | string, t2: MDateUtil | Date | number | string): boolean;
103
+ static sperateTime(value: string): {
104
+ hh: number;
105
+ mm: number;
106
+ ss: number;
107
+ };
103
108
  }
104
109
  export {};
package/dist/DateUtil.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x1070c8={};a0_0x1070c8['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x1070c8),exports['MDateUtil']=void 0x0;const a0_0xd5d1b3=(_0x18094c,_0x4e5b51=0x2)=>_0x18094c['toString']()['padStart'](_0x4e5b51,'0');function a0_0x34b678(_0x30c639,_0xdd3aa3){try{return _0x30c639();}catch(_0x27e0c2){if(_0xdd3aa3)return _0xdd3aa3;throw new Error('UNKNOWN');}}function a0_0xad1f08(_0xe07eb4){try{if(_0xe07eb4 instanceof Date)return _0xe07eb4['getTime']();if(typeof _0xe07eb4==='number')return _0xe07eb4;if(typeof _0xe07eb4==='string')return new Date(_0xe07eb4)['getTime']();if(_0xe07eb4 instanceof a0_0x24985a)return _0xe07eb4['toTime']();if(_0xe07eb4['idkey']==='mdateutil')return _0xe07eb4['toTime']();return 0x0;}catch(_0x110479){throw new Error('ERROR');}}function a0_0x3faa90(_0x1cc88c,_0x51a2a7,_0xda51af,_0x5f7fed){const _0x282c45=a0_0xad1f08(_0x1cc88c),_0x1ae5ce=a0_0xad1f08(_0x51a2a7),_0x35c65e=a0_0xad1f08(_0xda51af),_0x350ebb=a0_0xad1f08(_0x5f7fed);return _0x35c65e<=_0x282c45&&_0x350ebb>=_0x282c45&&_0x350ebb<=_0x1ae5ce||_0x35c65e>=_0x282c45&&_0x35c65e<=_0x1ae5ce&&_0x350ebb>=_0x1ae5ce||_0x35c65e>=_0x282c45&&_0x35c65e<=_0x1ae5ce&&_0x350ebb<=_0x1ae5ce||_0x35c65e<=_0x282c45&&_0x350ebb>=_0x1ae5ce;}class a0_0x24985a{['val']=new Date();static ['glCode']=undefined;['code']=undefined;get['localCode'](){return this['code'];}static['new'](){return new a0_0x24985a()['setCode'](a0_0x24985a['glCode']);}static['setCode'](_0x5b44f3){return a0_0x24985a['glCode']=_0x5b44f3,this;}static['seperator'](){return new Date()['toLocaleDateString'](a0_0x24985a['glCode'])['replace'](/\d/g,'')['split']('')[0x0];}['cpy'](){return a0_0x24985a['new']()['setTime'](this['toTime']());}['setCode'](_0x50df0b){return this['code']=_0x50df0b,this;}['seperator'](){return new Date()['toLocaleDateString'](this['code'])['replace'](/\d/g,'')['split']('')[0x0];}['zone'](){return a0_0x34b678(()=>{return Intl['DateTimeFormat']()?.['resolvedOptions']()?.['timeZone'];},null);}['zones'](_0x4f2385=this['code']){return a0_0x34b678(()=>{return new Intl['Locale'](_0x4f2385)?.['timeZones']||[];},null);}['region'](_0x5ddf33=this['code']){return a0_0x34b678(()=>{return new Intl['Locale'](_0x5ddf33)['region'];},null);}['year'](){return this['val']['getFullYear']();}['month'](){return this['val']['getMonth']()+0x1;}['monthUtc'](){return this['val']['getMonth']();}['day'](){return this['val']['getDate']();}['hours'](){return this['val']['getHours']();}['min'](){return this['val']['getMinutes']();}['sec'](){return this['val']['getSeconds']();}['dayOfWeek'](){const _0x5c12c3=this['val']['getDay']();return _0x5c12c3?_0x5c12c3:0x7;}['dayOfWeekUtc'](){return this['val']['getDay']();}['setYear'](_0xa02b93){return this['val']['setFullYear'](_0xa02b93),this;}['setMonth'](_0x5a0a3d){return this['val']['setMonth'](_0x5a0a3d-0x1),this;}['setMonthUtc'](_0xfcd324){return this['val']['setMonth'](_0xfcd324),this;}['setDay'](_0x46d104){return this['val']['setDate'](_0x46d104),this;}['setHour'](_0x373c9e){return this['val']['setHours'](_0x373c9e),this;}['startOfHours'](){return this['setHour'](0x0),this['setMin'](0x0),this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfHours'](){return this['setHour'](0x17),this['setMin'](0x3b),this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setMin'](_0x40cf11){return this['val']['setMinutes'](_0x40cf11),this;}['startOfMin'](){return this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfMin'](){return this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setSeconds'](_0x5846c9){return this['val']['setSeconds'](_0x5846c9),this;}['startOfSeconds'](){return this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfSeconds'](){return this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setMilliseconds'](_0x13c230){return this['val']['setMilliseconds'](_0x13c230),this;}['startOfMilliseconds'](){return this['setMilliseconds'](0x0),this;}['endOfMilliseconds'](){return this['setMilliseconds'](0x3e7),this;}['setIsoDate'](_0x1120b7){return this['val']=new Date(_0x1120b7),this;}['setTime'](_0x13b5b8){return this['val']=new Date(_0x13b5b8),this;}['setDate'](_0x8bf4a9){return this['val']=new Date(_0x8bf4a9),this;}['setDateInputValue'](_0x252e98){return this['val']=new Date(_0x252e98?.['replace']('T','\x20')),this;}['setVal'](_0xfd35f7){return a0_0x34b678(()=>{return a0_0x24985a['new']()['setTime'](a0_0xad1f08(_0xfd35f7));});}['toIsoDate'](){return this['val']['toISOString']();}['toTime'](){return this['val']['getTime']();}['toDate'](){return this['val'];}['toDateMounthInput'](){return this['year']()+'-'+a0_0xd5d1b3(this['month']());}['toDateInput'](){return this['year']()+'-'+a0_0xd5d1b3(this['month']())+'-'+a0_0xd5d1b3(this['day']());}['toTimeInput'](_0x454f0b=!![]){const _0x2a126d=[];return _0x2a126d['push'](a0_0xd5d1b3(this['hours']())),_0x2a126d['push'](a0_0xd5d1b3(this['min']())),_0x454f0b&&_0x2a126d['push'](a0_0xd5d1b3(this['sec']())),_0x2a126d['join'](':');}['toDateTimeInput'](_0x2e2d6a=!![]){return this['toDateInput']()+'T'+this['toTimeInput'](_0x2e2d6a);}['strDate'](){const _0x479828={};return _0x479828['month']='2-digit',_0x479828['day']='2-digit',_0x479828['year']='numeric',this['val']['toLocaleDateString'](this['code'],_0x479828);}['strDateLocal'](_0x453c80){return this['val']['toLocaleDateString'](this['code'],_0x453c80);}['strTime'](){return a0_0xd5d1b3(this['hours']())+':'+a0_0xd5d1b3(this['min']())+':'+a0_0xd5d1b3(this['sec']());}['strTimeLocale'](_0x288dbf){return this['val']['toLocaleTimeString'](this['code'],_0x288dbf);}['strHHmm'](){return a0_0xd5d1b3(this['hours']())+':'+a0_0xd5d1b3(this['min']());}['str'](){return this['strDate']()+'\x20'+this['strTime']();}['strLocal'](_0xf4f966){return this['val']['toLocaleString'](this['code'],_0xf4f966);}['addDay'](_0xb2e36a){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0xb2e36a*0x18)),this;}['addHours'](_0x273335){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0x273335)),this;}['addMins'](_0x4faf86){return this['val']=new Date(this['val']['setMinutes'](this['val']['getMinutes']()+_0x4faf86)),this;}['startOfDay'](){return this['startOfHours'](),this;}['cpyByStartOfDay'](){return this['cpy']()['startOfDay']();}['endOfDay'](){return this['endOfHours'](),this;}['cpyByEndOfDay'](){return this['cpy']()['endOfDay']();}['startOfWeek'](){return this['addDay'](-this['dayOfWeek']()+0x1);}['cpyStartOfWeek'](){return this['cpy']()['addDay'](-this['dayOfWeek']()+0x1);}['endOfWeek'](){return this['startOfWeek']()['addDay'](0x6);}['cpyEndOfWeek'](){return this['cpyStartOfWeek']()['addDay'](0x6);}['startOfMonth'](){return this['setDay'](0x1),this['startOfDay'](),this;}['cpyByStartOfMonth'](){return this['cpy']()['startOfMonth']();}['endOfMonth'](){return this['setDate'](this['val'])['startOfMonth']()['setMonth'](this['month']()+0x1)['startOfMonth']()['addDay'](-0x1)['endOfDay'](),this;}['cpyByEndOfMonth'](){return this['cpy']()['endOfMonth']();}['eq'](_0x362de0){return a0_0x34b678(()=>{return this['cpy']()['toTime']()===a0_0xad1f08(_0x362de0);});}['gt'](_0x10bfc6){return a0_0x34b678(()=>{return this['cpy']()['toTime']()>a0_0xad1f08(_0x10bfc6);});}['gte'](_0xd5cd2a){return a0_0x34b678(()=>{return this['cpy']()['toTime']()>=a0_0xad1f08(_0xd5cd2a);});}['lt'](_0xf4905b){return a0_0x34b678(()=>{return this['cpy']()['toTime']()<a0_0xad1f08(_0xf4905b);});}['lte'](_0x2d3e71){return a0_0x34b678(()=>{return this['cpy']()['toTime']()<=a0_0xad1f08(_0x2d3e71);});}['btw'](_0x5bac36,_0x29a9db){return a0_0x34b678(()=>{const _0x4036f9=a0_0xad1f08(_0x5bac36),_0x4d9b1f=a0_0xad1f08(_0x29a9db),_0x23f51d=this['cpy']()['toTime']();return _0x4036f9<_0x23f51d&&_0x23f51d<_0x4d9b1f;});}['btweq'](_0x2ccb41,_0x384e6a){return a0_0x34b678(()=>{const _0x52e558=a0_0xad1f08(_0x2ccb41),_0x1927c2=a0_0xad1f08(_0x384e6a),_0x235c64=this['cpy']()['toTime']();return _0x52e558<=_0x235c64&&_0x235c64<=_0x1927c2;});}['btwEqStart'](_0x3fa358,_0x2ad9aa){return a0_0x34b678(()=>{const _0x536617=a0_0xad1f08(_0x3fa358),_0x12fc27=a0_0xad1f08(_0x2ad9aa),_0x15f4c9=this['cpy']()['toTime']();return _0x536617<=_0x15f4c9&&_0x15f4c9<_0x12fc27;});}['btwEqEnd'](_0x551115,_0x45bd89){return a0_0x34b678(()=>{const _0x4dcbd8=a0_0xad1f08(_0x551115),_0x203670=a0_0xad1f08(_0x45bd89),_0x35601c=this['cpy']()['toTime']();return _0x4dcbd8<_0x35601c&&_0x35601c<=_0x203670;});}static['diffDays'](_0x500f8c,_0x3753ff,_0x17268e){return a0_0x34b678(()=>{const _0x1d99d2=a0_0xad1f08(_0x500f8c),_0xb23950=a0_0xad1f08(_0x3753ff);return _0x17268e?Math['abs'](_0x1d99d2-_0xb23950)/0x36ee80/0x18:(_0x1d99d2-_0xb23950)/0x36ee80/0x18;});}static['diffHours'](_0x657bc9,_0xf039a,_0xd5fd78){return a0_0x34b678(()=>{const _0x596668=a0_0xad1f08(_0x657bc9),_0x202a00=a0_0xad1f08(_0xf039a);return _0xd5fd78?Math['abs'](_0x596668-_0x202a00)/0x36ee80:(_0x596668-_0x202a00)/0x36ee80;});}static['diffMins'](_0x2b8e63,_0x5f15ca,_0x7d8ada){return a0_0x34b678(()=>{const _0x59a9a1=a0_0xad1f08(_0x2b8e63),_0x532528=a0_0xad1f08(_0x5f15ca);return _0x7d8ada?Math['abs'](_0x59a9a1-_0x532528)/0x3e8/0x3c:(_0x59a9a1-_0x532528)/0x3e8/0x3c;});}static['diffSecs'](_0x223beb,_0x5db422,_0x380a90){return a0_0x34b678(()=>{const _0x14bc22=a0_0xad1f08(_0x223beb),_0x11a05f=a0_0xad1f08(_0x5db422);return _0x380a90?Math['abs'](_0x14bc22-_0x11a05f)/0x3e8:(_0x14bc22-_0x11a05f)/0x3e8;});}static['s1'](_0x4b2561,_0x1c83e3,_0x97d331,_0x3fbdb7){return a0_0x34b678(()=>a0_0x3faa90(_0x4b2561,_0x1c83e3,_0x97d331,_0x3fbdb7));}}exports['MDateUtil']=a0_0x24985a;const a0_0x4197a3={};a0_0x4197a3['value']='mdateutil',a0_0x4197a3['writable']=![],a0_0x4197a3['enumerable']=!![],a0_0x4197a3['configurable']=![],Object['defineProperty'](a0_0x24985a['prototype'],'idkey',a0_0x4197a3);
1
+ 'use strict';const a0_0x4883c2={};a0_0x4883c2['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x4883c2),exports['MDateUtil']=void 0x0;const a0_0x2eb185=(_0x248d02,_0x224de3=0x2)=>_0x248d02['toString']()['padStart'](_0x224de3,'0');function a0_0x477ffc(_0x3cf5ff,_0x2e2e97){try{return _0x3cf5ff();}catch(_0x3c571d){if(_0x2e2e97)return _0x2e2e97;throw new Error('UNKNOWN');}}function a0_0x38a7da(_0x29db0a){try{if(_0x29db0a instanceof Date)return _0x29db0a['getTime']();if(typeof _0x29db0a==='number')return _0x29db0a;if(typeof _0x29db0a==='string')return new Date(_0x29db0a)['getTime']();if(_0x29db0a instanceof a0_0x5ccb12)return _0x29db0a['toTime']();if(_0x29db0a['idkey']==='mdateutil')return _0x29db0a['toTime']();return 0x0;}catch(_0x1b0a42){throw new Error('ERROR');}}function a0_0x6b24b2(_0x4be8e2,_0x40e4c6,_0x398cb3,_0x5edfde){const _0x554ad2=a0_0x38a7da(_0x4be8e2),_0x5f199e=a0_0x38a7da(_0x40e4c6),_0x37ddff=a0_0x38a7da(_0x398cb3),_0x46b24f=a0_0x38a7da(_0x5edfde);return _0x37ddff<=_0x554ad2&&_0x46b24f>=_0x554ad2&&_0x46b24f<=_0x5f199e||_0x37ddff>=_0x554ad2&&_0x37ddff<=_0x5f199e&&_0x46b24f>=_0x5f199e||_0x37ddff>=_0x554ad2&&_0x37ddff<=_0x5f199e&&_0x46b24f<=_0x5f199e||_0x37ddff<=_0x554ad2&&_0x46b24f>=_0x5f199e;}function a0_0x4072e0(_0xc44144){let _0x558649=0x0,_0x45f2bf=0x0,_0x1f1f2e=0x0;const _0x5b2c05=a0_0x5ccb12['new']()['startOfDay']();try{const _0x4c8727=(_0xc44144||'')['replace'](/[^0-9:]+/g,'')['split'](':');_0x558649=Number(_0x4c8727['length']>=0x1?_0x4c8727[0x0]:0x0),_0x45f2bf=Number(_0x4c8727['length']>=0x2?_0x4c8727[0x0]:0x0),_0x1f1f2e=Number(_0x4c8727['length']>=0x3?_0x4c8727[0x0]:0x0);}catch(_0x1608e8){}return _0x5b2c05['setHour'](_0x558649),_0x5b2c05['setMin'](_0x45f2bf),_0x5b2c05['setSeconds'](_0x1f1f2e),{'hh':_0x5b2c05['hours'](),'mm':_0x5b2c05['min'](),'ss':_0x5b2c05['sec']()};}class a0_0x5ccb12{['val']=new Date();static ['glCode']=undefined;['code']=undefined;get['localCode'](){return this['code'];}static['new'](){return new a0_0x5ccb12()['setCode'](a0_0x5ccb12['glCode']);}static['setCode'](_0x4b7001){return a0_0x5ccb12['glCode']=_0x4b7001,this;}static['seperator'](){return new Date()['toLocaleDateString'](a0_0x5ccb12['glCode'])['replace'](/\d/g,'')['split']('')[0x0];}['cpy'](){return a0_0x5ccb12['new']()['setTime'](this['toTime']());}['setCode'](_0x54ee13){return this['code']=_0x54ee13,this;}['seperator'](){return new Date()['toLocaleDateString'](this['code'])['replace'](/\d/g,'')['split']('')[0x0];}['zone'](){return a0_0x477ffc(()=>{return Intl['DateTimeFormat']()?.['resolvedOptions']()?.['timeZone'];},null);}['zones'](_0x5d3e78=this['code']){return a0_0x477ffc(()=>{return new Intl['Locale'](_0x5d3e78)?.['timeZones']||[];},null);}['region'](_0x4824ba=this['code']){return a0_0x477ffc(()=>{return new Intl['Locale'](_0x4824ba)['region'];},null);}['year'](){return this['val']['getFullYear']();}['month'](){return this['val']['getMonth']()+0x1;}['monthUtc'](){return this['val']['getMonth']();}['day'](){return this['val']['getDate']();}['hours'](){return this['val']['getHours']();}['min'](){return this['val']['getMinutes']();}['sec'](){return this['val']['getSeconds']();}['dayOfWeek'](){const _0x22a0c7=this['val']['getDay']();return _0x22a0c7?_0x22a0c7:0x7;}['dayOfWeekUtc'](){return this['val']['getDay']();}['setYear'](_0x83ead6){return this['val']['setFullYear'](_0x83ead6),this;}['setMonth'](_0x319251){return this['val']['setMonth'](_0x319251-0x1),this;}['setMonthUtc'](_0x40fd46){return this['val']['setMonth'](_0x40fd46),this;}['setDay'](_0x52ba78){return this['val']['setDate'](_0x52ba78),this;}['setHour'](_0x3abdb7){return this['val']['setHours'](_0x3abdb7),this;}['startOfHours'](){return this['setHour'](0x0),this['setMin'](0x0),this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfHours'](){return this['setHour'](0x17),this['setMin'](0x3b),this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setMin'](_0x30a8de){return this['val']['setMinutes'](_0x30a8de),this;}['startOfMin'](){return this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfMin'](){return this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setSeconds'](_0x54d5c6){return this['val']['setSeconds'](_0x54d5c6),this;}['startOfSeconds'](){return this['setMilliseconds'](0x0),this;}['endOfSeconds'](){return this['setMilliseconds'](0x3e7),this;}['setMilliseconds'](_0x28bdfd){return this['val']['setMilliseconds'](_0x28bdfd),this;}['startOfMilliseconds'](){return this['setMilliseconds'](0x0),this;}['endOfMilliseconds'](){return this['setMilliseconds'](0x3e7),this;}['setIsoDate'](_0x3c2587){return this['val']=new Date(_0x3c2587),this;}['setTime'](_0x5d5b0b){return this['val']=new Date(_0x5d5b0b),this;}['setDate'](_0x442210){return this['val']=new Date(_0x442210),this;}['setDateInputValue'](_0x1526c8){return this['val']=new Date(_0x1526c8?.['replace']('T','\x20')),this;}['setVal'](_0x4b4f1d){return a0_0x477ffc(()=>{return a0_0x5ccb12['new']()['setTime'](a0_0x38a7da(_0x4b4f1d));});}['toIsoDate'](){return this['val']['toISOString']();}['toTime'](){return this['val']['getTime']();}['toDate'](){return this['val'];}['toDateMounthInput'](){return this['year']()+'-'+a0_0x2eb185(this['month']());}['toDateInput'](){return this['year']()+'-'+a0_0x2eb185(this['month']())+'-'+a0_0x2eb185(this['day']());}['toTimeInput'](_0x2655ad=!![]){const _0x27d904=[];return _0x27d904['push'](a0_0x2eb185(this['hours']())),_0x27d904['push'](a0_0x2eb185(this['min']())),_0x2655ad&&_0x27d904['push'](a0_0x2eb185(this['sec']())),_0x27d904['join'](':');}['toDateTimeInput'](_0x4de98c=!![]){return this['toDateInput']()+'T'+this['toTimeInput'](_0x4de98c);}['strDate'](){const _0x117522={};return _0x117522['month']='2-digit',_0x117522['day']='2-digit',_0x117522['year']='numeric',this['val']['toLocaleDateString'](this['code'],_0x117522);}['strDateLocal'](_0x41660d){return this['val']['toLocaleDateString'](this['code'],_0x41660d);}['strTime'](){return a0_0x2eb185(this['hours']())+':'+a0_0x2eb185(this['min']())+':'+a0_0x2eb185(this['sec']());}['strTimeLocale'](_0x2548bb){return this['val']['toLocaleTimeString'](this['code'],_0x2548bb);}['strHHmm'](){return a0_0x2eb185(this['hours']())+':'+a0_0x2eb185(this['min']());}['str'](){return this['strDate']()+'\x20'+this['strTime']();}['strLocal'](_0x20a42e){return this['val']['toLocaleString'](this['code'],_0x20a42e);}['addDay'](_0x4fdff6){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0x4fdff6*0x18)),this;}['addHours'](_0xe7c9b4){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0xe7c9b4)),this;}['addMins'](_0x2a1c6a){return this['val']=new Date(this['val']['setMinutes'](this['val']['getMinutes']()+_0x2a1c6a)),this;}['startOfDay'](){return this['startOfHours'](),this;}['cpyByStartOfDay'](){return this['cpy']()['startOfDay']();}['endOfDay'](){return this['endOfHours'](),this;}['cpyByEndOfDay'](){return this['cpy']()['endOfDay']();}['startOfWeek'](){return this['addDay'](-this['dayOfWeek']()+0x1);}['cpyStartOfWeek'](){return this['cpy']()['addDay'](-this['dayOfWeek']()+0x1);}['endOfWeek'](){return this['startOfWeek']()['addDay'](0x6);}['cpyEndOfWeek'](){return this['cpyStartOfWeek']()['addDay'](0x6);}['startOfMonth'](){return this['setDay'](0x1),this['startOfDay'](),this;}['cpyByStartOfMonth'](){return this['cpy']()['startOfMonth']();}['endOfMonth'](){return this['setDate'](this['val'])['startOfMonth']()['setMonth'](this['month']()+0x1)['startOfMonth']()['addDay'](-0x1)['endOfDay'](),this;}['cpyByEndOfMonth'](){return this['cpy']()['endOfMonth']();}['eq'](_0x6edbcb){return a0_0x477ffc(()=>{return this['cpy']()['toTime']()===a0_0x38a7da(_0x6edbcb);});}['gt'](_0x32e4a6){return a0_0x477ffc(()=>{return this['cpy']()['toTime']()>a0_0x38a7da(_0x32e4a6);});}['gte'](_0x2dd22e){return a0_0x477ffc(()=>{return this['cpy']()['toTime']()>=a0_0x38a7da(_0x2dd22e);});}['lt'](_0x31c6c0){return a0_0x477ffc(()=>{return this['cpy']()['toTime']()<a0_0x38a7da(_0x31c6c0);});}['lte'](_0x59c961){return a0_0x477ffc(()=>{return this['cpy']()['toTime']()<=a0_0x38a7da(_0x59c961);});}['btw'](_0x2b10ee,_0x593fb6){return a0_0x477ffc(()=>{const _0x170a7b=a0_0x38a7da(_0x2b10ee),_0x5db420=a0_0x38a7da(_0x593fb6),_0x4031a0=this['cpy']()['toTime']();return _0x170a7b<_0x4031a0&&_0x4031a0<_0x5db420;});}['btweq'](_0x31cd69,_0x5c18b3){return a0_0x477ffc(()=>{const _0x649563=a0_0x38a7da(_0x31cd69),_0x2f3353=a0_0x38a7da(_0x5c18b3),_0x29cf37=this['cpy']()['toTime']();return _0x649563<=_0x29cf37&&_0x29cf37<=_0x2f3353;});}['btwEqStart'](_0x369359,_0x349cf0){return a0_0x477ffc(()=>{const _0x4aca9e=a0_0x38a7da(_0x369359),_0x38221e=a0_0x38a7da(_0x349cf0),_0x2ac6ec=this['cpy']()['toTime']();return _0x4aca9e<=_0x2ac6ec&&_0x2ac6ec<_0x38221e;});}['btwEqEnd'](_0x4accbc,_0x19f150){return a0_0x477ffc(()=>{const _0x443da1=a0_0x38a7da(_0x4accbc),_0x1a8ba6=a0_0x38a7da(_0x19f150),_0x91a2b2=this['cpy']()['toTime']();return _0x443da1<_0x91a2b2&&_0x91a2b2<=_0x1a8ba6;});}static['diffDays'](_0x27cdd8,_0x3ce56a,_0x2c0a60){return a0_0x477ffc(()=>{const _0x263d11=a0_0x38a7da(_0x27cdd8),_0x1893ac=a0_0x38a7da(_0x3ce56a);return _0x2c0a60?Math['abs'](_0x263d11-_0x1893ac)/0x36ee80/0x18:(_0x263d11-_0x1893ac)/0x36ee80/0x18;});}static['diffHours'](_0x54b4d0,_0x366fa5,_0x357cc9){return a0_0x477ffc(()=>{const _0x2dbab7=a0_0x38a7da(_0x54b4d0),_0x3dc94e=a0_0x38a7da(_0x366fa5);return _0x357cc9?Math['abs'](_0x2dbab7-_0x3dc94e)/0x36ee80:(_0x2dbab7-_0x3dc94e)/0x36ee80;});}static['diffMins'](_0x28274b,_0x5495b8,_0x4d762d){return a0_0x477ffc(()=>{const _0xfdf71b=a0_0x38a7da(_0x28274b),_0x5582bc=a0_0x38a7da(_0x5495b8);return _0x4d762d?Math['abs'](_0xfdf71b-_0x5582bc)/0x3e8/0x3c:(_0xfdf71b-_0x5582bc)/0x3e8/0x3c;});}static['diffSecs'](_0x3f6da8,_0x390dfa,_0x3b39ef){return a0_0x477ffc(()=>{const _0x5c3546=a0_0x38a7da(_0x3f6da8),_0x19f364=a0_0x38a7da(_0x390dfa);return _0x3b39ef?Math['abs'](_0x5c3546-_0x19f364)/0x3e8:(_0x5c3546-_0x19f364)/0x3e8;});}static['s1'](_0x19c418,_0x268f74,_0x410752,_0x36ba0b){return a0_0x477ffc(()=>a0_0x6b24b2(_0x19c418,_0x268f74,_0x410752,_0x36ba0b));}static['sperateTime'](_0xa3ea1b){return a0_0x477ffc(()=>a0_0x4072e0(_0xa3ea1b));}}exports['MDateUtil']=a0_0x5ccb12;const a0_0x5d1276={};a0_0x5d1276['value']='mdateutil',a0_0x5d1276['writable']=![],a0_0x5d1276['enumerable']=!![],a0_0x5d1276['configurable']=![],Object['defineProperty'](a0_0x5ccb12['prototype'],'idkey',a0_0x5d1276);
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a0_0x17fe06=this&&this['__createBinding']||(Object['create']?function(_0x3f494c,_0x5f1e9f,_0x13e276,_0x3161c5){if(_0x3161c5===undefined)_0x3161c5=_0x13e276;var _0x38f6a4=Object['getOwnPropertyDescriptor'](_0x5f1e9f,_0x13e276);if(!_0x38f6a4||('get'in _0x38f6a4?!_0x5f1e9f['__esModule']:_0x38f6a4['writable']||_0x38f6a4['configurable'])){var _0x5dea9a={};_0x5dea9a['enumerable']=!![],_0x5dea9a['get']=function(){return _0x5f1e9f[_0x13e276];},_0x38f6a4=_0x5dea9a;}Object['defineProperty'](_0x3f494c,_0x3161c5,_0x38f6a4);}:function(_0x308dd0,_0x18f4c6,_0x3ecf9e,_0xba6ded){if(_0xba6ded===undefined)_0xba6ded=_0x3ecf9e;_0x308dd0[_0xba6ded]=_0x18f4c6[_0x3ecf9e];}),a0_0x387eeb=this&&this['__exportStar']||function(_0x316c89,_0x14b721){for(var _0x4f63d2 in _0x316c89)if(_0x4f63d2!=='default'&&!Object['prototype']['hasOwnProperty']['call'](_0x14b721,_0x4f63d2))a0_0x17fe06(_0x14b721,_0x316c89,_0x4f63d2);},a0_0x32fb71={};a0_0x32fb71['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x32fb71),a0_0x387eeb(require('./DateUtil'),exports);
1
+ 'use strict';var a0_0x3f9218=this&&this['__createBinding']||(Object['create']?function(_0x2b2a9b,_0x381e5f,_0x48274b,_0x41103d){if(_0x41103d===undefined)_0x41103d=_0x48274b;var _0x37bd0a=Object['getOwnPropertyDescriptor'](_0x381e5f,_0x48274b);if(!_0x37bd0a||('get'in _0x37bd0a?!_0x381e5f['__esModule']:_0x37bd0a['writable']||_0x37bd0a['configurable'])){var _0x1e495c={};_0x1e495c['enumerable']=!![],_0x1e495c['get']=function(){return _0x381e5f[_0x48274b];},_0x37bd0a=_0x1e495c;}Object['defineProperty'](_0x2b2a9b,_0x41103d,_0x37bd0a);}:function(_0x737f28,_0x8aaf1f,_0x5a9eb3,_0x3d9914){if(_0x3d9914===undefined)_0x3d9914=_0x5a9eb3;_0x737f28[_0x3d9914]=_0x8aaf1f[_0x5a9eb3];}),a0_0x6dbcba=this&&this['__exportStar']||function(_0x181fb4,_0x3dfcce){for(var _0x1d6230 in _0x181fb4)if(_0x1d6230!=='default'&&!Object['prototype']['hasOwnProperty']['call'](_0x3dfcce,_0x1d6230))a0_0x3f9218(_0x3dfcce,_0x181fb4,_0x1d6230);},a0_0x8ab5f={};a0_0x8ab5f['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x8ab5f),a0_0x6dbcba(require('./DateUtil'),exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mat-date",
3
- "version": "1.7.31",
3
+ "version": "1.7.35",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",