DateTimeInterval Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An interval in time specifying the date and time for the inclusive start and exclusive end, i.e. [start, end)
.
public class DateTimeInterval
public class DateTimeInterval : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ResourceGraph.Models.DateTimeInterval>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ResourceGraph.Models.DateTimeInterval>
type DateTimeInterval = class
type DateTimeInterval = class
interface IJsonModel<DateTimeInterval>
interface IPersistableModel<DateTimeInterval>
Public Class DateTimeInterval
Public Class DateTimeInterval
Implements IJsonModel(Of DateTimeInterval), IPersistableModel(Of DateTimeInterval)
- Inheritance
-
DateTimeInterval
- Implements
Constructors
DateTimeInterval(DateTimeOffset, DateTimeOffset) |
Initializes a new instance of DateTimeInterval. |
Properties
EndOn |
A datetime indicating the exclusive/open end of the time interval, i.e. |
StartOn |
A datetime indicating the inclusive/closed start of the time interval, i.e. |
Methods
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) |
Explicit Interface Implementations
IJsonModel<DateTimeInterval>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<DateTimeInterval>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<DateTimeInterval>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<DateTimeInterval>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<DateTimeInterval>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET