C# Класс newtelligence.DasBlog.Util.WindowsTZI

This structure is the binary equivalent of the TZI information found in the Windows registry for each key underneath "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\Time Zones"
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
bias int
daylightBias int
daylightDate WindowsSystemTime
standardBias int
standardDate WindowsSystemTime

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

Метод Описание
InitializeFromByteArray ( byte buffer, int offset ) : int

Initializes the structure from a byte array.

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

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

Initializes the structure from a byte array.
public InitializeFromByteArray ( byte buffer, int offset ) : int
buffer byte Byte buffer
offset int Offset intro the buffer at which to start
Результат int

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

bias публичное свойство

Base Bias from GMT, in seconds. Subtracting this value from the local time results in GMT. For Western Europe, this value is -60, for US Eastern Time this value is +300.
public int bias
Результат int

daylightBias публичное свойство

Daylight savings time bias as an offset to the base bias. Subtracting this value from the local time results in the standard time. For Western Europe, this value is -60, for US Eastern time ít's also -60 and for India Standard Time it's 0.
public int daylightBias
Результат int

daylightDate публичное свойство

This is WindowsSystemTime structure (equivalent to the unmanaged SYSTEMTIME) structure, but stores NOT a valid date. Instead, the following rules apply: If "month" is 0, there is no daylight savings time for this zone. The dayOfWeek value indicates the day of the week on which daylight savings time reverts back to standard time. The day value indicates, starting at 1 (with a maximum value of 5, saying "last") the occurrence of that weekday within the month on which the daylight savings time reverts back.
public WindowsSystemTime,newtelligence.DasBlog.Util daylightDate
Результат WindowsSystemTime

standardBias публичное свойство

Standard time bias as an offset to the base bias. This is usually 0.
public int standardBias
Результат int

standardDate публичное свойство

This is WindowsSystemTime structure (equivalent to the unmanaged SYSTEMTIME) structure, but stores NOT a valid date. Instead, the following rules apply: If "month" is 0, there is no daylight savings time for this zone. The dayOfWeek value indicates the day of the week on which daylight savings time is effective. The day value indicates, starting at 1 (with a maximum value of 5, saying "last") the occurrence of that weekday within the month on which the daylight savings time is effective.
public WindowsSystemTime,newtelligence.DasBlog.Util standardDate
Результат WindowsSystemTime