2015-03-24 18:15:02 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-03-30 12:56:33 +00:00
|
|
|
<!-- $Revision$ -->
|
2015-03-24 18:15:02 +00:00
|
|
|
|
2015-09-23 15:35:13 +00:00
|
|
|
<phpdoc:classref xml:id="class.mongodb-bson-timestamp" xmlns:phpdoc="http://php.net/ns/phpdoc" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
2015-03-24 18:15:02 +00:00
|
|
|
|
2015-09-23 15:35:13 +00:00
|
|
|
<title>The MongoDB\BSON\Timestamp class</title>
|
|
|
|
<titleabbrev>MongoDB\BSON\Timestamp</titleabbrev>
|
2015-03-24 18:15:02 +00:00
|
|
|
|
|
|
|
<partintro>
|
|
|
|
|
2015-09-23 15:35:13 +00:00
|
|
|
<!-- {{{ MongoDB\BSON\Timestamp intro -->
|
|
|
|
<section xml:id="mongodb-bson-timestamp.intro">
|
2015-03-24 18:15:02 +00:00
|
|
|
&reftitle.intro;
|
|
|
|
<para>
|
2015-12-17 21:57:19 +00:00
|
|
|
Represents a
|
|
|
|
<link xlink:href="&url.mongodb.docs.bson;#timestamps">BSON timestamp</link>,
|
2017-08-11 00:09:58 +00:00
|
|
|
The value consists of a 4-byte timestamp (i.e. seconds since the epoch) and
|
|
|
|
a 4-byte increment.
|
2015-03-24 18:15:02 +00:00
|
|
|
</para>
|
2018-01-26 20:39:47 +00:00
|
|
|
<note>
|
|
|
|
<simpara>
|
2017-08-11 00:09:58 +00:00
|
|
|
This is an internal MongoDB type used for replication and sharding. It is
|
|
|
|
not intended for general date storage
|
|
|
|
(<classname>MongoDB\BSON\UTCDateTime</classname> should be used instead).
|
2018-01-26 20:39:47 +00:00
|
|
|
</simpara>
|
|
|
|
</note>
|
2015-03-24 18:15:02 +00:00
|
|
|
</section>
|
|
|
|
<!-- }}} -->
|
|
|
|
|
2015-09-23 15:35:13 +00:00
|
|
|
<section xml:id="mongodb-bson-timestamp.synopsis">
|
2015-03-24 18:15:02 +00:00
|
|
|
&reftitle.classsynopsis;
|
|
|
|
|
|
|
|
<!-- {{{ Synopsis -->
|
|
|
|
<classsynopsis>
|
2015-09-23 15:35:13 +00:00
|
|
|
<ooclass><classname>MongoDB\BSON\Timestamp</classname></ooclass>
|
2015-03-24 18:15:02 +00:00
|
|
|
|
|
|
|
<!-- {{{ Class synopsis -->
|
|
|
|
<classsynopsisinfo>
|
2018-03-14 17:24:49 +00:00
|
|
|
<modifier>final</modifier>
|
2015-03-24 18:15:02 +00:00
|
|
|
<ooclass>
|
2015-09-23 15:35:13 +00:00
|
|
|
<classname>MongoDB\BSON\Timestamp</classname>
|
2015-03-24 18:15:02 +00:00
|
|
|
</ooclass>
|
2017-08-28 21:41:45 +00:00
|
|
|
|
|
|
|
<oointerface>
|
|
|
|
<interfacename>MongoDB\BSON\TimestampInterface</interfacename>
|
|
|
|
</oointerface>
|
|
|
|
|
2015-03-24 18:15:02 +00:00
|
|
|
<oointerface>
|
2015-09-23 15:35:13 +00:00
|
|
|
<interfacename>MongoDB\BSON\Type</interfacename>
|
2015-03-24 18:15:02 +00:00
|
|
|
</oointerface>
|
2017-01-19 21:55:49 +00:00
|
|
|
|
|
|
|
<oointerface>
|
|
|
|
<interfacename>Serializable</interfacename>
|
|
|
|
</oointerface>
|
2017-01-20 16:51:04 +00:00
|
|
|
|
|
|
|
<oointerface>
|
|
|
|
<interfacename>JsonSerializable</interfacename>
|
|
|
|
</oointerface>
|
2015-03-24 18:15:02 +00:00
|
|
|
</classsynopsisinfo>
|
|
|
|
<!-- }}} -->
|
|
|
|
|
|
|
|
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
2015-09-23 15:35:13 +00:00
|
|
|
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.mongodb-bson-timestamp')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[not(@role='procedural')])" />
|
2015-03-24 18:15:02 +00:00
|
|
|
</classsynopsis>
|
|
|
|
<!-- }}} -->
|
|
|
|
|
|
|
|
</section>
|
|
|
|
|
2017-01-19 21:55:49 +00:00
|
|
|
<section role="changelog">
|
|
|
|
&reftitle.changelog;
|
|
|
|
<para>
|
|
|
|
<informaltable>
|
|
|
|
<tgroup cols="2">
|
|
|
|
<thead>
|
|
|
|
<row>
|
|
|
|
<entry>&Version;</entry>
|
|
|
|
<entry>&Description;</entry>
|
|
|
|
</row>
|
|
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<row>
|
|
|
|
<entry>1.2.0</entry>
|
|
|
|
<entry>
|
2017-01-20 16:51:04 +00:00
|
|
|
Implements <interfacename>Serializable</interfacename> and
|
|
|
|
<interfacename>JsonSerializable</interfacename>.
|
2017-01-19 21:55:49 +00:00
|
|
|
</entry>
|
|
|
|
</row>
|
|
|
|
</tbody>
|
|
|
|
</tgroup>
|
|
|
|
</informaltable>
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
2015-03-24 18:15:02 +00:00
|
|
|
</partintro>
|
|
|
|
|
|
|
|
&reference.mongodb.bson.entities.timestamp;
|
|
|
|
|
|
|
|
</phpdoc:classref>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|