GuideReference
TrainingSupportCommunity
Reference

time

  • Property Manager name: Time Interval
  • Criteria version: The v2023-01-05 rule format supports the time criteria v1.1.
  • Rule format status: GA, stable
  • Access: Read/Write
  • Allowed in includes: Yes

Specifies ranges of times during which the request occurred.

OptionTypeDescriptionRequires
match_​operatorenum

Specifies how to define the range of time.

{"displayType":"enum","options":["BEGINNING","BETWEEN","LASTING","REPEATING"],"tag":"select"}
BEGINNING

The duration is indefinite, using the value of begin_​date.

BETWEEN

Sets a single range between two dates, using the values of begin_​date and end_​date.

LASTING

Sets a single range, but based on duration relative to the starting time. It relies on the values of lasting_​date and lasting_​duration.

REPEATING

Allows a LASTING-style range to repeat at regular intervals. It relies on the values of repeat_​begin_​date, repeat_​duration, and repeat_​interval.

repeat_​intervalstring (duration)

Sets the time between each repeating time period's starting points.

match_​operator is REPEATING
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"matchOperator","op":"eq","value":"REPEATING"}}
repeat_​durationstring (duration)

Sets the duration of each repeating time period.

match_​operator is REPEATING
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"matchOperator","op":"eq","value":"REPEATING"}}
lasting_​durationstring (duration)

Specifies the end of a time period as a duration relative to the lasting_​date.

match_​operator is LASTING
{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"matchOperator","op":"eq","value":"LASTING"}}
lasting_​datestring (timestamp)

Sets the start of a fixed time period.

match_​operator is LASTING
{"displayType":"string","tag":"input","type":"datetime-local"}
{"if":{"attribute":"matchOperator","op":"eq","value":"LASTING"}}
repeat_​begin_​datestring (timestamp)

Sets the start of the initial time period.

match_​operator is REPEATING
{"displayType":"string","tag":"input","type":"datetime-local"}
{"if":{"attribute":"matchOperator","op":"eq","value":"REPEATING"}}
apply_​daylight_​savings_​timeboolean

Adjusts the start time plus repeat interval to account for daylight saving time. Applies when the current time and the start time use different systems, daylight and standard, and the two values are in conflict.

match_​operator is REPEATING
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"matchOperator","op":"eq","value":"REPEATING"}}
begin_​datestring (timestamp)

Sets the start of a time period.

match_​operator is BEGINNING
OR match_​operator is BETWEEN
{"displayType":"string","tag":"input","type":"datetime-local"}
{"if":{"op":"or","params":[{"attribute":"matchOperator","op":"eq","value":"BEGINNING"},{"attribute":"matchOperator","op":"eq","value":"BETWEEN"}]}}
end_​datestring (timestamp)

Sets the end of a fixed time period.

match_​operator is BETWEEN
{"displayType":"string","tag":"input","type":"datetime-local"}
{"if":{"attribute":"matchOperator","op":"eq","value":"BETWEEN"}}