Skip to content

Commit

Permalink
docs: add time value section (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vijeinath committed Nov 18, 2021
1 parent af70e9b commit 8ef0329
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions docs/dsp-tools-create.md
Expand Up @@ -628,6 +628,33 @@ which means anytime in between 1925 and the 22nd March 1927.
}
```

###### TimeValue

`"object": "TimeValue"`

A time value represents a precise moment in time in the Gregorian calendar. Since nanosecond precision can be included, it is suitable for use as a timestamp.

*gui-elements / gui_attributes*:

- `TimeStamp`: A GUI element for _TimeValue_ which contains a date picker and a time picker.
- _gui_attributes_: No attributes

*Example:*

```json
{
"name": "hasTime",
"super": [
"hasValue"
],
"object": "TimeValue",
"labels": {
"en": "Time"
},
"gui_element": "TimeStamp"
}
```

###### DecimalValue

`"object": "DecimalValue"`
Expand Down

0 comments on commit 8ef0329

Please sign in to comment.