EarthSDK
    正在准备搜索索引...

    类型别名 ESJTimeIntervalCollectionJsonType

    ESJTimeIntervalCollectionJsonType:
        | {
            iso8601: string;
            isStartIncluded?: boolean;
            isStopIncluded?: boolean;
            leadingInterval?: boolean;
            trailingInterval?: boolean;
            type: "fromIso8601";
        }
        | {
            iso8601Dates?: string[];
            isStartIncluded?: boolean;
            isStopIncluded?: boolean;
            leadingInterval?: boolean;
            trailingInterval?: boolean;
            type: "fromIso8601DateArray";
        }

    表示时间间隔集合的 JSON 类型。 可以是从 ISO 8601 字符串创建的时间间隔集合, 也可以是从 ISO 8601 日期数组创建的时间间隔集合。

    类型声明

    • {
          iso8601: string;
          isStartIncluded?: boolean;
          isStopIncluded?: boolean;
          leadingInterval?: boolean;
          trailingInterval?: boolean;
          type: "fromIso8601";
      }
      • iso8601: string

        ISO 8601 格式的字符串。

      • 可选isStartIncluded?: boolean

        可选参数,指示开始时间是否包含在时间间隔内。

      • 可选isStopIncluded?: boolean

        可选参数,指示结束时间是否包含在时间间隔内。

      • 可选leadingInterval?: boolean

        可选参数,指示是否包含前导时间间隔。

      • 可选trailingInterval?: boolean

        可选参数,指示是否包含尾随时间间隔。

      • type: "fromIso8601"

        表示从 ISO 8601 字符串创建时间间隔集合。

    • {
          iso8601Dates?: string[];
          isStartIncluded?: boolean;
          isStopIncluded?: boolean;
          leadingInterval?: boolean;
          trailingInterval?: boolean;
          type: "fromIso8601DateArray";
      }
      • 可选iso8601Dates?: string[]

        可选的 ISO 8601 日期数组。

      • 可选isStartIncluded?: boolean

        可选参数,指示开始时间是否包含在时间间隔内。

      • 可选isStopIncluded?: boolean

        可选参数,指示结束时间是否包含在时间间隔内。

      • 可选leadingInterval?: boolean

        可选参数,指示是否包含前导时间间隔。

      • 可选trailingInterval?: boolean

        可选参数,指示是否包含尾随时间间隔。

      • type: "fromIso8601DateArray"

        表示从 ISO 8601 日期数组创建时间间隔集合。