List.Durations

構文

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

詳細

start から始まり、指定された durationstep ずつ増分される count 個の duration 値のリストを返します。

例 1

1 時間から始まり、1 時間ずつ増分される 5 個の値のリストを作成します。

使用方法

List.Durations(#duration(0, 1, 0, 0), 5, #duration(0, 1, 0, 0))

出力

{
    #duration(0, 1, 0, 0),
    #duration(0, 2, 0, 0),
    #duration(0, 3, 0, 0),
    #duration(0, 4, 0, 0),
    #duration(0, 5, 0, 0)
}