@zodiacs/engine 1.0.0
    Preparing search index...

    Interface WindowRounding

    A rounding model: the true instant is uniform over the rounding unit of the record.

    interface WindowRounding {
        minutes: number;
        mode?: "nearest" | "down";
        recorded: DateInput;
    }
    Index
    minutes: number

    The rounding unit, in minutes.

    mode?: "nearest" | "down"

    "nearest" (the default): the record is the nearest multiple of the unit, so the true instant lies within half a unit of it. "down": the record is the start of its unit, as a clock read without rounding up.

    recorded: DateInput

    The recorded time, resolved to an instant.