DateTimeInterval(DateTimeOffset, DateTimeOffset) Constructor
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.
Initializes a new instance of DateTimeInterval.
public DateTimeInterval (DateTimeOffset startOn, DateTimeOffset endOn);
new Azure.ResourceManager.ResourceGraph.Models.DateTimeInterval : DateTimeOffset * DateTimeOffset -> Azure.ResourceManager.ResourceGraph.Models.DateTimeInterval
Public Sub New (startOn As DateTimeOffset, endOn As DateTimeOffset)
Parameters
- startOn
- DateTimeOffset
A datetime indicating the inclusive/closed start of the time interval, i.e. [
start
, end)
. Specifying a start
that occurs chronologically after end
will result in an error.
- endOn
- DateTimeOffset
A datetime indicating the exclusive/open end of the time interval, i.e. [start,
end
)
. Specifying an end
that occurs chronologically before start
will result in an error.
Applies to
Azure SDK for .NET