public sealed class TimeRange : IMessage<Condition.Types.TimeRange>, IEquatable<Condition.Types.TimeRange>, IDeepCloneable<Condition.Types.TimeRange>, IBufferMessage, IMessage
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"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe content covers the \u003ccode\u003eTimeRange\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.Retail.V2\u003c/code\u003e namespace, which is used for defining time-dependent conditions, such as a week-long sale.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eTimeRange\u003c/code\u003e class implements interfaces like \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe latest version available in this content is version 2.12.0, but version 2.2.0 is the current context version, with various other versions listed from 1.0.0 up to 2.11.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeRange\u003c/code\u003e class has two constructors: a default one and another that accepts another \u003ccode\u003eTimeRange\u003c/code\u003e object as a parameter.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eTimeRange\u003c/code\u003e class has \u003ccode\u003eStartTime\u003c/code\u003e and \u003ccode\u003eEndTime\u003c/code\u003e properties, both of which are of type \u003ccode\u003eTimestamp\u003c/code\u003e and define the inclusive boundaries of the time range.\u003c/p\u003e\n"]]],[],null,[]]