Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

An entity describing a period of time with an optional annotation.

Version 0.

...

2

Name

Type

Cardinality

Description

from

org.symphonyoss.time.millis [A]

org.symphonyoss.time.rfc3339 [A]

1

The start of the period of time (inclusive).

to

org.symphonyoss.time.millis [A]

org.symphonyoss.time.rfc3339 [A]

1The end of the period of time (inclusive).

annotation

org.symphonyoss.string [A]

0..1

A textual annotation.

presentationMLPresentationML1Default rendering

Example

Code Block
languagexml
titlePresentationML
<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>

 

<entity type=
Code Block
languagejs
titleEntityJSON
"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>
}