System.TimeSpan.TTimeSpan.Create

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

constructor Create(ATicks: Int64); overload;
constructor Create(Hours, Minutes, Seconds: Integer); overload;
constructor Create(Days, Hours, Minutes, Seconds: Integer); overload;
constructor Create(Days, Hours, Minutes, Seconds, Milliseconds: Integer); overload;

C++

__fastcall TTimeSpan(__int64 ATicks)/* overload */;
__fastcall TTimeSpan(int Hours, int Minutes, int Seconds)/* overload */;
__fastcall TTimeSpan(int Days, int Hours, int Minutes, int Seconds)/* overload */;
__fastcall TTimeSpan(int Days, int Hours, int Minutes, int Seconds, int Milliseconds)/* overload */;
TTimeSpan() {}

プロパティ

種類 可視性 ソース ユニット
constructor public
System.TimeSpan.pas
System.TimeSpan.hpp
System.TimeSpan TTimeSpan

説明

TTimeSpan インスタンスを作成および初期化します。

Create メソッドを呼び出すと、TTimeSpan インスタンスを作成および初期化できます。

Create メソッドをデフォルトで実装すると、タイムスパンのタイマ刻み数を指定する ATicks パラメータの 1 つを取ります。 Create メソッドには、オーバーロードがいくつかあります。オーバーロードのパラメータの一覧を以下の表に示します。



パラメータ 意味
Days 時間間隔の日数
Hours 時間間隔の時間数
Minutes 時間間隔の分数
Seconds 時間間隔の秒数
Milliseconds 時間間隔のミリ秒数