C# Класс ICSharpCode.SharpZipLib.Zip.ExtendedUnixData

Class representing extended unix date time values.
Наследование: ITaggedData
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
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.

Описание методов

GetData() публичный Метод

Get the binary data representing this instance.
public GetData ( ) : byte[]
Результат byte[]

IsValidValue() публичный статический Метод

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.
Результат bool

SetData() публичный Метод

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.
Результат void