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

    var utcDay = interval(function (date) {
      date.setUTCHours(0, 0, 0, 0);
    }, function (date, step) {
      date.setUTCDate(date.getUTCDate() + step);
    }, function (start, end) {
      return (end - start) / durationDay;
    }, function (date) {
      return date.getUTCDate() - 1;
    });

    export default utcDay;
    export var utcDays = utcDay.range;
  }
});
//# sourceMappingURL=utcDay.js.map