1
0
mirror of https://github.com/php/doc-ja.git synced 2026-03-24 15:12:22 +01:00
Files
archived-doc-ja/reference/datetime/datetimeimmutable.xml
Sunao Yada b57c98033a [PHP 8.4] Add ext-date constant typesの翻訳 (#270)
* [PHP 8.4] Add ext-date constant typesの翻訳

* EN-Revisionの更新
2025-03-26 09:51:33 +09:00

119 lines
3.9 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- EN-Revision: 576c7c43febb2eec5718d8320f92606423413983 Maintainer: takagi Status: ready -->
<!-- Credits: mumumu -->
<reference xml:id="class.datetimeimmutable" 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>DateTimeImmutable クラス</title>
<titleabbrev>DateTimeImmutable</titleabbrev>
<partintro>
<!-- {{{ DateTimeImmutable intro -->
<section xml:id="datetimeimmutable.intro">
&reftitle.intro;
<para>
日付と時刻を表現します。
</para>
<para>
このクラスは
<classname>DateTime</classname> と同じ振る舞いをします。
但し、<function>DateTime::modify</function>
のような、
状態を変更して新しいオブジェクトを返すメソッドが呼び出された時を除きます。
</para>
</section>
<!-- }}} -->
<section xml:id="datetimeimmutable.synopsis">
&reftitle.classsynopsis;
<!-- {{{ Synopsis -->
<classsynopsis class="class">
<ooclass>
<classname>DateTimeImmutable</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.datetimeimmutable')/db:refentry/db:refsect1[@role='description']/descendant::db:constructorsynopsis[@role='DateTimeImmutable'])">
<xi:fallback/>
</xi:include>
<xi:include xpointer="xmlns(db=http://docbook.org/ns/docbook) xpointer(id('class.datetimeimmutable')/db:refentry/db:refsect1[@role='description']/descendant::db:methodsynopsis[@role='DateTimeImmutable'])">
<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='DateTimeImmutable'])">
<xi:fallback/>
</xi:include>
</classsynopsis>
<!-- }}} -->
</section>
<section role="changelog" xml:id="datetimeimmutable.changelog"><!-- {{{ -->
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>8.4.0</entry>
<entry>
クラス定数が型付けされました。
</entry>
</row>
<row>
<entry>7.1.0</entry>
<entry>
<classname>DateTimeImmutable</classname> のコンストラクタで構築される値に、
現在時刻のマイクロ秒が含まれるようになりました。
これより前のバージョンでは、このマイクロ秒の情報は常に
<literal>0</literal> で初期化されていました。
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</section><!-- }}} -->
</partintro>
&reference.datetime.entities.datetimeimmutable;
</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
-->