/*
THIS INFRAGISTICS ULTIMATE SOFTWARE LICENSE  AGREEMENT ("AGREEMENT") LOCATED HERE:
https://www.infragistics.com/legal/license/igultimate-la
https://www.infragistics.com/legal/license/igultimate-eula
GOVERNS THE LICENSING, INSTALLATION AND USE OF INFRAGISTICS SOFTWARE. BY DOWNLOADING AND/OR INSTALLING AND USING INFRAGISTICS SOFTWARE:  you are indicating that you have read and understand this Agreement, and agree to be legally bound by it on behalf of the yourself and your company.
*/
import { __extends } from "tslib";
import { CellInfoDescription } from "./CellInfoDescription";
import { markType } from "./type";
/**
 * @hidden
 */
var DateTimeCellInfoDescription = /** @class */ (function (_super) {
    __extends(DateTimeCellInfoDescription, _super);
    function DateTimeCellInfoDescription() {
        var _this = _super.call(this) || this;
        _this.dm = new Date();
        _this.dq = null;
        _this.dp = null;
        _this.dk = false;
        return _this;
    }
    DateTimeCellInfoDescription.prototype.get_type = function () {
        return "DateTimeCellInfo";
    };
    Object.defineProperty(DateTimeCellInfoDescription.prototype, "dateTimeValue", {
        get: function () {
            return this.dm;
        },
        set: function (a) {
            this.dm = a;
            this.e("DateTimeValue");
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(DateTimeCellInfoDescription.prototype, "formatOverrideRef", {
        get: function () {
            return this.dq;
        },
        set: function (a) {
            this.dq = a;
            this.e("FormatOverrideRef");
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(DateTimeCellInfoDescription.prototype, "dateTimeFormat", {
        get: function () {
            return this.dp;
        },
        set: function (a) {
            this.dp = a;
            this.e("DateTimeFormat");
        },
        enumerable: true,
        configurable: true
    });
    Object.defineProperty(DateTimeCellInfoDescription.prototype, "isOffsetValue", {
        get: function () {
            return this.dk;
        },
        set: function (a) {
            this.dk = a;
            this.e("IsOffsetValue");
        },
        enumerable: true,
        configurable: true
    });
    DateTimeCellInfoDescription.$t = markType(DateTimeCellInfoDescription, 'DateTimeCellInfoDescription', CellInfoDescription.$);
    return DateTimeCellInfoDescription;
}(CellInfoDescription));
export { DateTimeCellInfoDescription };
