import setYear from 'date-fns/setYear';
export var leapYear = 2020;
export var dateComparer = function (a, b) { var _a, _b; return ((_a = a === null || a === void 0 ? void 0 : a.getTime()) !== null && _a !== void 0 ? _a : 0) - ((_b = b === null || b === void 0 ? void 0 : b.getTime()) !== null && _b !== void 0 ? _b : 0); };
export var getStartAndEndDate = function (date1, date2) {
    return [date1, date2].sort(dateComparer);
};
export var minDateDefault = setYear(new Date(1970, 0, 1, 0, 0, 0, 0), 1);
export var maxDateDefault = new Date(9999, 11, 31, 23, 59, 59);
export * from './isInMinMaxDade';
export * from './isDateRange';
export * from './isOnlyOneDateInRange';
export * from './getCentury';
export * from './startOfCentury';
export * from './endOfCentury';
export * from './isEqualDate';
