DateSpan 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.
A date range. For example, between '2022-12-23' and '2023-01-05'.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.DateSpanTypeConverter))]
public class DateSpan : Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IDateSpan
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.DateSpanTypeConverter))>]
type DateSpan = class
interface IDateSpan
interface IJsonSerializable
Public Class DateSpan
Implements IDateSpan
- Inheritance
-
DateSpan
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| DateSpan() |
Creates an new DateSpan instance. |
Properties
| Name | Description |
|---|---|
| End |
The end date of the date span. |
| Start |
The start date of the date span. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of DateSpan. |
| DeserializeFromPSObject(PSObject) | |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Aks.Models.IDateSpan. |
| FromJsonString(String) |
Creates a new instance of DateSpan, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) | |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |