diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 008ecff1..06ef2f0a 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -94,7 +94,7 @@ Added many new messages and enum values: - `types` - + `TimeIntervalFilter`: Message to standardize time interval filtering across APIs + + `Interval`: Message to standardize time interval filtering across APIs This uses `start_time` (inclusive) and `end_time` (exclusive) fields, aligning with ISO 8601 and common programming conventions. diff --git a/proto/frequenz/api/common/v1/types/time_interval_filter.proto b/proto/frequenz/api/common/v1/types/interval.proto similarity index 97% rename from proto/frequenz/api/common/v1/types/time_interval_filter.proto rename to proto/frequenz/api/common/v1/types/interval.proto index 22dfd073..86b94e99 100644 --- a/proto/frequenz/api/common/v1/types/time_interval_filter.proto +++ b/proto/frequenz/api/common/v1/types/interval.proto @@ -22,7 +22,7 @@ import "google/protobuf/timestamp.proto"; // considered unbounded at the start. // * If `end_time` is omitted, the interval is // considered unbounded at the end. -message TimeIntervalFilter { +message Interval { // The beginning of the time interval (inclusive). // // Must be a UTC timestamp.