<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/mongodb.bson.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'class.mongodb-bson-utcdatetimeinterface.php',
    1 => 'MongoDB\\BSON\\UTCDateTimeInterface',
    2 => 'The MongoDB\\BSON\\UTCDateTimeInterface interface',
  ),
  'up' => 
  array (
    0 => 'mongodb.bson.php',
    1 => 'MongoDB\\BSON',
  ),
  'prev' => 
  array (
    0 => 'mongodb-bson-timestampinterface.tostring.php',
    1 => 'MongoDB\\BSON\\TimestampInterface::__toString',
  ),
  'next' => 
  array (
    0 => 'mongodb-bson-utcdatetimeinterface.todatetime.php',
    1 => 'MongoDB\\BSON\\UTCDateTimeInterface::toDateTime',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/bson/utcdatetimeinterface.xml',
  ),
  'history' => 
  array (
  ),
  'extra_header_links' => 
  array (
    'rel' => 'alternate',
    'href' => '/manual/en/feeds/class.mongodb-bson-utcdatetimeinterface.atom',
    'type' => 'application/atom+xml',
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="class.mongodb-bson-utcdatetimeinterface" class="reference">

 <h1 class="title">The MongoDB\BSON\UTCDateTimeInterface interface</h1>
 

 <div class="partintro"><p class="verinfo">(mongodb &gt;=1.3.0)</p>
  <div class="section" id="mongodb-bson-utcdatetimeinterface.intro">
   <h2 class="title">Einführung</h2>
   <p class="simpara">
    This interface is implemented by
    <span class="classname"><a href="class.mongodb-bson-utcdatetime.php" class="classname">MongoDB\BSON\UTCDateTime</a></span> to be used as a
    parameter, return, or property type in userland classes.
   </p>
  </div>

  <div class="section" id="mongodb-bson-utcdatetimeinterface.synopsis">
   <h2 class="title">Klassenbeschreibung</h2>
   <div class="classsynopsis">
    <span class="ooclass"><strong class="classname"></strong></span>
    <div class="classsynopsisinfo">
     <span class="ooclass">
      <span class="modifier">class</span> <strong class="classname">MongoDB\BSON\UTCDateTimeInterface</strong>
     </span>
     {</div>
    <div class="classsynopsisinfo classsynopsisinfo_comment">/* Methoden */</div>
    <div class="methodsynopsis dc-description">
   <span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-bson-utcdatetimeinterface.todatetime.php" class="methodname">toDateTime</a></span>(): <span class="type"><a href="class.datetime.php" class="type DateTime">DateTime</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-bson-utcdatetimeinterface.todatetimeimmutable.php" class="methodname">toDateTimeImmutable</a></span>(): <span class="type"><a href="class.datetimeimmutable.php" class="type DateTimeImmutable">DateTimeImmutable</a></span></div>
<div class="methodsynopsis dc-description"><span class="modifier">abstract</span> <span class="modifier">public</span> <span class="methodname"><a href="mongodb-bson-utcdatetimeinterface.tostring.php" class="methodname">__toString</a></span>(): <span class="type"><a href="language.types.string.php" class="type string">string</a></span></div>

   }</div>
  </div>

  <div class="section">
   <h2 class="title">Changelog</h2>
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>Version</th>
       <th>Beschreibung</th>
      </tr>

     </thead>

     <tbody class="tbody">
      
       <tr>
        <td>PECL mongodb 2.0.0</td>
        <td>
         Rückgabetypen, die zuvor als vorläufig deklariert waren, werden nun erzwungen.
        </td>
       </tr>


      
       <tr>
        <td>PECL mongodb 1.15.0</td>
        <td>
         Rückgabetypen für Methoden werden in PHP 8.0 und neuer als vorläufig
         deklariert, was in Code, der diese Schnittstelle implementiert, ohne
         die entsprechenden Rückgabetypen zu deklarieren, einen Hinweis auf eine
         veraltete Verwendung auslöst. Um diesen Hinweis zu unterdrücken, kann
         das Attribut <code class="code">#[ReturnTypeWillChange]</code> hinzugefügt werden.
        </td>
       </tr>


     </tbody>
    
   </table>

  </div>
 </div>

 





















<h2>Inhaltsverzeichnis</h2><ul class="chunklist chunklist_reference"><li><a href="mongodb-bson-utcdatetimeinterface.todatetime.php">MongoDB\BSON\UTCDateTimeInterface::toDateTime</a> — Returns the DateTime representation of this UTCDateTimeInterface</li><li><a href="mongodb-bson-utcdatetimeinterface.todatetimeimmutable.php">MongoDB\BSON\UTCDateTimeInterface::toDateTimeImmutable</a> — Returns the DateTimeImmutable representation of this UTCDateTimeInterface</li><li><a href="mongodb-bson-utcdatetimeinterface.tostring.php">MongoDB\BSON\UTCDateTimeInterface::__toString</a> — Returns the string representation of this UTCDateTimeInterface</li></ul>
</div>
<?php manual_footer($setup); ?>