/*
 * 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
 */

package com.pullenti.unitext.internal.zip;

// Class handling NT date time values.
public class NTTaggedData implements ITaggedData {

    @Override
    public short getTagID() {
        return (short)10;
    }


    @Override
    public void setData(byte[] data, int index, int count) {
    }

    @Override
    public byte[] getData() {
        return null;
    }

    public static boolean isValidValue(java.time.LocalDateTime value) {
        return true;
    }

    public java.time.LocalDateTime getLastModificationTime() {
        return _lastModificationTime;
    }

    public java.time.LocalDateTime setLastModificationTime(java.time.LocalDateTime value) throws IndexOutOfBoundsException {
        if (!isValidValue(value)) 
            throw new IndexOutOfBoundsException("value");
        _lastModificationTime = value;
        return value;
    }


    public java.time.LocalDateTime getCreateTime() {
        return _createTime;
    }

    public java.time.LocalDateTime setCreateTime(java.time.LocalDateTime value) throws IndexOutOfBoundsException {
        if (!isValidValue(value)) 
            throw new IndexOutOfBoundsException("value");
        _createTime = value;
        return value;
    }


    public java.time.LocalDateTime getLastAccessTime() {
        return _lastAccessTime;
    }

    public java.time.LocalDateTime setLastAccessTime(java.time.LocalDateTime value) throws IndexOutOfBoundsException {
        if (!isValidValue(value)) 
            throw new IndexOutOfBoundsException("value");
        _lastAccessTime = value;
        return value;
    }


    private java.time.LocalDateTime _lastAccessTime = java.time.LocalDateTime.MIN;

    private java.time.LocalDateTime _lastModificationTime = java.time.LocalDateTime.MIN;

    private java.time.LocalDateTime _createTime = java.time.LocalDateTime.MIN;
    public NTTaggedData() {
    }
}
