An entity describing a period of time with an optional annotation.
Version 0.
...
2
Name | Type | Cardinality | Description |
from | 1 | The start of the period of time (inclusive). | |
to | 1 | The end of the period of time (inclusive). | |
annotation | 0..1 | A textual annotation. | |
presentationML | PresentationML | 1 | Default rendering |
Example
Code Block | ||||
---|---|---|---|---|
| ||||
<presentationML>
Period of interest <div class="entity" data-entity_id="may20">.
from Friday, May 20, 2016 14:20:00 PST until Sunday, May 22, 2016 07:30:00 PST
</div>
</presentationML> |
Code Block | ||||
---|---|---|---|---|
| ||||
"may20": { "type": ”org.symphonyoss.time.range”/> <attribute name=”from” type=, "version": "0.2", ”from”: { "type": ”org.symphonyoss.time.millis”, value=1463754000000/> <attribute name=”to” type= "value": 1463754000000 }, ”to”: { "type": ”org.symphonyoss.time.millis”, value=1463931000000/> <attribute name=”annotation” type=”org.symphonyoss.string” value=”Period "value": 1463931000000 } "annotation": { "type": "org.symphonyoss.string", "value": "Period of interest.”/>" <presentationML>Period of interest from Friday, May 20, 2016 14:20:00 PST until Sunday, May 22, 2016 07:30:00 PST.</presentationML> </entity> } |