mirror of
https://github.com/php/doc-tr.git
synced 2026-03-24 07:12:18 +01:00
129 lines
4.1 KiB
XML
129 lines
4.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
||
<!-- EN-Revision: 14767af0f05dffa6fdb9b49e1a1f4e9ca7022a60 Maintainer: behzat Status: ready -->
|
||
<reference xml:id="class.datetime" role="class" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||
|
||
<title>DateTime sınıfı</title>
|
||
<titleabbrev>DateTime</titleabbrev>
|
||
|
||
<partintro>
|
||
|
||
<!-- {{{ DateTime intro -->
|
||
<section xml:id="datetime.intro">
|
||
&reftitle.intro;
|
||
<para>
|
||
Tarih ve zaman gösterimi.
|
||
</para>
|
||
<para>
|
||
Bu sınıf, <classname>DateTimeImmutable</classname> gibi davranır, ancak
|
||
<function>DateTime::modify</function> gibi değişiklik yapma yöntemleri
|
||
çağrıldığında nesnelerin kendisi değiştirilir.
|
||
</para>
|
||
<warning>
|
||
<para>
|
||
<classname>DateTime</classname> sınıfının nesnelerindeki yöntemlerin
|
||
çağrılması bu nesnelerde tutulan bilgiyi değiştirir. Bunu engellemek için
|
||
<literal>clone</literal> işleci kullanılarak yeni bir nesne
|
||
oluşturulmalıdır. Önerilen bu davranışı öntanımlı olarak elde etmek için
|
||
<classname>DateTime</classname> yerine
|
||
<classname>DateTimeImmutable</classname> kullanılabilir.
|
||
</para>
|
||
</warning>
|
||
</section>
|
||
<!-- }}} -->
|
||
|
||
<section xml:id="datetime.synopsis">
|
||
&reftitle.classsynopsis;
|
||
|
||
<!-- {{{ Synopsis -->
|
||
<classsynopsis class="class">
|
||
<ooclass>
|
||
<classname>DateTime</classname>
|
||
</ooclass>
|
||
|
||
<oointerface>
|
||
<modifier>implements</modifier>
|
||
<interfacename>DateTimeInterface</interfacename>
|
||
</oointerface>
|
||
|
||
<classsynopsisinfo role="comment">&InheritedConstants;</classsynopsisinfo>
|
||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.datetimeinterface')/db:partintro/db:section/db:classsynopsis/db:fieldsynopsis[preceding-sibling::db:classsynopsisinfo[1][@role='comment' and text()='&Constants;']]))">
|
||
<xi:fallback/>
|
||
</xi:include>
|
||
|
||
<classsynopsisinfo role="comment">&Methods;</classsynopsisinfo>
|
||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.datetime')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='DateTime'])">
|
||
<xi:fallback/>
|
||
</xi:include>
|
||
|
||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.datetime')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='DateTime'])">
|
||
<xi:fallback/>
|
||
</xi:include>
|
||
|
||
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.datetimeinterface')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='DateTime'])">
|
||
<xi:fallback/>
|
||
</xi:include>
|
||
</classsynopsis>
|
||
<!-- }}} -->
|
||
|
||
</section>
|
||
|
||
<section role="changelog" xml:id="datetime.changelog"><!-- {{{ -->
|
||
&reftitle.changelog;
|
||
<para>
|
||
<informaltable>
|
||
<tgroup cols="2">
|
||
<thead>
|
||
<row>
|
||
<entry>&Version;</entry>
|
||
<entry>&Description;</entry>
|
||
</row>
|
||
</thead>
|
||
<tbody>
|
||
<row>
|
||
<entry>7.2.0</entry>
|
||
<entry>
|
||
<classname>DateTime</classname> sınıfının sabitleri şimdi
|
||
<classname>DateTimeInterface</classname> üzerinde tanımlı.
|
||
</entry>
|
||
</row>
|
||
<row>
|
||
<entry>7.1.0</entry>
|
||
<entry>
|
||
<classname>DateTime</classname> kurucusu artık yapılandırılan
|
||
değerdeki mikrosaniyeleri içerebiliyor, evvelce mikrosaniyeler daima
|
||
<literal>0</literal> ile ilklendirilirdi.
|
||
</entry>
|
||
</row>
|
||
</tbody>
|
||
</tgroup>
|
||
</informaltable>
|
||
</para>
|
||
</section><!-- }}} -->
|
||
|
||
</partintro>
|
||
|
||
&reference.datetime.entities.datetime;
|
||
|
||
</reference>
|
||
|
||
<!-- 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
|
||
-->
|