C# 클래스 Kimono.KTimeZoneData

상속: Object, IDisposable
파일 보기 프로젝트 열기: 0xd34df00d/Qross 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
interceptor Qyoto.SmokeInvocation

공개 메소드들

메소드 설명
Dispose ( ) : void
KTimeZoneData ( ) : System
KTimeZoneData ( KTimeZoneData c ) : System
LeapSecondChange ( Qyoto.QDateTime utc ) : KTimeZone.LeapSeconds Find the leap second adjustment which is applicable at a given UTC time. name="utc" UTC date/time. An error occurs if utc.timeSpec() is not Qt.UTC.
LeapSecondChanges ( ) : List Return all leap second adjustments, in time order. Note that some time zone data sources (such as system time zones accessed via the system libraries) may not provide information on leap second adjustments. In such cases, this method will return an empty list.
Phases ( ) : List Return all daylight savings time phases. Note that some time zone data sources (such as system time zones accessed via the system libraries) may not allow a list of daylight savings time changes to be compiled easily. In such cases, this method will return an empty list.
PreviousUtcOffset ( ) : int Returns the UTC offset to use before the start of data for the time zone.
TransitionIndex ( Qyoto.QDateTime dt ) : int
TransitionIndex ( Qyoto.QDateTime dt, int &secondIndex ) : int
TransitionIndex ( Qyoto.QDateTime dt, int &secondIndex, bool &validTime ) : int Return all daylight saving transitions, in time order. If desired, the transitions returned may be restricted to a specified time range. Note that some time zone data sources (such as system time zones accessed via the system libraries) may not allow a list of daylight saving time changes to be compiled easily. In such cases, this method will return an empty list. name="start" start date/time, or invalid date/time to return all transitions up to end. start.timeSpec() must be Qt.UTC, else start will be considered invalid. name="end" end date/time, or invalid date/time for no end. end.timeSpec() must be Qt.UTC, else end will be considered invalid. Find the last daylight savings time transition at or before a given UTC or local time. Because of daylight savings time shifts, a local time may occur twice or may not occur at all. In the former case, the transitions at or before both occurrences of dt may optionally be calculated and returned in secondTransition. The latter case may optionally be detected by use of validTime. name="dt" date/time. dt.timeSpec() may be set to Qt.UTC or Qt.LocalTime. name="secondTransition" if non-null, and the dt occurs twice, receives the transition for the second occurrence. Otherwise, it is set the same as the return value. name="validTime" if non-null, is set to false if dt does not occur, or to true otherwise Find the index to the last daylight savings time transition at or before a given UTC or local time. The return value is the index into the transition list returned by transitions(). Because of daylight savings time shifts, a local time may occur twice or may not occur at all. In the former case, the transitions at or before both occurrences of dt may optionally be calculated and returned in secondIndex. The latter case may optionally be detected by use of validTime. name="dt" date/time. dt.timeSpec() may be set to Qt.UTC or Qt.LocalTime. name="secondIndex" if non-null, and the dt occurs twice, receives the index to the transition for the second occurrence. Otherwise, it is set the same as the return value. name="validTime" if non-null, is set to false if dt does not occur, or to true otherwise
TransitionTimes ( KTimeZone phase ) : List
TransitionTimes ( KTimeZone phase, Qyoto.QDateTime start ) : List
TransitionTimes ( KTimeZone phase, Qyoto.QDateTime start, Qyoto.QDateTime end ) : List Return the times of all daylight saving transitions to a given time zone phase, in time order. If desired, the times returned may be restricted to a specified time range. Note that some time zone data sources (such as system time zones accessed via the system libraries) may not allow a list of daylight saving time changes to be compiled easily. In such cases, this method will return an empty list. name="phase" time zone phase name="start" start UTC date/time, or invalid date/time to return all transitions up to end. start.timeSpec() must be Qt.UTC, else start will be considered invalid. name="end" end UTC date/time, or invalid date/time for no end. end.timeSpec() must be Qt.UTC, else end will be considered invalid.

보호된 메소드들

메소드 설명
CreateProxy ( ) : void
KTimeZoneData ( Type dummy ) : System
SetLeapSecondChanges ( List adjusts ) : void Initialise the daylight savings time transition list. name="transitions" list of transitions Initialise the leap seconds adjustment list. name="adjusts" list of adjustments
SetPhases ( List phases, int previousUtcOffset ) : void Initialise the daylight savings time phase list. name="phases" list of phases name="previousUtcOffset" UTC offset to use before the start of the first phase

비공개 메소드들

메소드 설명
Abbreviation ( Qyoto.QDateTime utcDateTime ) : Qyoto.QByteArray
Abbreviations ( ) : List
Clone ( ) : KTimeZoneData
HasTransitions ( ) : bool
UtcOffsets ( ) : List

메소드 상세

CreateProxy() 보호된 메소드

protected CreateProxy ( ) : void
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

KTimeZoneData() 공개 메소드

public KTimeZoneData ( ) : System
리턴 System

KTimeZoneData() 공개 메소드

public KTimeZoneData ( KTimeZoneData c ) : System
c KTimeZoneData
리턴 System

KTimeZoneData() 보호된 메소드

protected KTimeZoneData ( Type dummy ) : System
dummy System.Type
리턴 System

LeapSecondChange() 공개 메소드

Find the leap second adjustment which is applicable at a given UTC time. name="utc" UTC date/time. An error occurs if utc.timeSpec() is not Qt.UTC.
public LeapSecondChange ( Qyoto.QDateTime utc ) : KTimeZone.LeapSeconds
utc Qyoto.QDateTime
리턴 KTimeZone.LeapSeconds

LeapSecondChanges() 공개 메소드

Return all leap second adjustments, in time order. Note that some time zone data sources (such as system time zones accessed via the system libraries) may not provide information on leap second adjustments. In such cases, this method will return an empty list.
public LeapSecondChanges ( ) : List
리턴 List

Phases() 공개 메소드

Return all daylight savings time phases. Note that some time zone data sources (such as system time zones accessed via the system libraries) may not allow a list of daylight savings time changes to be compiled easily. In such cases, this method will return an empty list.
public Phases ( ) : List
리턴 List

PreviousUtcOffset() 공개 메소드

Returns the UTC offset to use before the start of data for the time zone.
public PreviousUtcOffset ( ) : int
리턴 int

SetLeapSecondChanges() 보호된 메소드

Initialise the daylight savings time transition list. name="transitions" list of transitions Initialise the leap seconds adjustment list. name="adjusts" list of adjustments
protected SetLeapSecondChanges ( List adjusts ) : void
adjusts List
리턴 void

SetPhases() 보호된 메소드

Initialise the daylight savings time phase list. name="phases" list of phases name="previousUtcOffset" UTC offset to use before the start of the first phase
protected SetPhases ( List phases, int previousUtcOffset ) : void
phases List
previousUtcOffset int
리턴 void

TransitionIndex() 공개 메소드

public TransitionIndex ( Qyoto.QDateTime dt ) : int
dt Qyoto.QDateTime
리턴 int

TransitionIndex() 공개 메소드

public TransitionIndex ( Qyoto.QDateTime dt, int &secondIndex ) : int
dt Qyoto.QDateTime
secondIndex int
리턴 int

TransitionIndex() 공개 메소드

Return all daylight saving transitions, in time order. If desired, the transitions returned may be restricted to a specified time range. Note that some time zone data sources (such as system time zones accessed via the system libraries) may not allow a list of daylight saving time changes to be compiled easily. In such cases, this method will return an empty list. name="start" start date/time, or invalid date/time to return all transitions up to end. start.timeSpec() must be Qt.UTC, else start will be considered invalid. name="end" end date/time, or invalid date/time for no end. end.timeSpec() must be Qt.UTC, else end will be considered invalid. Find the last daylight savings time transition at or before a given UTC or local time. Because of daylight savings time shifts, a local time may occur twice or may not occur at all. In the former case, the transitions at or before both occurrences of dt may optionally be calculated and returned in secondTransition. The latter case may optionally be detected by use of validTime. name="dt" date/time. dt.timeSpec() may be set to Qt.UTC or Qt.LocalTime. name="secondTransition" if non-null, and the dt occurs twice, receives the transition for the second occurrence. Otherwise, it is set the same as the return value. name="validTime" if non-null, is set to false if dt does not occur, or to true otherwise Find the index to the last daylight savings time transition at or before a given UTC or local time. The return value is the index into the transition list returned by transitions(). Because of daylight savings time shifts, a local time may occur twice or may not occur at all. In the former case, the transitions at or before both occurrences of dt may optionally be calculated and returned in secondIndex. The latter case may optionally be detected by use of validTime. name="dt" date/time. dt.timeSpec() may be set to Qt.UTC or Qt.LocalTime. name="secondIndex" if non-null, and the dt occurs twice, receives the index to the transition for the second occurrence. Otherwise, it is set the same as the return value. name="validTime" if non-null, is set to false if dt does not occur, or to true otherwise
public TransitionIndex ( Qyoto.QDateTime dt, int &secondIndex, bool &validTime ) : int
dt Qyoto.QDateTime
secondIndex int
validTime bool
리턴 int

TransitionTimes() 공개 메소드

public TransitionTimes ( KTimeZone phase ) : List
phase KTimeZone
리턴 List

TransitionTimes() 공개 메소드

public TransitionTimes ( KTimeZone phase, Qyoto.QDateTime start ) : List
phase KTimeZone
start Qyoto.QDateTime
리턴 List

TransitionTimes() 공개 메소드

Return the times of all daylight saving transitions to a given time zone phase, in time order. If desired, the times returned may be restricted to a specified time range. Note that some time zone data sources (such as system time zones accessed via the system libraries) may not allow a list of daylight saving time changes to be compiled easily. In such cases, this method will return an empty list. name="phase" time zone phase name="start" start UTC date/time, or invalid date/time to return all transitions up to end. start.timeSpec() must be Qt.UTC, else start will be considered invalid. name="end" end UTC date/time, or invalid date/time for no end. end.timeSpec() must be Qt.UTC, else end will be considered invalid.
public TransitionTimes ( KTimeZone phase, Qyoto.QDateTime start, Qyoto.QDateTime end ) : List
phase KTimeZone
start Qyoto.QDateTime
end Qyoto.QDateTime
리턴 List

프로퍼티 상세

interceptor 보호되어 있는 프로퍼티

protected SmokeInvocation,Qyoto interceptor
리턴 Qyoto.SmokeInvocation