C# Class ICSharpCode.SharpZipLib.Zip.ExtendedUnixData

Class representing extended unix date time values.
Inheritance: ITaggedData
Afficher le fichier Open project: fanfeilong/exceltk Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
GetData ( ) : byte[]

Get the binary data representing this instance.

IsValidValue ( System.DateTime value ) : bool

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

The standard Unix time is a signed integer data type, directly encoding the Unix time number, which is the number of seconds since 1970-01-01. Being 32 bits means the values here cover a range of about 136 years. The minimum representable time is 1901-12-13 20:45:52, and the maximum representable time is 2038-01-19 03:14:07.

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

Set the data from the raw values provided.

Method Details

GetData() public méthode

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

IsValidValue() public static méthode

Test a value to see if is valid and can be represented here.
The standard Unix time is a signed integer data type, directly encoding the Unix time number, which is the number of seconds since 1970-01-01. Being 32 bits means the values here cover a range of about 136 years. The minimum representable time is 1901-12-13 20:45:52, and the maximum representable time is 2038-01-19 03:14:07.
public static IsValidValue ( System.DateTime value ) : bool
value System.DateTime The value to test.
Résultat bool

SetData() public méthode

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.
Résultat void