"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.getDaysInMonth = void 0;

var getDaysInMonth = function getDaysInMonth(year, month) {
  var date = new Date(year, month, 1);
  return new Date(date.getTime() - 864e5).getDate();
};

exports.getDaysInMonth = getDaysInMonth;