mat-date 1.7.25 → 1.7.27

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_0x15ea99={};a0_0x15ea99['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x15ea99),exports['MDateUtil']=void 0x0;const a0_0x3502b0=(_0x339034,_0x9ddbb2=0x2)=>_0x339034['toString']()['padStart'](_0x9ddbb2,'0');function a0_0x6bf36e(_0x101526,_0x279889){try{return _0x101526();}catch(_0x533b2a){if(_0x279889)return _0x279889;throw new Error('UNKNOWN');}}function a0_0x3f9ae8(_0x34bae8){try{if(_0x34bae8 instanceof a0_0x3bca5b)return _0x34bae8['toTime']();if(_0x34bae8 instanceof Date)return _0x34bae8['getTime']();if(typeof _0x34bae8==='number')return _0x34bae8;if(typeof _0x34bae8==='string')return new Date(_0x34bae8)['getTime']();return 0x0;}catch(_0x425d5a){throw new Error('ERROR');}}function a0_0x5645e4(_0x6cda00,_0x5a7436,_0x3b3f76,_0x3d2daf){const _0xbcd20d=a0_0x3f9ae8(_0x6cda00),_0x5694a6=a0_0x3f9ae8(_0x5a7436),_0x5cca7f=a0_0x3f9ae8(_0x3b3f76),_0x1a9168=a0_0x3f9ae8(_0x3d2daf);return _0x5cca7f<=_0xbcd20d&&_0x1a9168>=_0x5694a6||_0x5cca7f<=_0xbcd20d&&_0x1a9168<=_0x5694a6||_0x5cca7f<=_0x5694a6&&_0x1a9168>=_0x5694a6||_0x5cca7f>=_0xbcd20d&&_0x1a9168<=_0x5694a6;}class a0_0x3bca5b{['val']=new Date();static ['glCode']=undefined;['code']=undefined;get['localCode'](){return this['code'];}static['new'](){return new a0_0x3bca5b()['setCode'](a0_0x3bca5b['glCode']);}static['setCode'](_0x5eb4ea){return a0_0x3bca5b['glCode']=_0x5eb4ea,this;}static['seperator'](){return new Date()['toLocaleDateString'](a0_0x3bca5b['glCode'])['replace'](/\d/g,'')['split']('')[0x0];}['cpy'](){return a0_0x3bca5b['new']()['setTime'](this['toTime']());}['setCode'](_0x3c0212){return this['code']=_0x3c0212,this;}['seperator'](){return new Date()['toLocaleDateString'](this['code'])['replace'](/\d/g,'')['split']('')[0x0];}['zone'](){return a0_0x6bf36e(()=>{return Intl['DateTimeFormat']()?.['resolvedOptions']()?.['timeZone'];},null);}['zones'](_0x5c54db=this['code']){return a0_0x6bf36e(()=>{return new Intl['Locale'](_0x5c54db)?.['timeZones']||[];},null);}['region'](_0x672ae9=this['code']){return a0_0x6bf36e(()=>{return new Intl['Locale'](_0x672ae9)['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 _0x26e97e=this['val']['getDay']();return _0x26e97e?_0x26e97e:0x7;}['dayOfWeekUtc'](){return this['val']['getDay']();}['setYear'](_0x3bab1f){return this['val']['setFullYear'](_0x3bab1f),this;}['setMonth'](_0x177591){return this['val']['setMonth'](_0x177591-0x1),this;}['setMonthUtc'](_0x51ea09){return this['val']['setMonth'](_0x51ea09),this;}['setDay'](_0x5720cb){return this['val']['setDate'](_0x5720cb),this;}['setHour'](_0xb766f6){return this['val']['setHours'](_0xb766f6),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'](_0x584628){return this['val']['setMinutes'](_0x584628),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'](_0x37bb84){return this['val']['setSeconds'](_0x37bb84),this;}['startOfSeconds'](){return this['setSeconds'](0x0),this['setMilliseconds'](0x0),this;}['endOfSeconds'](){return this['setSeconds'](0x3b),this['setMilliseconds'](0x3e7),this;}['setMilliseconds'](_0x1285a1){return this['val']['setMilliseconds'](_0x1285a1),this;}['startOfMilliseconds'](){return this['setMilliseconds'](0x0),this;}['endOfMilliseconds'](){return this['setMilliseconds'](0x3e7),this;}['setIsoDate'](_0x2aa3a4){return this['val']=new Date(_0x2aa3a4),this;}['setTime'](_0xe2997c){return this['val']=new Date(_0xe2997c),this;}['setDate'](_0x2a190b){return this['val']=new Date(_0x2a190b),this;}['setDateInputValue'](_0x5c7099){return this['val']=new Date(_0x5c7099?.['replace']('T','\x20')),this;}['setVal'](_0x350773){return a0_0x6bf36e(()=>{return a0_0x3bca5b['new']()['setTime'](a0_0x3f9ae8(_0x350773));});}['toIsoDate'](){return this['val']['toISOString']();}['toTime'](){return this['val']['getTime']();}['toDate'](){return this['val'];}['toDateMounthInput'](){return this['year']()+'-'+a0_0x3502b0(this['month']());}['toDateInput'](){return this['year']()+'-'+a0_0x3502b0(this['month']())+'-'+a0_0x3502b0(this['day']());}['toTimeInput'](_0x9a204f=!![]){const _0x789bad=[];return _0x789bad['push'](a0_0x3502b0(this['hours']())),_0x789bad['push'](a0_0x3502b0(this['min']())),_0x9a204f&&_0x789bad['push'](a0_0x3502b0(this['sec']())),_0x789bad['join'](':');}['toDateTimeInput'](_0x475649=!![]){return this['toDateInput']()+'T'+this['toTimeInput'](_0x475649);}['strDate'](){const _0x3f7c85={};return _0x3f7c85['month']='2-digit',_0x3f7c85['day']='2-digit',_0x3f7c85['year']='numeric',this['val']['toLocaleDateString'](this['code'],_0x3f7c85);}['strDateLocal'](_0xde0a10){return this['val']['toLocaleDateString'](this['code'],_0xde0a10);}['strTime'](){return a0_0x3502b0(this['hours']())+':'+a0_0x3502b0(this['min']())+':'+a0_0x3502b0(this['sec']());}['strTimeLocale'](_0x19db1f){return this['val']['toLocaleTimeString'](this['code'],_0x19db1f);}['strHHmm'](){return a0_0x3502b0(this['hours']())+':'+a0_0x3502b0(this['min']());}['str'](){return this['strDate']()+'\x20'+this['strTime']();}['strLocal'](_0xda6b67){return this['val']['toLocaleString'](this['code'],_0xda6b67);}['addDay'](_0x344a1e){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0x344a1e*0x18)),this;}['addHours'](_0x2f02ec){return this['val']=new Date(this['val']['setHours'](this['val']['getHours']()+_0x2f02ec)),this;}['addMins'](_0x578e7b){return this['val']=new Date(this['val']['setMinutes'](this['val']['getMinutes']()+_0x578e7b)),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'](_0x3b4774){return a0_0x6bf36e(()=>{return this['cpy']()['toTime']()===a0_0x3f9ae8(_0x3b4774);});}['gt'](_0x21ed2b){return a0_0x6bf36e(()=>{return this['cpy']()['toTime']()>a0_0x3f9ae8(_0x21ed2b);});}['gte'](_0x30fc7e){return a0_0x6bf36e(()=>{return this['cpy']()['toTime']()>=a0_0x3f9ae8(_0x30fc7e);});}['lt'](_0x1d3125){return a0_0x6bf36e(()=>{return this['cpy']()['toTime']()<a0_0x3f9ae8(_0x1d3125);});}['lte'](_0x51a6df){return a0_0x6bf36e(()=>{return this['cpy']()['toTime']()<=a0_0x3f9ae8(_0x51a6df);});}['btw'](_0x1debbb,_0x5bd9e8){return a0_0x6bf36e(()=>{const _0x55d5d6=a0_0x3f9ae8(_0x1debbb),_0x5e6365=a0_0x3f9ae8(_0x5bd9e8),_0x40353e=this['cpy']()['toTime']();return _0x55d5d6<_0x40353e&&_0x40353e<_0x5e6365;});}['btweq'](_0x44c30e,_0x25d6f9){return a0_0x6bf36e(()=>{const _0x272bb1=a0_0x3f9ae8(_0x44c30e),_0x2b73f7=a0_0x3f9ae8(_0x25d6f9),_0x436c98=this['cpy']()['toTime']();return _0x272bb1<=_0x436c98&&_0x436c98<=_0x2b73f7;});}['btwEqStart'](_0x2d9e5c,_0x549067){return a0_0x6bf36e(()=>{const _0x188213=a0_0x3f9ae8(_0x2d9e5c),_0x46478c=a0_0x3f9ae8(_0x549067),_0x162c23=this['cpy']()['toTime']();return _0x188213<=_0x162c23&&_0x162c23<_0x46478c;});}['btwEqEnd'](_0x59e0c3,_0x2499ca){return a0_0x6bf36e(()=>{const _0x334554=a0_0x3f9ae8(_0x59e0c3),_0x597991=a0_0x3f9ae8(_0x2499ca),_0x1ca5ca=this['cpy']()['toTime']();return _0x334554<_0x1ca5ca&&_0x1ca5ca<=_0x597991;});}static['diffDays'](_0x1dc8e5,_0x58f5c9,_0x24700e){return a0_0x6bf36e(()=>{const _0x2ee6ce=a0_0x3f9ae8(_0x1dc8e5),_0x3e0657=a0_0x3f9ae8(_0x58f5c9);return _0x24700e?Math['abs'](_0x2ee6ce-_0x3e0657)/0x36ee80/0x18:(_0x2ee6ce-_0x3e0657)/0x36ee80/0x18;});}static['diffHours'](_0x3d91b2,_0x38f051,_0x460c41){return a0_0x6bf36e(()=>{const _0x24a807=a0_0x3f9ae8(_0x3d91b2),_0x275bc3=a0_0x3f9ae8(_0x38f051);return _0x460c41?Math['abs'](_0x24a807-_0x275bc3)/0x36ee80:(_0x24a807-_0x275bc3)/0x36ee80;});}static['diffMins'](_0x454fa4,_0x54a3a2,_0x4531c2){return a0_0x6bf36e(()=>{const _0x389072=a0_0x3f9ae8(_0x454fa4),_0x1e7c09=a0_0x3f9ae8(_0x54a3a2);return _0x4531c2?Math['abs'](_0x389072-_0x1e7c09)/0x3e8/0x3c:(_0x389072-_0x1e7c09)/0x3e8/0x3c;});}static['diffSecs'](_0x3484d1,_0x446707,_0x4ec48e){return a0_0x6bf36e(()=>{const _0x558d71=a0_0x3f9ae8(_0x3484d1),_0x1ef349=a0_0x3f9ae8(_0x446707);return _0x4ec48e?Math['abs'](_0x558d71-_0x1ef349)/0x3e8:(_0x558d71-_0x1ef349)/0x3e8;});}static['s1'](_0x19c07b,_0x152e4e,_0x5ec8f3,_0x5e8229){return a0_0x6bf36e(()=>a0_0x5645e4(_0x19c07b,_0x152e4e,_0x5ec8f3,_0x5e8229));}}exports['MDateUtil']=a0_0x3bca5b;
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_0x40b6c8=this&&this['__createBinding']||(Object['create']?function(_0x1da8c4,_0xd65426,_0x239380,_0xee7c70){if(_0xee7c70===undefined)_0xee7c70=_0x239380;var _0x241731=Object['getOwnPropertyDescriptor'](_0xd65426,_0x239380);if(!_0x241731||('get'in _0x241731?!_0xd65426['__esModule']:_0x241731['writable']||_0x241731['configurable'])){var _0x5a600d={};_0x5a600d['enumerable']=!![],_0x5a600d['get']=function(){return _0xd65426[_0x239380];},_0x241731=_0x5a600d;}Object['defineProperty'](_0x1da8c4,_0xee7c70,_0x241731);}:function(_0x244b18,_0x4400bf,_0x48e631,_0x19a8da){if(_0x19a8da===undefined)_0x19a8da=_0x48e631;_0x244b18[_0x19a8da]=_0x4400bf[_0x48e631];}),a0_0x1f0f92=this&&this['__exportStar']||function(_0x3e8cb2,_0x12adac){for(var _0x3d4e8c in _0x3e8cb2)if(_0x3d4e8c!=='default'&&!Object['prototype']['hasOwnProperty']['call'](_0x12adac,_0x3d4e8c))a0_0x40b6c8(_0x12adac,_0x3e8cb2,_0x3d4e8c);},a0_0x39d008={};a0_0x39d008['value']=!![],Object['defineProperty'](exports,'__esModule',a0_0x39d008),a0_0x1f0f92(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.27",
4
4
  "description": "",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",