"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.wrapDate = wrapDate;
const _1 = require("../Class/$");
function wrapDate(date, system) {
    const socket = new (class Date_ extends _1.$ {
        constructor() {
            super(...arguments);
            this.__ = ['D'];
        }
        getTime() {
            return date.getTime();
        }
        getDate() {
            return date.getDate();
        }
        setHours(hours, min, sec, ms) {
            date.setHours(hours, min, sec, ms);
        }
        setDate(day) {
            date.setDate(day);
        }
    })(system);
    return socket;
}
//# sourceMappingURL=Date.js.map