List.Times

構文

List.Times(start as time, count as number, step as duration) as list

バージョン情報

start で始まるサイズ counttime 値のリストが返されます。 指定された増分 (step) は、すべての値に追加される duration 値です。

例 1

正午 (#time(12, 0, 0)) から始まり、1 時間ずつ増分される (#duration(0, 1, 0, 0)) 4 つの値のリストを作成します。

使用方法

List.Times(#time(12, 0, 0), 4, #duration(0, 1, 0, 0))

出力

{
    #time(12, 0, 0),
    #time(13, 0, 0),
    #time(14, 0, 0),
    #time(15, 0, 0)
}