docs: adapt to public gh-pages
[awesomized/ext-ion] / docs / v0.0 / ion / Timestamp / __construct.html
1 <!doctype html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>
6 Timestamp::__construct -
7 mdref
8 </title>
9 <meta name="viewport" content="width=1200, initial-scale=0.5">
10 <base href="/ext-ion/v0.0/">
11 <meta http-equiv="Content-Location" content="/ext-ion/v0.0/ion/Timestamp/__construct">
12 <link rel="stylesheet" href="index.css">
13
14 <link href="https://fonts.googleapis.com/css?family=Inconsolata&amp;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="/ext-ion/v0.0/favicon.ico">
17 </head>
18 <body>
19 <div class="page">
20
21 <div class="sidebar">
22
23 <div class="edit">
24 <a href="./ion/Timestamp/__construct">Edit</a>
25 </div>
26
27
28 <ul>
29 <li>&lsh; <a href="./">Home</a>
30
31 <ul>
32 <li>
33
34 &uarr; <a href="./ion">
35 ion
36 </a>
37 <ul>
38 <li>
39
40 &uarr; <a href="./ion/Timestamp">
41 Timestamp
42 </a>
43 <ul>
44 <li>
45
46 &circlearrowright; <strong><a href="./ion/Timestamp/__construct">Timestamp::__construct</a></strong>
47
48
49
50 </ul>
51
52 <li>&ldsh; <a href="./ion/Timestamp/Format">Format</a></li>
53
54 <li>&ldsh; <a href="./ion/Timestamp/Precision">Precision</a></li>
55
56 </ul>
57
58 </li>
59 </ul>
60
61 </li>
62 </ul>
63 </div>
64 <meta charset="utf-8"><h1>
65 <a class="permalink" href="ion/Timestamp/__construct#">#</a><code><a href="https://php.net/manual/en/language.types.declarations#language.types.declarations.void">void</a></code> <a href="ion/Timestamp/__construct">ion\Timestamp::__construct</a>(<a href="ion/Timestamp/Precision">ion\Timestamp\Precision</a>|<code><a href="https://php.net/manual/en/language.types.integer">int</a></code> <span class="var">$precision</span>, [<a href="ion/Timestamp/Format">ion\Timestamp\Format</a>|<code><a href="https://php.net/manual/en/language.types.string">string</a></code>|<code><a href="https://php.net/manual/en/language.types.null">null</a></code> <span class="var">$format</span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code>, [?<code><a href="https://php.net/manual/en/language.types.string">string</a></code> <span class="var">$datetime</span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code>, [?<code><a href="https://php.net/manual/en/class.datetimezone">DateTimeZone</a></code> <span class="var">$timezone</span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code>]]])</h1><p>Create a new ION timestamp.</p><h2 id="Params:">Params:<a class="permalink" href="ion/Timestamp/__construct#Params:">#</a>
66 </h2><ul>
67 <li>
68 <a href="ion/Timestamp/Precision">ion\Timestamp\Precision</a>|<code><a href="https://php.net/manual/en/language.types.integer">int</a></code> <span class="var" id="$precision">$precision<a class="permalink" href="ion/Timestamp/__construct#%24precision">#</a></span><br>
69 The timestamp's precision. See <a href="ion/Timestamp/Precision">ion\Timestamp\Precision</a>.</li>
70 <li>Optional <a href="ion/Timestamp/Format">ion\Timestamp\Format</a>|<code><a href="https://php.net/manual/en/language.types.string">string</a></code>|<code><a href="https://php.net/manual/en/language.types.null">null</a></code> <span class="var" id="$format">$format<a class="permalink" href="ion/Timestamp/__construct#%24format">#</a></span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code><br>
71 The timestamp's format. See <a href="ion/Timestamp/Format">ion\Timestamp\Format</a>.</li>
72 <li>Optional ?<code><a href="https://php.net/manual/en/language.types.string">string</a></code> <span class="var" id="$datetime">$datetime<a class="permalink" href="ion/Timestamp/__construct#%24datetime">#</a></span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code><br>
73 The timestamp's value.</li>
74 <li>Optional ?<code><a href="https://php.net/manual/en/class.datetimezone">DateTimeZone</a></code> <span class="var" id="$timezone">$timezone<a class="permalink" href="ion/Timestamp/__construct#%24timezone">#</a></span> = <code><a href="https://php.net/manual/en/language.types.null">NULL</a></code><br>
75 The timestamp's timezone.</li>
76 </ul>
77 <div id="disqus_thread"><button id="disqus_activator">Show <span> </span> Comment(s)</button></div>
78 <script>
79 var disqus_shortname = 'mdref';
80 var disqus_identifier = 'ion/Timestamp/__construct';
81 </script>
82
83 <footer>
84
85 <ul>
86 <li><a href="https://github.com/m6w6/mdref">mdref-v3.0
87 </a></li>
88 <li><a href="LICENSE">&copy; 2013-2022 All rights reserved.</a></li>
89 <li>
90 </li>
91 </ul>
92
93 </footer>
94
95 <script src="index.js"></script>
96
97 </div>
98 </body>
99 </html>