"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.AsyncD = exports.AsyncDRef = exports.AsyncDWatch = exports.AsyncDCall = exports.AsyncDGet = void 0;
const AsyncDGet = (date) => ({
    $getTime: function ({}, callback) {
        const time = date.getTime();
        callback(time);
    },
    $getDate: function (data, callback) {
        const day = date.getDate();
        callback(day);
    },
});
exports.AsyncDGet = AsyncDGet;
const AsyncDCall = (date) => ({
    $setHours: function ({ hours, min, sec, ms, }) {
        date.setHours(hours, min, sec, ms);
    },
    $setDate: function ({ day }) {
        date.setDate(day);
    },
});
exports.AsyncDCall = AsyncDCall;
const AsyncDWatch = (date) => {
    return {};
};
exports.AsyncDWatch = AsyncDWatch;
const AsyncDRef = (date) => ({});
exports.AsyncDRef = AsyncDRef;
const AsyncD = (date) => {
    return {
        ...(0, exports.AsyncDGet)(date),
        ...(0, exports.AsyncDCall)(date),
        ...(0, exports.AsyncDWatch)(date),
        ...(0, exports.AsyncDRef)(date),
    };
};
exports.AsyncD = AsyncD;
//# sourceMappingURL=AsyncD.js.map