C# 클래스 Subtext.Framework.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"
파일 보기 프로젝트 열기: ayende/Subtext

공개 프로퍼티들

프로퍼티 타입 설명
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,Subtext.Framework.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,Subtext.Framework.Util standardDate
리턴 WindowsSystemTime