List.Durations

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

返回 count duration 值的列表,从 start 开始,以给定的 duration step 为增量。

示例:

创建 5 个值的列表,从 1 小时开始,以 1 小时为增量。

使用情况:

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)}

results matching ""

    No results matching ""