OHyMoS.NET Class Library

OhTime メソッド

OhTime クラスのメソッドは以下のとおりです。OhTime クラスの完全なメンバ一覧については、 OhTime メンバ のトピックを参照してください。

静的 パブリック メソッド

addオーバーロード。 Returns an OhTime object by adding two OhTime objects aTa and aTb.

二つの OhTime オブジェクト aTa と aTb を足して OhTime オブジェクト を作っ て返します。
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コンストラクタ内)で調整されます。

mulオーバーロード。 Returns the product of an OhTime object aTime and an integer aI.

OhTime オブジェクト aTime と整数 aI の積を OhTime オブジェ クトとして返します。
subオーバーロード。 Returns an OhTime object by subtracting an OhTime object aTb from an OhTime object aTa.

OhTime オブジェクト aTa と OhTime オブジェクト aTb の差である OhTime オブジェクトを返します。

パブリック メソッド

addオーバーロード。 Add the current OhTime object with aTime seconds.

現在の OhTime オブジェクトに、aTime 秒加えます。
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 未満になるように調整します。
Clone Returns a shallow copy of the current OhTime object
copy Copies the field varibles of the source OhTime object into those of the current OhTime object.

引数で指定された IOhTimeImmutable オブジェクトのフィールド変 数を現在の OhTime オブジェクトのフィールド変数に複写します。
equals Check whether the time difference between the current time point object and anObj is less than anEps. 現在の OhTimePointImmutable オブジェクトと anObj が 表わす時刻との時間差が anEps より小さいか (true)、そ うでないか (false) を返します。

Equals Check whether the current IOhTimeImmutable object is equal to anObj. 引数で指定されたオブジェクトが、IOhTimeImmutable 型 (または そのサブクラス) のオブジェクトであって、表わしている時刻が 当該のオブジェクトと同じであるか (true) 異なるか (false) を 検査します。
mulオーバーロード。 Multiplies the current OhTime object by aI.

現在の OhTime オブジェクトを aI 倍します。
subオーバーロード。 Subtract aTime seconds fromt the current OhTime object.

現在の OhTime オブジェクトから、aTime 秒引きます。
toDouble Returns the double value which is equal to sec + frac.

現在の OhTime オブジェクトに対応する時間の double 値を返し ます。
ToString Returns the string expression of the current object.

オブジェクトの String 表現を返します。

参照

OhTime クラス | OhTime メンバ | OhymosNet 名前空間