@welldot/utils

getHoldingTimes

Holding time (collection datetime → analyzedat) of every usable result with an analyzedat. With analyzedatresolution: "day" the time of day is ignored: the difference is in whole local calendar dates × 24 h. Holding-time limits per parameter are not applied here.

getHoldingTimes(sample): HoldingTime

Holding time (collection datetime → analyzed_at) of every usable result with an analyzed_at. With analyzed_at_resolution: "day" the time of day is ignored: the difference is in whole local calendar dates × 24 h. Holding-time limits per parameter are not applied here.

Parameters

sample

WaterSample

Returns

HoldingTime