Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add time value section #116

Merged
merged 2 commits into from Nov 18, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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