126 строки
8.2 KiB
YAML
126 строки
8.2 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.containerservice.models.DateSpan"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan"
|
|
name: "DateSpan"
|
|
nameWithType: "DateSpan"
|
|
summary: "A date range."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **DateSpan**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.containerservice.models.DateSpan?alt=com.azure.resourcemanager.containerservice.models.DateSpan&text=DateSpan\" data-throw-if-not-resolved=\"False\" />>"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.containerservice.models.DateSpan.DateSpan()"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan.DateSpan()"
|
|
name: "DateSpan()"
|
|
nameWithType: "DateSpan.DateSpan()"
|
|
summary: "Creates an instance of Date<wbr>Span class."
|
|
syntax: "public DateSpan()"
|
|
desc: "Creates an instance of DateSpan class."
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.containerservice.models.DateSpan.end()"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan.end()"
|
|
name: "end()"
|
|
nameWithType: "DateSpan.end()"
|
|
summary: "Get the end property: The end date of the date span."
|
|
syntax: "public LocalDate end()"
|
|
desc: "Get the end property: The end date of the date span."
|
|
returns:
|
|
description: "the end value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html\">LocalDate</a>"
|
|
- uid: "com.azure.resourcemanager.containerservice.models.DateSpan.fromJson(com.azure.json.JsonReader)"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan.fromJson(JsonReader jsonReader)"
|
|
name: "fromJson(JsonReader jsonReader)"
|
|
nameWithType: "DateSpan.fromJson(JsonReader jsonReader)"
|
|
summary: "Reads an instance of Date<wbr>Span from the Json<wbr>Reader."
|
|
modifiers:
|
|
- "static"
|
|
parameters:
|
|
- description: "The JsonReader being read."
|
|
name: "jsonReader"
|
|
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public static DateSpan fromJson(JsonReader jsonReader)"
|
|
exceptions:
|
|
- description: "If the deserialized JSON object was missing any required properties."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
desc: "Reads an instance of DateSpan from the JsonReader."
|
|
returns:
|
|
description: "An instance of DateSpan if the JsonReader was pointing to an instance of it, or null if it was pointing\n to JSON null."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerservice.models.DateSpan?alt=com.azure.resourcemanager.containerservice.models.DateSpan&text=DateSpan\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerservice.models.DateSpan.start()"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan.start()"
|
|
name: "start()"
|
|
nameWithType: "DateSpan.start()"
|
|
summary: "Get the start property: The start date of the date span."
|
|
syntax: "public LocalDate start()"
|
|
desc: "Get the start property: The start date of the date span."
|
|
returns:
|
|
description: "the start value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html\">LocalDate</a>"
|
|
- uid: "com.azure.resourcemanager.containerservice.models.DateSpan.toJson(com.azure.json.JsonWriter)"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan.toJson(JsonWriter jsonWriter)"
|
|
name: "toJson(JsonWriter jsonWriter)"
|
|
nameWithType: "DateSpan.toJson(JsonWriter jsonWriter)"
|
|
parameters:
|
|
- name: "jsonWriter"
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerservice.models.DateSpan.validate()"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan.validate()"
|
|
name: "validate()"
|
|
nameWithType: "DateSpan.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.containerservice.models.DateSpan.withEnd(java.time.LocalDate)"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan.withEnd(LocalDate end)"
|
|
name: "withEnd(LocalDate end)"
|
|
nameWithType: "DateSpan.withEnd(LocalDate end)"
|
|
summary: "Set the end property: The end date of the date span."
|
|
parameters:
|
|
- description: "the end value to set."
|
|
name: "end"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html\">LocalDate</a>"
|
|
syntax: "public DateSpan withEnd(LocalDate end)"
|
|
desc: "Set the end property: The end date of the date span."
|
|
returns:
|
|
description: "the DateSpan object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerservice.models.DateSpan?alt=com.azure.resourcemanager.containerservice.models.DateSpan&text=DateSpan\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.containerservice.models.DateSpan.withStart(java.time.LocalDate)"
|
|
fullName: "com.azure.resourcemanager.containerservice.models.DateSpan.withStart(LocalDate start)"
|
|
name: "withStart(LocalDate start)"
|
|
nameWithType: "DateSpan.withStart(LocalDate start)"
|
|
summary: "Set the start property: The start date of the date span."
|
|
parameters:
|
|
- description: "the start value to set."
|
|
name: "start"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/time/LocalDate.html\">LocalDate</a>"
|
|
syntax: "public DateSpan withStart(LocalDate start)"
|
|
desc: "Set the start property: The start date of the date span."
|
|
returns:
|
|
description: "the DateSpan object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.containerservice.models.DateSpan?alt=com.azure.resourcemanager.containerservice.models.DateSpan&text=DateSpan\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "A date range. For example, between '2022-12-23' and '2023-01-05'."
|
|
implements:
|
|
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" /><<xref href=\"com.azure.resourcemanager.containerservice.models.DateSpan?alt=com.azure.resourcemanager.containerservice.models.DateSpan&text=DateSpan\" data-throw-if-not-resolved=\"False\" />>"
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.containerservice.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-containerservice:2.44.0
|