OHyMoS.NET Class Library

OhTime.adjust メソッド

Adjust sec and frac so that they have compatible signs and the absolute value of frac is less than 1.

secfrac の符号がつじつまがあっていて、端数 frac が -0.5 以上、0.5 未満になるように調整します。

オーバーロードの一覧

Adjust sec and frac so that they have compatible signs and the absolute value of frac is less than 1.

secfrac の符号がつじつまがあっていて、端数 frac が -0.5 以上、0.5 未満になるように調整します。

public void adjust();

Returns an OhTime object whose time value is equal to aSec + aFrac. aFrac need not to be greater than or equal to -0.5 and less than 0.5.

aSec + aFrac に等しい時間を持つ OhTime オブジェクトを返しま す。引数の aFrac は、-0.5 以上、0.5 未満でなくても構いませ ん。このメソッドの中(OhTimeコンストラクタ内)で調整されます。

public static OhTime adjust(long,double);

参照

OhTime クラス | OhymosNet 名前空間