solarnetwork-api-core
    Preparing search index...

    Interface DateRange

    A date range.

    interface DateRange {
        aggregate: Aggregation;
        end: Date;
        start: Date;
        timeCount: number;
        timeUnit: Aggregation;
    }
    Index

    Properties

    aggregate: Aggregation

    The aggregate to query with.

    end: Date

    The ending date.

    start: Date

    The starting date.

    timeCount: number

    The number of time units in the date range.

    timeUnit: Aggregation

    The time unit used by the date range.