Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IsNotInDuration

Validates that the given date or time (as a slot value) is not in a given interval. Unlike other range validations, duration based validations lets the developer define a dynamic range of date or time using ISO_8601 Duration Format. Based on the given 'start' and 'end' parameters an interval is created. The slot value given by the skill's user at runtime is then validated inside this interval. Both 'start' and 'end' parameters are in reference to the current date/time. Here the current date/time refers to the date/time when the skill's user made the request.

interface

Hierarchy

  • IsNotInDuration

Index

Properties

Properties

Optional end

end: string

prompt

prompt: string

Optional start

start: string

type

type: "IsNotInDuration"