System.DateUtils.TTimeZone.IsStandardTime

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

Delphi

function IsStandardTime(const ADateTime: TDateTime; const ForceDaylight: Boolean = False): Boolean;

C++

bool __fastcall IsStandardTime(const System::TDateTime ADateTime, const bool ForceDaylight = false);

プロパティ

種類 可視性 ソース ユニット
function public
System.DateUtils.pas
System.DateUtils.hpp
System.DateUtils TTimeZone

説明

指定されたローカルの日時が DST (夏時間)の期間外にあるかどうかを確認します。

IsStandardTime メソッドは、指定されたローカルの日時が DST (夏時間)の期間外にあるかどうかを確認します。

ForceDaylight パラメータは、あいまいな時刻をどのように扱うかを指定します。

関連項目