hydra-kernel-0.18.1: hydra-kernel-json/hydra/core/time.json
{
"name": "hydra.core.time",
"metadata": {"description": "A model for points in time", "comments": [], "seeAlso": [], "provisions": []},
"dependencies": [],
"definitions": [
{
"type": {
"name": "hydra.core.time.Timespec",
"body": {
"variables": [],
"body": {
"annotated": {
"body": {
"record": [
{
"name": "seconds",
"type": {
"annotated": {
"body": {"literal": {"integer": "int64"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "Whole seconds since the Unix Epoch; signed, so instants in the far past or distant future are representable"}}}]}}}},
{
"name": "nanoseconds",
"type": {
"annotated": {
"body": {"literal": {"integer": "uint32"}},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {"string": "Nanoseconds within the second, in the range [0, 999999999]; unsigned, as the value is never negative"}}}]}}}}]},
"annotation": {
"map": [
{
"key": {"variable": "description"},
"value": {
"literal": {
"string": "The POSIX struct timespec, with the same semantics: an instant in time as a number of seconds and nanoseconds since the Unix Epoch (1970-01-01T00:00:00Z). The actual resolution is implementation- and filesystem-defined. See <time.h> (https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/time.h.html) and XBD section 4.19, \"Seconds Since the Epoch\" (https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/V1_chap04.html#tag_04_19)."}}}]}}},
"constraints": []}}}]}