Update "datetime" documentation in Definitions.xid.xml
Showing
1 changed file
with
12 additions
and
6 deletions
| ... | @@ -113,13 +113,13 @@ | ... | @@ -113,13 +113,13 @@ | 
| 113 | <type name="float16" size="4"> | 113 | <type name="float16" size="4"> | 
| 114 | <comment>32-bit, IEEE 754 binary16</comment> | 114 | <comment>32-bit, IEEE 754 binary16</comment> | 
| 115 | <comment>C/cpp usually a "float"</comment> | 115 | <comment>C/cpp usually a "float"</comment> | 
| 116 | <artifact>https://en.wikipedia.org/wiki/Half-precision_floating-point_format</artifact> | 116 | <artifact>https://wikipedia.org/wiki/Half-precision_floating-point_format</artifact> | 
| 117 | </type> | 117 | </type> | 
| 118 | --> | 118 | --> | 
| 119 | 119 | ||
| 120 | <type name="float32" size="4"> | 120 | <type name="float32" size="4"> | 
| 121 | <comment>32-bit, IEEE 754 binary32</comment> | 121 | <comment>32-bit, IEEE 754 binary32</comment> | 
| 122 | <artifact>https://en.wikipedia.org/wiki/Single-precision_floating-point_format</artifact> | 122 | <artifact>https://wikipedia.org/wiki/Single-precision_floating-point_format</artifact> | 
| 123 | <lang name="c" type="float"/> | 123 | <lang name="c" type="float"/> | 
| 124 | <lang name="cpp" type="float"/> | 124 | <lang name="cpp" type="float"/> | 
| 125 | <lang name="java" type="XidFloat" include="com.comtechtel.tensor.xid.XidFloat"/> | 125 | <lang name="java" type="XidFloat" include="com.comtechtel.tensor.xid.XidFloat"/> | 
| ... | @@ -127,7 +127,7 @@ | ... | @@ -127,7 +127,7 @@ | 
| 127 | </type> | 127 | </type> | 
| 128 | <type name="float64" size="8"> | 128 | <type name="float64" size="8"> | 
| 129 | <comment>64-bit, IEEE 754 binary64</comment> | 129 | <comment>64-bit, IEEE 754 binary64</comment> | 
| 130 | <artifact>https://en.wikipedia.org/wiki/Double-precision_floating-point_format</artifact> | 130 | <artifact>https://wikipedia.org/wiki/Double-precision_floating-point_format</artifact> | 
| 131 | <lang name="c" type="double"/> | 131 | <lang name="c" type="double"/> | 
| 132 | <lang name="cpp" type="double"/> | 132 | <lang name="cpp" type="double"/> | 
| 133 | <lang name="java" type="XidDouble" include="com.comtechtel.tensor.xid.XidDouble"/> | 133 | <lang name="java" type="XidDouble" include="com.comtechtel.tensor.xid.XidDouble"/> | 
| ... | @@ -136,7 +136,7 @@ | ... | @@ -136,7 +136,7 @@ | 
| 136 | <!-- | 136 | <!-- | 
| 137 | <type name="float128" size="8"> | 137 | <type name="float128" size="8"> | 
| 138 | <comment>128-bit, IEEE 754 binary128</comment> | 138 | <comment>128-bit, IEEE 754 binary128</comment> | 
| 139 | <artifact>https://en.wikipedia.org/wiki/Quadruple-precision_floating-point_format</artifact> | 139 | <artifact>https://wikipedia.org/wiki/Quadruple-precision_floating-point_format</artifact> | 
| 140 | <lang name="cpp" type="long double"/> | 140 | <lang name="cpp" type="long double"/> | 
| 141 | </type> | 141 | </type> | 
| 142 | --> | 142 | --> | 
| ... | @@ -166,7 +166,12 @@ | ... | @@ -166,7 +166,12 @@ | 
| 166 | </type> | 166 | </type> | 
| 167 | 167 | ||
| 168 | <type name="datetime" size="8"> | 168 | <type name="datetime" size="8"> | 
| 169 | <comment>nanoseconds since Jan 1, 1970.</comment> | 169 | <comment> | 
| 170 | nanoseconds since Jan 1, 1970 UTC. | ||
| 171 | ISO-8601 for string formats (e.g. JSON). | ||
| 172 | </comment> | ||
| 173 | <artifact>https://www.iso.org/standard/40874.html</artifact> | ||
| 174 | <articact>https://wikipedia.org/wiki/ISO_8601</articact> | ||
| 170 | <lang name="c" type="uint64_t" include="stdint.h"/> | 175 | <lang name="c" type="uint64_t" include="stdint.h"/> | 
| 171 | <lang name="cpp" type="::Tensor::Types::DateTime" include="Tensor/Types/DateTime.h"/> | 176 | <lang name="cpp" type="::Tensor::Types::DateTime" include="Tensor/Types/DateTime.h"/> | 
| 172 | <lang name="java" type="XidDateTime" include="com.comtechtel.tensor.xid.XidDateTime"/> | 177 | <lang name="java" type="XidDateTime" include="com.comtechtel.tensor.xid.XidDateTime"/> | 
| ... | @@ -174,7 +179,8 @@ | ... | @@ -174,7 +179,8 @@ | 
| 174 | </type> | 179 | </type> | 
| 175 | 180 | ||
| 176 | <type name="UUID" size="16"> | 181 | <type name="UUID" size="16"> | 
| 177 | <comment>16 byte UUID</comment> | 182 | <comment>16 byte UUID.</comment> | 
| 183 | <artifact>https://wikipedia.org/wiki/Universally_unique_identifier</artifact> | ||
| 178 | <lang name="c" type="UUID" include="Tensor/CXMF/uuid.h"/> | 184 | <lang name="c" type="UUID" include="Tensor/CXMF/uuid.h"/> | 
| 179 | <lang name="cpp" type="::Tensor::Types::UUID" include="Tensor/Types/uuid.h"/> | 185 | <lang name="cpp" type="::Tensor::Types::UUID" include="Tensor/Types/uuid.h"/> | 
| 180 | <lang name="java" type="XidUuid" include="com.comtechtel.tensor.xid.XidUuid"/> | 186 | <lang name="java" type="XidUuid" include="com.comtechtel.tensor.xid.XidUuid"/> | ... | ... | 
- 
Please register or sign in to post a comment