import e from "./interval.js";
//#region ../../node_modules/d3-time/src/utcYear.js
var t = e(function(e) {
	e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
}, function(e, t) {
	e.setUTCFullYear(e.getUTCFullYear() + t);
}, function(e, t) {
	return t.getUTCFullYear() - e.getUTCFullYear();
}, function(e) {
	return e.getUTCFullYear();
});
t.every = function(t) {
	return !isFinite(t = Math.floor(t)) || !(t > 0) ? null : e(function(e) {
		e.setUTCFullYear(Math.floor(e.getUTCFullYear() / t) * t), e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
	}, function(e, n) {
		e.setUTCFullYear(e.getUTCFullYear() + n * t);
	});
}, t.range;
//#endregion
export { t as default };

//# sourceMappingURL=utcYear.js.map