You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

変数がグレゴリオ暦の月日であるか確認します。
CompatibleUnicode組み込みファンクション (PRIM_LIBI.ICompatibleUnicodeIntrinsics) のメンバ

パラメータ

名前

タイプ

データタイプ

記述

Result

*Result (任意)

ブール値

文字列が有効なグレゴリオ暦の月日の場合TRUE

詳細


変数が有効なグレゴリオ暦の月の日に変換できる場合、 IsGregorianMonthDay は True を返します。
潜在的なエラーをより良く処理するために、 IsGregorianMonthDayをAsGregorianMonthDayの前に使用することがよくあります。
グレゴリオ暦の月の形式は — MM-DD + HH:MM です。


この例では #Variable が #Result に割り当てられる前にテストされています。
If (#Variable.IsGregorianMonthDay)
#Result := #Variable.AsGregorianMonthDay
Endif

参照

すべてのコンポーネント クラス
テクニカルリファレンス

  • No labels