C# Class ICSharpCode.SharpZipLib.Zip.NTTaggedData

Class handling NT date time values.
Inheritance: ITaggedData
Show file Open project: fanfeilong/exceltk Class Usage Examples

Public Methods

Method Description
GetData ( ) : byte[]

Get the binary data representing this instance.

IsValidValue ( System.DateTime value ) : bool

Test a valuie to see if is valid and can be represented here.

NTFS filetimes are 64-bit unsigned integers, stored in Intel (least significant byte first) byte order. They determine the number of 1.0E-07 seconds (1/10th microseconds!) past WinNT "epoch", which is "01-Jan-1601 00:00:00 UTC". 28 May 60056 is the upper limit

SetData ( byte data, int index, int count ) : void

Set the data from the raw values provided.

Method Details

GetData() public method

Get the binary data representing this instance.
public GetData ( ) : byte[]
return byte[]

IsValidValue() public static method

Test a valuie to see if is valid and can be represented here.
NTFS filetimes are 64-bit unsigned integers, stored in Intel (least significant byte first) byte order. They determine the number of 1.0E-07 seconds (1/10th microseconds!) past WinNT "epoch", which is "01-Jan-1601 00:00:00 UTC". 28 May 60056 is the upper limit
public static IsValidValue ( System.DateTime value ) : bool
value System.DateTime The value to test.
return bool

SetData() public method

Set the data from the raw values provided.
public SetData ( byte data, int index, int count ) : void
data byte The raw data to extract values from.
index int The index to start extracting values from.
count int The number of bytes available.
return void