"use client";
import { constructFrom as a } from "./constructFrom.js";
import { toDate as c } from "./toDate.js";
function m(o, n) {
  const t = c(o, n?.in), r = t.getFullYear(), s = t.getMonth(), e = a(t, 0);
  return e.setFullYear(r, s + 1, 0), e.setHours(0, 0, 0, 0), e.getDate();
}
export {
  m as default,
  m as getDaysInMonth
};
