9 <meta name=
"viewport" content=
"width=1200, initial-scale=0.5">
11 <meta http-equiv=
"Content-Location" content=
"/v0.0/ion/Timestamp">
12 <link rel=
"stylesheet" href=
"index.css">
14 <link href=
"https://fonts.googleapis.com/css?family=Inconsolata&subset=latin-ext" rel=
"stylesheet">
15 <script src=
"//ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
16 <link rel=
"shortcut icon" href=
"/v0.0/favicon.ico">
24 <a href=
"./ion/Timestamp">Edit
</a>
29 <li>↰ <a href=
"./">Home
</a>
34 ↑ <a href=
"./ion">
40 ↻ <strong><a href=
"./ion/Timestamp">Timestamp
</a></strong>
46 ↳ <a href=
"./ion/Timestamp/Format">Format
</a>
51 ↳ <a href=
"./ion/Timestamp/Precision">Precision
</a>
56 ↳ <a href=
"./ion/Timestamp/__construct">Timestamp::__construct
</a>
65 <li>↲ <a href=
"./ion/Catalog">Catalog
</a></li>
67 <li>↲ <a href=
"./ion/Decimal">Decimal
</a></li>
69 <li>↲ <a href=
"./ion/Exception">Exception
</a></li>
71 <li>↲ <a href=
"./ion/LOB">LOB
</a></li>
73 <li>↲ <a href=
"./ion/Reader">Reader
</a></li>
75 <li>↲ <a href=
"./ion/Serializer">Serializer
</a></li>
77 <li>↲ <a href=
"./ion/Symbol">Symbol
</a></li>
79 <li>↲ <a href=
"./ion/Type">Type
</a></li>
81 <li>↲ <a href=
"./ion/Unserializer">Unserializer
</a></li>
83 <li>↲ <a href=
"./ion/Writer">Writer
</a></li>
85 <li>↲ <a href=
"./ion/serialize">serialize
</a></li>
87 <li>↲ <a href=
"./ion/unserialize">unserialize
</a></li>
96 <h1>class ion\Timestamp extends DateTime implements DateTimeInterface, Stringable
</h1>
97 <p>An ION Timestamp.
</p>
98 <p>See also
<a href=
"https://amzn.github.io/ion-docs/docs/spec.html#timestamp">the ION sepc's timestamp definintion
</a>, and
<a href=
"https://php.net/date">PHP's date documentation
</a>.
</p>
99 <h2>Constants:
<a id=
"Constants:" href=
"#Constants:" class=
"permalink" aria-hidden=
"true" title=
"">#
</a></h2>
101 <h2>Properties:
<a id=
"Properties:" href=
"#Properties:" class=
"permalink" aria-hidden=
"true" title=
"">#
</a></h2>
103 <li>public int $precision
<br />
104 The timestamp's precision. See ion\Timestamp\Precision.
</li>
105 <li>public string $format = NULL
<br />
106 The timestamp's format. See ion\Timestamp\Format.
</li>
111 <h2 id=
"Functions:">Functions:
</h2>
115 <h3><a href=
"ion/Timestamp/__construct">Timestamp::__construct
</a></h3>
116 <p>Create a new ION timestamp.
</p>
118 <p>void ion\Timestamp::__construct(ion\Timestamp\Precision|int $precision, [ion\Timestamp\Format|string|null $format = NULL, [?string $datetime = NULL, [?DateTimeZone $timezone = NULL]]])
</p>
124 <h2 id=
"Namespaces,.Interfaces.and.Classes:">Namespaces, Interfaces and Classes:
</h2>
128 <h3><a href=
"ion/Timestamp/Format">Format
</a></h3>
129 <p>Timestamp format.
</p>
131 <p>enum ion\Timestamp\Format implements BackedEnum, UnitEnum
</p>
135 <h3><a href=
"ion/Timestamp/Precision">Precision
</a></h3>
136 <p>Timestamp precision.
</p>
138 <p>enum ion\Timestamp\Precision implements BackedEnum, UnitEnum
</p>
143 <div id=
"disqus_thread"><button id=
"disqus_activator">Show
<span> </span> Comment(s)
</button></div>
145 var disqus_shortname = 'mdref';
146 var disqus_identifier = 'ion/Timestamp';
152 <li><a href=
"https://github.com/m6w6/mdref">mdref-v2.0
154 <li><a href=
"LICENSE">© 2013-
2022 All rights reserved.
</a></li>
161 <script src=
"index.js"></script>