Scheduler for WPF
ContainsTime メソッド (VisualInterval)

C1.WPF.Schedule アセンブリ > C1.WPF.Schedule 名前空間 > VisualInterval クラス : ContainsTime メソッド
A checked DateTime.
Gets a value indicating whether the specified DateTime belongs to the time range represented by the VisualInterval.
シンタックス
'宣言
 
Public Function ContainsTime( _
   ByVal time As System.Date _
) As System.Boolean
public System.bool ContainsTime( 
   System.DateTime time
)

パラメータ

time
A checked DateTime.

戻り値の型

This method returns true if the specified DateTime belongs to the time range represented by the VisualInterval; otherwise, false.
解説
A DateTime is considered as belonging to a VisualInterval if the following condition is satisfied:

StartTime <= DateTime and DateTime > EndTime

Note that the bottom boundary of the interval is exclusive, that is DateTime = EndTime is considered as not belonging to the interval.

参照

VisualInterval クラス
VisualInterval メンバ