public void SetLastAccessed(long lastAccessed) { LittleEndian.SetInt16(data, 0x12, DosUtils.EncodeDate(lastAccessed)); dirty = true; }
public void SetLastModified(long lastModified) { LittleEndian.SetInt16(data, 0x16, DosUtils.EncodeTime(lastModified)); LittleEndian.SetInt16(data, 0x18, DosUtils.EncodeDate(lastModified)); dirty = true; }
public void SetCreated(long created) { LittleEndian.SetInt16(data, 0x0e, DosUtils.EncodeTime(created)); LittleEndian.SetInt16(data, 0x10, DosUtils.EncodeDate(created)); dirty = true; }