ContentDateField Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. ContentField - com.
azure. ai. contentunderstanding. models. ContentDateField
- com.
- com.
public final class ContentDateField
extends ContentField
Date field extracted from the content.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
|
Content |
getType()
Get the type property: Semantic data type of the field value. |
|
Local |
getValue()
Gets the strongly-typed value of this field. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from ContentField
Methods inherited from java.lang.Object
Method Details
fromJson
public static ContentDateField fromJson(JsonReader jsonReader)
Reads an instance of ContentDateField from the JsonReader.
Parameters:
Returns:
Throws:
getType
public ContentFieldType getType()
Get the type property: Semantic data type of the field value.
Overrides:
ContentDateField.getType()Returns:
getValue
public LocalDate getValue()
Gets the strongly-typed value of this field.
Overrides:
ContentDateField.getValue()Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
ContentDateField.toJson(JsonWriter jsonWriter)Parameters:
Throws: