/**
 * DevExtreme (bundles/__internal/scheduler/workspaces/view_model/m_view_data_generator_day.js)
 * Version: 23.1.6 (build 23316-0110)
 * Build date: Sun Nov 12 2023
 *
 * Copyright (c) 2012 - 2023 Developer Express Inc. ALL RIGHTS RESERVED
 * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/
 */
"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
exports.ViewDataGeneratorDay = void 0;
var _day = require("../../../../renovation/ui/scheduler/view_model/to_test/views/utils/day");
var _m_view_data_generator = require("./m_view_data_generator");

function _inheritsLoose(subClass, superClass) {
    subClass.prototype = Object.create(superClass.prototype);
    subClass.prototype.constructor = subClass;
    _setPrototypeOf(subClass, superClass)
}

function _setPrototypeOf(o, p) {
    _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(o, p) {
        o.__proto__ = p;
        return o
    };
    return _setPrototypeOf(o, p)
}
var ViewDataGeneratorDay = function(_ViewDataGenerator) {
    _inheritsLoose(ViewDataGeneratorDay, _ViewDataGenerator);

    function ViewDataGeneratorDay() {
        return _ViewDataGenerator.apply(this, arguments) || this
    }
    var _proto = ViewDataGeneratorDay.prototype;
    _proto._calculateStartViewDate = function(options) {
        return (0, _day.calculateStartViewDate)(options.currentDate, options.startDayHour, options.startDate, this._getIntervalDuration(options.intervalCount))
    };
    return ViewDataGeneratorDay
}(_m_view_data_generator.ViewDataGenerator);
exports.ViewDataGeneratorDay = ViewDataGeneratorDay;
