Module cliutil

Source

Functions§

check_final_sample_time_with_requested_time
Check that final sample time is within MISSING_SAMPLE_WARN_DURATION_S seconds of the requested end time.
check_initial_sample_time_in_time_range
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_initial_sample_time_with_requested_time
Check that initial sample time is within MISSING_SAMPLE_WARN_DURATION_S seconds of the requested start time.
system_time_from_date
Convert from date to SystemTime
system_time_from_date_and_adjuster
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.
system_time_range_from_date_and_adjuster
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.