Functions

Check that final sample time is within MISSING_SAMPLE_WARN_DURATION_S seconds of the requested end time.
Check that initial sample time is within MISSING_SAMPLE_WARN_DURATION_S seconds of the requested start time, and is not after the requested end time.
Check that initial sample time is within MISSING_SAMPLE_WARN_DURATION_S seconds of the requested start time.
Convert from date to SystemTime
Convert from date and an optional days adjuster to SystemTime. Days adjuster is of form y[y…] to SystemTime. Each “y” will deduct 1 day from the resulting time.
Convert from date range and an optional days adjuster to a start and end SystemTime. Days adjuster is of form y[y…]. Each “y” will deduct 1 day from the resulting time.