public sealed class 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 webpage provides documentation for the `Condition.Types.TimeRange` class within the Retail v2 API for .NET, which is utilized for defining time-dependent conditions in retail applications."],["The `Condition.Types.TimeRange` class implements several interfaces, including `IMessage`, `IEquatable`, `IDeepCloneable`, and `IBufferMessage`, indicating its capabilities for serialization, comparison, deep cloning, and buffer message handling."],["The documentation includes a list of available versions of the `Condition.Types.TimeRange` class, with version 2.12.0 being the latest and version 1.0.0 being the earliest."],["The class offers two constructors: a default `TimeRange()` constructor and a constructor `TimeRange(Condition.Types.TimeRange other)` that allows for creating a new `TimeRange` object from an existing one."],["The class contains `StartTime` and `EndTime` properties, both of type Timestamp, to designate the inclusive start and end times of the specified time range."]]],[]]