Standardize a context type representing a range of time: TimeRange #646
Closed
Labels
Context Data & Intents
Contexts & Intents Discussion Group
context-data
FDC3 Context Data Working Group
enhancement
New feature or request
Milestone
Enhancement Request (edited 6th May 2022)
Create a context type that can be used to represent a period of time.
Use Case:
Any user interfaces that represent or visualise events or activity over time can be filtered or focused on a particular time period, e.g.:
A time period may be closed (i.e. start and end date are both known) or open (i.e. only the start date is known, an end date will be known in the future, e.g. when an order is filled).
Example application in a raised intent:
Example application as a broadcast context:
Contexts
TimeRange
Represents a specific period of time.
Details
type
"fdc3.timeRange"
startTime
"2022-03-30T15:44:44+00:00"
endTime
"2022-04-30T23:59:59+00:00"
* The time should be encoded in the ISO 8601-1:2019 format with a timezone indicator included
Example
A closed range:
An open range:
Additional Information
The format of the strings representing times should refer to advice in the standard about formats, as proposed in: #645, with a note/link appearing in this context definition.
The text was updated successfully, but these errors were encountered: