public sealed class Condition.Types.TimeRange : IMessage<Condition.Types.TimeRange>, IEquatable<Condition.Types.TimeRange>, IDeepCloneable<Condition.Types.TimeRange>, IBufferMessage, IMessage
Reference documentation and code samples for the Retail v2 API class Condition.Types.TimeRange.
Used for time-dependent conditions.
Example: Want to have rule applied for week long sale.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-03-21 UTC."],[[["This page provides documentation for the `Condition.Types.TimeRange` class within the Google Cloud Retail v2 API, with the latest version being 2.12.0."],["The `Condition.Types.TimeRange` class is used to define time-dependent conditions, such as applying a rule during a specific week-long sale, and implements several interfaces like `IMessage` and `IEquatable`."],["This class provides `StartTime` and `EndTime` properties to define the inclusive start and end of a time range, using the `Timestamp` type for both."],["The documentation includes a history of previous versions, dating back to version 1.0.0, with links to the respective documentations, for a total of 20 versions."],["The class inherits members from the object class, such as `GetHashCode()`, `GetType()`, and `ToString()`, as well as the listed interfaces it implements."]]],[]]