"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function M(t,u,r,o,e){let s=t.setHour(u,r);return s=t.setMinute(s,o),s=t.setSecond(s,e),s}function i(t,u,r){if(!r)return u;let o=u;return o=t.setHour(o,t.getHour(r)),o=t.setMinute(o,t.getMinute(r)),o=t.setSecond(o,t.getSecond(r)),o}function T(t,u,r,o,e,s){const n=Math.floor(t/o)*o;if(n<t)return[n,60-e,60-s];const c=Math.floor(u/e)*e;if(c<u)return[n,c,60-s];const l=Math.floor(r/s)*s;return[n,c,l]}function m(t,u){const r=t.getYear(u),o=t.getMonth(u)+1,e=t.getEndDate(t.getFixedDate(`${r}-${o}-01`)),s=t.getDate(e),n=o<10?`0${o}`:`${o}`;return`${r}-${n}-${s}`}exports.getLastDay=m;exports.getLowerBoundTime=T;exports.setDateTime=i;exports.setTime=M;
