Liferay.Loader.define("commerce-dashboard-web$d3-time@1.0.10/src/second", ['module', 'exports', 'require'], function (module, exports, require) {
  var define = undefined;
  var global = window;
  {
    import interval from "./interval";
    import { durationSecond } from "./duration";

    var second = interval(function (date) {
      date.setTime(Math.floor(date / durationSecond) * durationSecond);
    }, function (date, step) {
      date.setTime(+date + step * durationSecond);
    }, function (start, end) {
      return (end - start) / durationSecond;
    }, function (date) {
      return date.getUTCSeconds();
    });

    export default second;
    export var seconds = second.range;
  }
});
//# sourceMappingURL=second.js.map