diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-12-11 21:51:41 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-12-11 21:51:41 +0100 |
commit | ce3efae11ca9aa59f99d7f3c57b73f75f93564df (patch) | |
tree | 828603591183836d07df2aa9b878c818b503e2e8 /core | |
parent | 704f3592f1e9308336567dd39c1f24ce90cbb39d (diff) | |
download | docs-ce3efae11ca9aa59f99d7f3c57b73f75f93564df.tar.gz docs-ce3efae11ca9aa59f99d7f3c57b73f75f93564df.tar.bz2 docs-ce3efae11ca9aa59f99d7f3c57b73f75f93564df.zip |
changing time API
Diffstat (limited to 'core')
-rw-r--r-- | core/api-common.rst | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/core/api-common.rst b/core/api-common.rst index 6b0f7929..696dc4f2 100644 --- a/core/api-common.rst +++ b/core/api-common.rst @@ -262,18 +262,19 @@ Timestamps are represented by the following structure: .. ts:def:: Timestamp interface Timestamp { - // Milliseconds since epoch, or the special + // Seconds since epoch, or the special // value "never" to represent an event that will // never happen. - t_ms: number | "never"; + t_s: number | "never"; } .. ts:def:: RelativeTime interface Duration { - // Duration in milliseconds or "forever" - // to represent an infinite duration. - d_ms: number | "forever"; + // Duration in microseconds or "forever" + // to represent an infinite duration. Numeric + // values are capped at 2^53 - 1 inclusive. + d_us: number | "forever"; } |