/*
 * SDK Pullenti Unitext, version 4.33, fabruary 2026. Copyright (c) 2013-2026, Pullenti. All rights reserved. 
 * Non-Commercial Freeware and Commercial Software. 
 * This class is generated using the converter UniSharping (www.unisharping.ru) from Pullenti C# project. 
 * The latest version of the code is available on the site www.pullenti.ru
 */

const Utils = require("./../../../unisharp/Utils");

const ITaggedData = require("./ITaggedData");

// Class handling NT date time values.
class NTTaggedData extends ITaggedData {
    
    constructor() {
        super();
        this._lastAccessTime = Utils.MIN_DATE;
        this._lastModificationTime = Utils.MIN_DATE;
        this._createTime = Utils.MIN_DATE;
    }
    
    get tagID() {
        return 10;
    }
    
    setData(data, index, count) {
        
    }
    
    getData() {
        return null;
    }
    
    static isValidValue(value) {
        return true;
    }
    
    get lastModificationTime() {
        return this._lastModificationTime;
    }
    set lastModificationTime(value) {
        if (!NTTaggedData.isValidValue(value)) 
            throw new Error("value");
        this._lastModificationTime = value;
        return value;
    }
    
    get createTime() {
        return this._createTime;
    }
    set createTime(value) {
        if (!NTTaggedData.isValidValue(value)) 
            throw new Error("value");
        this._createTime = value;
        return value;
    }
    
    get lastAccessTime() {
        return this._lastAccessTime;
    }
    set lastAccessTime(value) {
        if (!NTTaggedData.isValidValue(value)) 
            throw new Error("value");
        this._lastAccessTime = value;
        return value;
    }
}


module.exports = NTTaggedData