UNPKG

iso-weeks-year

Version:
10 lines 354 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.treatMonth = exports.treatYear = void 0; exports.treatYear = (month, year) => { return month > 11 ? year + 1 : month < 0 ? year - 1 : year; }; exports.treatMonth = (month) => { return month > 11 ? 0 : month < 0 ? 11 : month; }; //# sourceMappingURL=treat.js.map