"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var getStepsToTotal_1 = __importDefault(require("../math/getStepsToTotal"));
var SECONDS_IN_DAY = 86400;
/**
* Get an array of number,
* which is the number of seconds in a day divided by a step number.
*
* @param step The step of each intervals
* @category dateTime
* @module getTimeStepsInSeconds
*/
var getTimeStepsInSeconds = function (step) {
if (step === void 0) { step = 60; }
return (0, getStepsToTotal_1.default)(SECONDS_IN_DAY, step);
};
exports.default = getTimeStepsInSeconds;
Source