import "@devgateway/wp-react-lib";
function D(t) {
  if (!t) return { startDate: null, endDate: null };
  const e = new Date(Date.UTC(t, 0, 1, 0, 0, 0, 0)), n = new Date(Date.UTC(t, 11, 31, 23, 59, 59, 999));
  return { startDate: e, endDate: n };
}
export {
  D as getStartDateAndEndDateFromYear
};
