mat-date 1.7.25 → 1.7.29

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.
@@ -99,5 +99,6 @@ export declare class MDateUtil {
99
99
  static diffHours(before: MDateUtil | Date | number | string, after: MDateUtil | Date | number | string, abs?: boolean): number;
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
+ static s1(m1: MDateUtil | Date | number | string, m2: MDateUtil | Date | number | string, t1: MDateUtil | Date | number | string, t2: MDateUtil | Date | number | string): boolean;
102
103
  }
103
104
  export {};
package/dist/DateUtil.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const a0_0x3652b6={};a0_0x3652b6['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x3652b6),exports['MDateUtil']=void 0x0;const a0_0x5e2861=(_0x380fa4,_0x5a0c14=0x2)=>_0x380fa4['toString']()['padStart'](_0x5a0c14,'0');function a0_0x2da7d2(_0xe25644,_0x4aeef6){try{return _0xe25644();}catch(_0x301b9d){if(_0x4aeef6)return _0x4aeef6;throw new Error('UNKNOWN');}}function a0_0x7d56ac(_0x43dd15){try{if(_0x43dd15 instanceof a0_0x132d40)return _0x43dd15['toTime']();if(_0x43dd15 instanceof Date)return _0x43dd15['getTime']();if(typeof _0x43dd15==='number')return _0x43dd15;if(typeof _0x43dd15==='string')return new Date(_0x43dd15)['getTime']();return 0x0;}catch(_0x454b00){throw new Error('ERROR');}}class a0_0x132d40{['val']=new Date();static ['glCode']=undefined;['code']=undefined;get['localCode'](){return this['code'];}static['new'](){return new a0_0x132d40()['setCode'](a0_0x132d40['glCode']);}static['setCode'](_0x4f3ad0){return a0_0x132d40['glCode']=_0x4f3ad0,this;}static['seperator'](){return new Date()['toLocaleDateString'](a0_0x132d40['glCode'])['replace'](/\d/g,'')['split']('')[0x0];}['cpy'](){return a0_0x132d40['new']()['setTime'](this['toTime']());}['setCode'](_0x2b3ab0){return this['code']=_0x2b3ab0,this;}['seperator'](){return new Date()['toLocaleDateString'](this['code'])['replace'](/\d/g,'')['split']('')[0x0];}['zone'](){return a0_0x2da7d2(()=>{return Intl['DateTimeFormat']()?.['resolvedOptions']()?.['timeZone'];},null);}['zones'](_0x15fbbc=this['code']){return a0_0x2da7d2(()=>{return new Intl['Locale'](_0x15fbbc)?.['timeZones']||[];},null);}['region'](_0x2376bd=this['code']){return a0_0x2da7d2(()=>{return new Intl['Locale'](_0x2376bd)['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 _0x3780cf=this['val']['getDay']();return _0x3780cf?_0x3780cf:0x7;}['dayOfWeekUtc'](){return this['val']['getDay']();}['setYear'](_0x45ac1a){return this['val']['setFullYear'](_0x45ac1a),this;}['setMonth'](_0x172572){return this['val']['setMonth'](_0x172572-0x1),this;}['setMonthUtc'](_0x4ad8c9){return this['val']['setMonth'](_0x4ad8c9),this;}['setDay'](_0xdf1bbd){return this['val']['setDate'](_0xdf1bbd),this;}['setHour'](_0x52b786){return this['val']['setHours'](_0x52b786),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'](_0x54bd74){return this['val']['setMinutes'](_0x54bd74),this;}['startOfMin'](){return this['setMin'](0x0),this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfMin'](){return this['setMin'](0x3b),this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setSeconds'](_0x1d8797){return this['val']['setSeconds'](_0x1d8797),this;}['startOfSeconds'](){return this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfSeconds'](){return this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setMilliseconds'](_0xbf767e){return this['val']['setMilliseconds'](_0xbf767e),this;}['startOfMilliseconds'](){return this['setMilliseconds'](0x0),this;}['endOfMilliseconds'](){return this['setMilliseconds'](0x3e7),this;}['setIsoDate'](_0x3ec673){return this['val']=new Date(_0x3ec673),this;}['setTime'](_0x487a83){return this['val']=new Date(_0x487a83),this;}['setDate'](_0x5d4f5b){return this['val']=new Date(_0x5d4f5b),this;}['setDateInputValue'](_0x4c9de2){return this['val']=new Date(_0x4c9de2?.['replace']('T','\x20')),this;}['setVal'](_0x39ab2d){return a0_0x2da7d2(()=>{return a0_0x132d40['new']()['setTime'](a0_0x7d56ac(_0x39ab2d));});}['toIsoDate'](){return this['val']['toISOString']();}['toTime'](){return this['val']['getTime']();}['toDate'](){return this['val'];}['toDateMounthInput'](){return this['year']()+'-'+a0_0x5e2861(this['month']());}['toDateInput'](){return this['year']()+'-'+a0_0x5e2861(this['month']())+'-'+a0_0x5e2861(this['day']());}['toTimeInput'](_0xcbfb=!![]){const _0x1e7af2=[];return _0x1e7af2['push'](a0_0x5e2861(this['hours']())),_0x1e7af2['push'](a0_0x5e2861(this['min']())),_0xcbfb&&_0x1e7af2['push'](a0_0x5e2861(this['sec']())),_0x1e7af2['join'](':');}['toDateTimeInput'](_0x52c3a9=!![]){return this['toDateInput']()+'T'+this['toTimeInput'](_0x52c3a9);}['strDate'](){const _0x2e5e8b={};return _0x2e5e8b['month']='2-digit',_0x2e5e8b['day']='2-digit',_0x2e5e8b['year']='numeric',this['val']['toLocaleDateString'](this['code'],_0x2e5e8b);}['strDateLocal'](_0x16563f){return this['val']['toLocaleDateString'](this['code'],_0x16563f);}['strTime'](){return a0_0x5e2861(this['hours']())+':'+a0_0x5e2861(this['min']())+':'+a0_0x5e2861(this['sec']());}['strTimeLocale'](_0x15e8ef){return this['val']['toLocaleTimeString'](this['code'],_0x15e8ef);}['strHHmm'](){return a0_0x5e2861(this['hours']())+':'+a0_0x5e2861(this['min']());}['str'](){return this['strDate']()+'\x20'+this['strTime']();}['strLocal'](_0x4f4d4e){return this['val']['toLocaleString'](this['code'],_0x4f4d4e);}['addDay'](_0x21e932){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0x21e932*0x18)),this;}['addHours'](_0x28dd07){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0x28dd07)),this;}['addMins'](_0x4c7835){return this['val']=new Date(this['val']['setMinutes'](this['val']['getMinutes']()+_0x4c7835)),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'](_0x2060dc){return a0_0x2da7d2(()=>{return this['cpy']()['toTime']()===a0_0x7d56ac(_0x2060dc);});}['gt'](_0x34bbd6){return a0_0x2da7d2(()=>{return this['cpy']()['toTime']()>a0_0x7d56ac(_0x34bbd6);});}['gte'](_0x52af7c){return a0_0x2da7d2(()=>{return this['cpy']()['toTime']()>=a0_0x7d56ac(_0x52af7c);});}['lt'](_0x200bb0){return a0_0x2da7d2(()=>{return this['cpy']()['toTime']()<a0_0x7d56ac(_0x200bb0);});}['lte'](_0x3b2665){return a0_0x2da7d2(()=>{return this['cpy']()['toTime']()<=a0_0x7d56ac(_0x3b2665);});}['btw'](_0x1b3d46,_0x582f29){return a0_0x2da7d2(()=>{const _0x491e4e=a0_0x7d56ac(_0x1b3d46),_0x274770=a0_0x7d56ac(_0x582f29),_0x50aa21=this['cpy']()['toTime']();return _0x491e4e<_0x50aa21&&_0x50aa21<_0x274770;});}['btweq'](_0x3ef9c4,_0x24cc77){return a0_0x2da7d2(()=>{const _0xfc4831=a0_0x7d56ac(_0x3ef9c4),_0x4a7ec7=a0_0x7d56ac(_0x24cc77),_0x41976b=this['cpy']()['toTime']();return _0xfc4831<=_0x41976b&&_0x41976b<=_0x4a7ec7;});}['btwEqStart'](_0x20e20d,_0x746e20){return a0_0x2da7d2(()=>{const _0x33942a=a0_0x7d56ac(_0x20e20d),_0x4510b4=a0_0x7d56ac(_0x746e20),_0x5279a8=this['cpy']()['toTime']();return _0x33942a<=_0x5279a8&&_0x5279a8<_0x4510b4;});}['btwEqEnd'](_0x2ab326,_0xce1949){return a0_0x2da7d2(()=>{const _0x274080=a0_0x7d56ac(_0x2ab326),_0x415c17=a0_0x7d56ac(_0xce1949),_0x15569f=this['cpy']()['toTime']();return _0x274080<_0x15569f&&_0x15569f<=_0x415c17;});}static['diffDays'](_0x1be6d7,_0x519da8,_0x48466b){return a0_0x2da7d2(()=>{const _0x319270=a0_0x7d56ac(_0x1be6d7),_0x5e3b17=a0_0x7d56ac(_0x519da8);return _0x48466b?Math['abs'](_0x319270-_0x5e3b17)/0x36ee80/0x18:(_0x319270-_0x5e3b17)/0x36ee80/0x18;});}static['diffHours'](_0x51c6e2,_0x49ed27,_0x1b51e8){return a0_0x2da7d2(()=>{const _0x5c58eb=a0_0x7d56ac(_0x51c6e2),_0x479e0d=a0_0x7d56ac(_0x49ed27);return _0x1b51e8?Math['abs'](_0x5c58eb-_0x479e0d)/0x36ee80:(_0x5c58eb-_0x479e0d)/0x36ee80;});}static['diffMins'](_0x389a6b,_0x15a909,_0x8b9772){return a0_0x2da7d2(()=>{const _0x52b244=a0_0x7d56ac(_0x389a6b),_0x3cae28=a0_0x7d56ac(_0x15a909);return _0x8b9772?Math['abs'](_0x52b244-_0x3cae28)/0x3e8/0x3c:(_0x52b244-_0x3cae28)/0x3e8/0x3c;});}static['diffSecs'](_0x3ec753,_0x45d4dd,_0x2db3f3){return a0_0x2da7d2(()=>{const _0x421a49=a0_0x7d56ac(_0x3ec753),_0x2f3fc5=a0_0x7d56ac(_0x45d4dd);return _0x2db3f3?Math['abs'](_0x421a49-_0x2f3fc5)/0x3e8:(_0x421a49-_0x2f3fc5)/0x3e8;});}}exports['MDateUtil']=a0_0x132d40;
1
+ 'use strict';const a0_0x57e0d9={};a0_0x57e0d9['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x57e0d9),exports['MDateUtil']=void 0x0;const a0_0x69e21e=(_0x1afc3b,_0x417895=0x2)=>_0x1afc3b['toString']()['padStart'](_0x417895,'0');function a0_0x1709bf(_0x24a1b9,_0xaec5e1){try{return _0x24a1b9();}catch(_0x4df9d3){if(_0xaec5e1)return _0xaec5e1;throw new Error('UNKNOWN');}}function a0_0x239775(_0x3a00d1){try{if(_0x3a00d1 instanceof Date)return _0x3a00d1['getTime']();if(typeof _0x3a00d1==='number')return _0x3a00d1;if(typeof _0x3a00d1==='string')return new Date(_0x3a00d1)['getTime']();if(_0x3a00d1 instanceof a0_0x5e20cf)return _0x3a00d1['toTime']();if(_0x3a00d1['idkey']==='mdateutil')return _0x3a00d1['toTime']();return 0x0;}catch(_0x473ae4){throw new Error('ERROR');}}function a0_0x206bb4(_0x479b26,_0x356003,_0x7a4e66,_0x15a545){const _0x16b59c=a0_0x239775(_0x479b26),_0x3a2b41=a0_0x239775(_0x356003),_0x5a1b0c=a0_0x239775(_0x7a4e66),_0x486e97=a0_0x239775(_0x15a545);return _0x5a1b0c<=_0x16b59c&&_0x486e97>=_0x16b59c&&_0x486e97<=_0x3a2b41||_0x5a1b0c>=_0x16b59c&&_0x5a1b0c<=_0x3a2b41&&_0x486e97>=_0x3a2b41||_0x5a1b0c>=_0x16b59c&&_0x5a1b0c<=_0x3a2b41&&_0x486e97<=_0x3a2b41||_0x5a1b0c<=_0x16b59c&&_0x486e97>=_0x3a2b41;}class a0_0x5e20cf{['val']=new Date();static ['glCode']=undefined;['code']=undefined;get['localCode'](){return this['code'];}static['new'](){return new a0_0x5e20cf()['setCode'](a0_0x5e20cf['glCode']);}static['setCode'](_0x36dd17){return a0_0x5e20cf['glCode']=_0x36dd17,this;}static['seperator'](){return new Date()['toLocaleDateString'](a0_0x5e20cf['glCode'])['replace'](/\d/g,'')['split']('')[0x0];}['cpy'](){return a0_0x5e20cf['new']()['setTime'](this['toTime']());}['setCode'](_0x52e4ee){return this['code']=_0x52e4ee,this;}['seperator'](){return new Date()['toLocaleDateString'](this['code'])['replace'](/\d/g,'')['split']('')[0x0];}['zone'](){return a0_0x1709bf(()=>{return Intl['DateTimeFormat']()?.['resolvedOptions']()?.['timeZone'];},null);}['zones'](_0x5aaa50=this['code']){return a0_0x1709bf(()=>{return new Intl['Locale'](_0x5aaa50)?.['timeZones']||[];},null);}['region'](_0x271c5c=this['code']){return a0_0x1709bf(()=>{return new Intl['Locale'](_0x271c5c)['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 _0x595e25=this['val']['getDay']();return _0x595e25?_0x595e25:0x7;}['dayOfWeekUtc'](){return this['val']['getDay']();}['setYear'](_0x5f44f0){return this['val']['setFullYear'](_0x5f44f0),this;}['setMonth'](_0x2487ec){return this['val']['setMonth'](_0x2487ec-0x1),this;}['setMonthUtc'](_0x3437b0){return this['val']['setMonth'](_0x3437b0),this;}['setDay'](_0x450861){return this['val']['setDate'](_0x450861),this;}['setHour'](_0x3868ac){return this['val']['setHours'](_0x3868ac),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'](_0x1d267e){return this['val']['setMinutes'](_0x1d267e),this;}['startOfMin'](){return this['setMin'](0x0),this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfMin'](){return this['setMin'](0x3b),this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setSeconds'](_0x22f201){return this['val']['setSeconds'](_0x22f201),this;}['startOfSeconds'](){return this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfSeconds'](){return this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setMilliseconds'](_0x552a4d){return this['val']['setMilliseconds'](_0x552a4d),this;}['startOfMilliseconds'](){return this['setMilliseconds'](0x0),this;}['endOfMilliseconds'](){return this['setMilliseconds'](0x3e7),this;}['setIsoDate'](_0x14a131){return this['val']=new Date(_0x14a131),this;}['setTime'](_0x545c24){return this['val']=new Date(_0x545c24),this;}['setDate'](_0x49c5a9){return this['val']=new Date(_0x49c5a9),this;}['setDateInputValue'](_0x5da12f){return this['val']=new Date(_0x5da12f?.['replace']('T','\x20')),this;}['setVal'](_0x439da){return a0_0x1709bf(()=>{return a0_0x5e20cf['new']()['setTime'](a0_0x239775(_0x439da));});}['toIsoDate'](){return this['val']['toISOString']();}['toTime'](){return this['val']['getTime']();}['toDate'](){return this['val'];}['toDateMounthInput'](){return this['year']()+'-'+a0_0x69e21e(this['month']());}['toDateInput'](){return this['year']()+'-'+a0_0x69e21e(this['month']())+'-'+a0_0x69e21e(this['day']());}['toTimeInput'](_0x489729=!![]){const _0x397b02=[];return _0x397b02['push'](a0_0x69e21e(this['hours']())),_0x397b02['push'](a0_0x69e21e(this['min']())),_0x489729&&_0x397b02['push'](a0_0x69e21e(this['sec']())),_0x397b02['join'](':');}['toDateTimeInput'](_0x1af42d=!![]){return this['toDateInput']()+'T'+this['toTimeInput'](_0x1af42d);}['strDate'](){const _0x29616f={};return _0x29616f['month']='2-digit',_0x29616f['day']='2-digit',_0x29616f['year']='numeric',this['val']['toLocaleDateString'](this['code'],_0x29616f);}['strDateLocal'](_0x488372){return this['val']['toLocaleDateString'](this['code'],_0x488372);}['strTime'](){return a0_0x69e21e(this['hours']())+':'+a0_0x69e21e(this['min']())+':'+a0_0x69e21e(this['sec']());}['strTimeLocale'](_0x42c213){return this['val']['toLocaleTimeString'](this['code'],_0x42c213);}['strHHmm'](){return a0_0x69e21e(this['hours']())+':'+a0_0x69e21e(this['min']());}['str'](){return this['strDate']()+'\x20'+this['strTime']();}['strLocal'](_0x3a419e){return this['val']['toLocaleString'](this['code'],_0x3a419e);}['addDay'](_0x3eb337){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0x3eb337*0x18)),this;}['addHours'](_0x28d22a){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0x28d22a)),this;}['addMins'](_0x5237c2){return this['val']=new Date(this['val']['setMinutes'](this['val']['getMinutes']()+_0x5237c2)),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'](_0x17bdd9){return a0_0x1709bf(()=>{return this['cpy']()['toTime']()===a0_0x239775(_0x17bdd9);});}['gt'](_0x2cd074){return a0_0x1709bf(()=>{return this['cpy']()['toTime']()>a0_0x239775(_0x2cd074);});}['gte'](_0x2cf7a4){return a0_0x1709bf(()=>{return this['cpy']()['toTime']()>=a0_0x239775(_0x2cf7a4);});}['lt'](_0x1bb84f){return a0_0x1709bf(()=>{return this['cpy']()['toTime']()<a0_0x239775(_0x1bb84f);});}['lte'](_0x6d74ab){return a0_0x1709bf(()=>{return this['cpy']()['toTime']()<=a0_0x239775(_0x6d74ab);});}['btw'](_0x2b98cf,_0x418738){return a0_0x1709bf(()=>{const _0x4d25f0=a0_0x239775(_0x2b98cf),_0x4bb424=a0_0x239775(_0x418738),_0x263447=this['cpy']()['toTime']();return _0x4d25f0<_0x263447&&_0x263447<_0x4bb424;});}['btweq'](_0x5cfb6d,_0x5777de){return a0_0x1709bf(()=>{const _0x3fd9af=a0_0x239775(_0x5cfb6d),_0x3967f4=a0_0x239775(_0x5777de),_0x28d4ba=this['cpy']()['toTime']();return _0x3fd9af<=_0x28d4ba&&_0x28d4ba<=_0x3967f4;});}['btwEqStart'](_0xd4e676,_0x512668){return a0_0x1709bf(()=>{const _0x3eff61=a0_0x239775(_0xd4e676),_0x261279=a0_0x239775(_0x512668),_0x236a40=this['cpy']()['toTime']();return _0x3eff61<=_0x236a40&&_0x236a40<_0x261279;});}['btwEqEnd'](_0x51f16f,_0x2fa61b){return a0_0x1709bf(()=>{const _0x25c80d=a0_0x239775(_0x51f16f),_0x572c6f=a0_0x239775(_0x2fa61b),_0x346fdf=this['cpy']()['toTime']();return _0x25c80d<_0x346fdf&&_0x346fdf<=_0x572c6f;});}static['diffDays'](_0x2f4954,_0x3ee917,_0x445f5f){return a0_0x1709bf(()=>{const _0x2d3c07=a0_0x239775(_0x2f4954),_0x4da516=a0_0x239775(_0x3ee917);return _0x445f5f?Math['abs'](_0x2d3c07-_0x4da516)/0x36ee80/0x18:(_0x2d3c07-_0x4da516)/0x36ee80/0x18;});}static['diffHours'](_0x1a7c67,_0x744b1a,_0x5f426b){return a0_0x1709bf(()=>{const _0x5c18ba=a0_0x239775(_0x1a7c67),_0x204d6e=a0_0x239775(_0x744b1a);return _0x5f426b?Math['abs'](_0x5c18ba-_0x204d6e)/0x36ee80:(_0x5c18ba-_0x204d6e)/0x36ee80;});}static['diffMins'](_0x3cc131,_0x17f2a3,_0x14458b){return a0_0x1709bf(()=>{const _0x5c5ce7=a0_0x239775(_0x3cc131),_0x2922dc=a0_0x239775(_0x17f2a3);return _0x14458b?Math['abs'](_0x5c5ce7-_0x2922dc)/0x3e8/0x3c:(_0x5c5ce7-_0x2922dc)/0x3e8/0x3c;});}static['diffSecs'](_0xed204e,_0x24f315,_0x29f4ab){return a0_0x1709bf(()=>{const _0x3dacd3=a0_0x239775(_0xed204e),_0x9e3abc=a0_0x239775(_0x24f315);return _0x29f4ab?Math['abs'](_0x3dacd3-_0x9e3abc)/0x3e8:(_0x3dacd3-_0x9e3abc)/0x3e8;});}static['s1'](_0x5d518a,_0x798275,_0x57ceda,_0xd81d5a){return a0_0x1709bf(()=>a0_0x206bb4(_0x5d518a,_0x798275,_0x57ceda,_0xd81d5a));}}exports['MDateUtil']=a0_0x5e20cf;const a0_0x133c0b={};a0_0x133c0b['value']='mdateutil',a0_0x133c0b['writable']=![],a0_0x133c0b['enumerable']=!![],a0_0x133c0b['configurable']=![],Object['defineProperty'](a0_0x5e20cf['prototype'],'idkey',a0_0x133c0b);
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';var a0_0x54bb2e=this&&this['__createBinding']||(Object['create']?function(_0x44f5b0,_0x27cb18,_0x2addf0,_0x5091a4){if(_0x5091a4===undefined)_0x5091a4=_0x2addf0;var _0x3bd0ab=Object['getOwnPropertyDescriptor'](_0x27cb18,_0x2addf0);if(!_0x3bd0ab||('get'in _0x3bd0ab?!_0x27cb18['__esModule']:_0x3bd0ab['writable']||_0x3bd0ab['configurable'])){var _0x21ae58={};_0x21ae58['enumerable']=!![],_0x21ae58['get']=function(){return _0x27cb18[_0x2addf0];},_0x3bd0ab=_0x21ae58;}Object['defineProperty'](_0x44f5b0,_0x5091a4,_0x3bd0ab);}:function(_0x2601ca,_0x2b7a73,_0x4cd3f8,_0x4d4153){if(_0x4d4153===undefined)_0x4d4153=_0x4cd3f8;_0x2601ca[_0x4d4153]=_0x2b7a73[_0x4cd3f8];}),a0_0x4eb49d=this&&this['__exportStar']||function(_0x163287,_0x5b1494){for(var _0x1e2357 in _0x163287)if(_0x1e2357!=='default'&&!Object['prototype']['hasOwnProperty']['call'](_0x5b1494,_0x1e2357))a0_0x54bb2e(_0x5b1494,_0x163287,_0x1e2357);},a0_0x156b92={};a0_0x156b92['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x156b92),a0_0x4eb49d(require('./DateUtil'),exports);
1
+ 'use strict';var a0_0x261fe9=this&&this['__createBinding']||(Object['create']?function(_0x5f541e,_0x39c752,_0x10bddb,_0x5a7492){if(_0x5a7492===undefined)_0x5a7492=_0x10bddb;var _0x59dfb5=Object['getOwnPropertyDescriptor'](_0x39c752,_0x10bddb);if(!_0x59dfb5||('get'in _0x59dfb5?!_0x39c752['__esModule']:_0x59dfb5['writable']||_0x59dfb5['configurable'])){var _0x3267c0={};_0x3267c0['enumerable']=!![],_0x3267c0['get']=function(){return _0x39c752[_0x10bddb];},_0x59dfb5=_0x3267c0;}Object['defineProperty'](_0x5f541e,_0x5a7492,_0x59dfb5);}:function(_0x490881,_0x800e04,_0x15135e,_0x25ac85){if(_0x25ac85===undefined)_0x25ac85=_0x15135e;_0x490881[_0x25ac85]=_0x800e04[_0x15135e];}),a0_0x8042cf=this&&this['__exportStar']||function(_0x5e4d21,_0x17f587){for(var _0x572311 in _0x5e4d21)if(_0x572311!=='default'&&!Object['prototype']['hasOwnProperty']['call'](_0x17f587,_0x572311))a0_0x261fe9(_0x17f587,_0x5e4d21,_0x572311);},a0_0x198acf={};a0_0x198acf['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x198acf),a0_0x8042cf(require('./DateUtil'),exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mat-date",
3
- "version": "1.7.25",
3
+ "version": "1.7.29",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",