Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

時間ウェブレットは表示、入力、プロンプト、時刻の確認をサポートする追加機能を持つテキスト入力ボックス・コントロールを提供します。<input typeThe time weblet provides a text input box control with added features to support the display, entry and validation of times. It broadly corresponds to the <input type="text"> HTML element.エレメントと概ね同じです。

このウェブレットの例を下に示します。(分かりやすくするため、ラベルをつけて表示します。)An example of the weblet is shown below (for clarity it is shown with its label):

   

The time weblet is best used with fields of type time. If you use this type, the data will automatically be passed in the format expected by the weblet. You can use the time weblet with fields of other numeric types such as packed or signed, but it is your responsibility to ensure the numeric value is formatted in the correct ISO format expected by the time weblet. For example, you could use a 時間ウェブレットはtimeタイプのフィールドと共に使用するのが一番良い方法です。このタイプを使用すると、データは自動的にウェブレットが想定されている形式で受け渡されます。パック形式や符号付きなどの他の数値タイプのフィールドで時間ウェブレットを使用することもできますが、数値が時間ウェブレットで想定される正しいISOフォーマットになっていることを自分の責任で確認してください。例えば、HHMMSS形式の時刻を含むsigned (6, 0) field containing a time in HHMMSS format with an edit word ('0 : : ') to format it as an ISO time format.フィールドは、ISOの時間フォーマットに形式変換する編集文字 (‘0 : : ‘) と共に使用します。