function cloneDate(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}function isEqual(e,t){return e.getTime()===t.getTime()}function isBefore(e,t){return e.getTime()<t.getTime()}function isBeforeOrEqual(e,t){return e.getTime()<=t.getTime()}function isAfter(e,t){return e.getTime()>t.getTime()}function isSameDay(e,t){return e.getFullYear()===t.getFullYear()&&e.getMonth()===t.getMonth()&&e.getDate()===t.getDate()}function moveToDayOfWeek(e,t){while(e.getDay()!==t)e.setDate(e.getDate()-1);return e}function pad(e,t){if(t===void 0){t=0}while(e.length<t)e="0"+e;return e}function toDayOfMonthString(e){return pad(e.getDate().toString())}var months=["january","february","march","april","may","june","july","august","september","october","november","december"];function toMonthAndYearString(e,t){return e[months[t.getMonth()]]+" "+t.getFullYear()}function iterateMonth(e,t){var n=new Date(e);if(t===0){return n}return new Date(n.setMonth(n.getMonth()+t))}function iterateWeek(e,t){var n=new Date(e);if(t===0){return n}return new Date(n.setDate(n.getDate()+t*7))}function iterateMinutes(e,t){var n=new Date(e);if(t===0){return n}return new Date(n.setMinutes(n.getMinutes()+t))}export{iterateMonth as a,isBefore as b,iterateWeek as c,isAfter as d,isBeforeOrEqual as e,isEqual as f,isSameDay as g,cloneDate as h,iterateMinutes as i,toDayOfMonthString as j,moveToDayOfWeek as m,toMonthAndYearString as t};