ChartDateTimeSpan (クラス)
public final ChartDateTimeSpan
パッケージ: CURL.GUI.CHARTS

ChartDateTimeSpan is a data class used by DateTimeGapFinder to represent a span of time.


コンストラクタ
default:Construct a new ChartDateTimeSpan.
コンストラクタ public {ChartDateTimeSpan.default start:DateTime, end:DateTime}

プロパティ
end:The time at which this span ends.
フィールド public constant ChartDateTimeSpan.end:DateTime
start:The time at which this span begins.
フィールド public constant ChartDateTimeSpan.start:DateTime

メソッド
within?:Tests whether time is within this span.
public {ChartDateTimeSpan.within? time:DateTime}:bool



コンストラクタ詳細
default (コンストラクタ)
public {ChartDateTimeSpan.default start:DateTime, end:DateTime}

Construct a new ChartDateTimeSpan.

start: The time at which this span begins.
end: The time at which this span ends.



プロパティ詳細
end (フィールド)
public constant ChartDateTimeSpan.end:DateTime

The time at which this span ends.



start (フィールド)
public constant ChartDateTimeSpan.start:DateTime

The time at which this span begins.






メソッド詳細
within? (メソッド)
public {ChartDateTimeSpan.within? time:DateTime}:bool

Tests whether time is within this span.

戻り値

true if the time is within this span. The test performed is exclusive -- that is, within? will return false if time is equal to either start or end.