"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../../Class/Functional");
const _ids_1 = require("../../../../_ids");
class SetHours extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['date', 'hours', 'min', 'sec', 'ms'],
            o: ['done'],
        }, {
            input: {
                date: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_SET_HOURS);
    }
    f({ date, hours, min, sec, ms }, done) {
        date.$setHours({ hours, min, sec, ms });
        done({ done: true });
    }
}
exports.default = SetHours;
//# sourceMappingURL=index.js.map