registration

This commit is contained in:
User
2025-02-02 16:08:03 +03:00
parent 7f6495eb4d
commit 78afbaed71
6334 changed files with 196774 additions and 165754 deletions

View File

@@ -1,6 +1,4 @@
"use strict";
exports.yearsToQuarters = yearsToQuarters;
var _index = require("./constants.js");
import { quartersInYear } from "./constants.js";
/**
* @name yearsToQuarters
@@ -19,6 +17,9 @@ var _index = require("./constants.js");
* const result = yearsToQuarters(2)
* //=> 8
*/
function yearsToQuarters(years) {
return Math.trunc(years * _index.quartersInYear);
export function yearsToQuarters(years) {
return Math.trunc(years * quartersInYear);
}
// Fallback for modularized imports:
export default yearsToQuarters;