public class RuntimeEntityInterpretation
extends com.ibm.cloud.sdk.core.service.model.GenericModel
Modifier and Type | Class and Description |
---|---|
static class |
RuntimeEntityInterpretation.Builder
Builder.
|
static interface |
RuntimeEntityInterpretation.Granularity
The precision or duration of a time range specified by a recognized `@sys-time` or `@sys-date`
entity.
|
Modifier and Type | Method and Description |
---|---|
String |
calendarType()
Gets the calendarType.
|
String |
datetimeLink()
Gets the datetimeLink.
|
String |
festival()
Gets the festival.
|
String |
granularity()
Gets the granularity.
|
RuntimeEntityInterpretation.Builder |
newBuilder()
New builder.
|
Double |
numericValue()
Gets the numericValue.
|
String |
partOfDay()
Gets the partOfDay.
|
String |
rangeLink()
Gets the rangeLink.
|
String |
rangeModifier()
Gets the rangeModifier.
|
Double |
relativeDay()
Gets the relativeDay.
|
Double |
relativeHour()
Gets the relativeHour.
|
Double |
relativeMinute()
Gets the relativeMinute.
|
Double |
relativeMonth()
Gets the relativeMonth.
|
Double |
relativeSecond()
Gets the relativeSecond.
|
Double |
relativeWeek()
Gets the relativeWeek.
|
Double |
relativeWeekend()
Gets the relativeWeekend.
|
Double |
relativeYear()
Gets the relativeYear.
|
Double |
specificDay()
Gets the specificDay.
|
String |
specificDayOfWeek()
Gets the specificDayOfWeek.
|
Double |
specificHour()
Gets the specificHour.
|
Double |
specificMinute()
Gets the specificMinute.
|
Double |
specificMonth()
Gets the specificMonth.
|
Double |
specificQuarter()
Gets the specificQuarter.
|
Double |
specificSecond()
Gets the specificSecond.
|
Double |
specificYear()
Gets the specificYear.
|
String |
subtype()
Gets the subtype.
|
String |
timezone()
Gets the timezone.
|
public RuntimeEntityInterpretation.Builder newBuilder()
public String calendarType()
The calendar used to represent a recognized date (for example, `Gregorian`).
public String datetimeLink()
A unique identifier used to associate a recognized time and date. If the user input contains a date and time that are mentioned together (for example, `Today at 5`, the same **datetime_link** value is returned for both the `@sys-date` and `@sys-time` entities).
public String festival()
A locale-specific holiday name (such as `thanksgiving` or `christmas`). This property is included when a `@sys-date` entity is recognized based on a holiday name in the user input.
public String granularity()
The precision or duration of a time range specified by a recognized `@sys-time` or `@sys-date` entity.
public String rangeLink()
A unique identifier used to associate multiple recognized `@sys-date`, `@sys-time`, or `@sys-number` entities that are recognized as a range of values in the user's input (for example, `from July 4 until July 14` or `from 20 to 25`).
public String rangeModifier()
The word in the user input that indicates that a `sys-date` or `sys-time` entity is part of an implied range where only one date or time is specified (for example, `since` or `until`).
public Double relativeDay()
A recognized mention of a relative day, represented numerically as an offset from the current date (for example, `-1` for `yesterday` or `10` for `in ten days`).
public Double relativeMonth()
A recognized mention of a relative month, represented numerically as an offset from the current month (for example, `1` for `next month` or `-3` for `three months ago`).
public Double relativeWeek()
A recognized mention of a relative week, represented numerically as an offset from the current week (for example, `2` for `in two weeks` or `-1` for `last week).
public Double relativeWeekend()
A recognized mention of a relative date range for a weekend, represented numerically as an offset from the current weekend (for example, `0` for `this weekend` or `-1` for `last weekend`).
public Double relativeYear()
A recognized mention of a relative year, represented numerically as an offset from the current year (for example, `1` for `next year` or `-5` for `five years ago`).
public Double specificDay()
A recognized mention of a specific date, represented numerically as the date within the month (for example, `30` for `June 30`.).
public String specificDayOfWeek()
A recognized mention of a specific day of the week as a lowercase string (for example, `monday`).
public Double specificMonth()
A recognized mention of a specific month, represented numerically (for example, `7` for `July`).
public Double specificQuarter()
A recognized mention of a specific quarter, represented numerically (for example, `3` for `the third quarter`).
public Double specificYear()
A recognized mention of a specific year (for example, `2016`).
public Double numericValue()
A recognized numeric value, represented as an integer or double.
public String subtype()
The type of numeric value recognized in the user input (`integer` or `rational`).
public String partOfDay()
A recognized term for a time that was mentioned as a part of the day in the user's input (for example, `morning` or `afternoon`).
public Double relativeHour()
A recognized mention of a relative hour, represented numerically as an offset from the current hour (for example, `3` for `in three hours` or `-1` for `an hour ago`).
public Double relativeMinute()
A recognized mention of a relative time, represented numerically as an offset in minutes from the current time (for example, `5` for `in five minutes` or `-15` for `fifteen minutes ago`).
public Double relativeSecond()
A recognized mention of a relative time, represented numerically as an offset in seconds from the current time (for example, `10` for `in ten seconds` or `-30` for `thirty seconds ago`).
public Double specificHour()
A recognized specific hour mentioned as part of a time value (for example, `10` for `10:15 AM`.).
public Double specificMinute()
A recognized specific minute mentioned as part of a time value (for example, `15` for `10:15 AM`.).
public Double specificSecond()
A recognized specific second mentioned as part of a time value (for example, `30` for `10:15:30 AM`.).
public String timezone()
A recognized time zone mentioned as part of a time value (for example, `EST`).
Copyright © 2023 IBM Cloud. All rights reserved.