OHyMoS.NET Class Library

OhTimePoint.equals メソッド 

引数に指定したオブジェクト anObj が OhTimePointImmutable オブジェクトであって、かつ、現在の OhTimePointImmutable オブジェクトとの時間差が anEps より小さいかをテストします。

Tests if the specified Object is an instance of OhTimePointImmutable and if the time differenc between the current time point and anObj is less than anEps.
public bool equals(
   object anObj,
   double anEps
);

パラメータ

anObj
an Object value

比較するオブジェクト
anEps
a double value

指定する時間差

戻り値

a boolean value

実装

IOhTimePointImmutable.equals

解説

anEps の値として、 OhTime.NEGLIGIBLY_SMALL_TIME.htmlを使用するとよいでしょう。

参照

OhTimePoint クラス | OhymosNet 名前空間