svn: /phpdoc/ja/trunk/reference/calendar/functions/ cal-from-jd.xml easter-date.xml easter-days.xml jddayofweek.xml jdmonthname.xml jdtofrench.xml jdtogregorian.xml jdtojewish.xml jdtojulian.xml jdtounix.xml unixtojd.xml

[email protected] (Yoshinari Takaoka)
Newsgroups php.doc.ja
Message-ID <[email protected]>
mumumu                                   Tue, 24 Nov 2020 23:28:17 +0000

Revision: http://svn.php.net/viewvc?view=revision&revision=351614

Log:
Generate calendar methodsynopses based on stubs

Based on a patch contributed by Máté Kocsis <[email protected]>.

Changed paths:
    U   phpdoc/ja/trunk/reference/calendar/functions/cal-from-jd.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/easter-date.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/easter-days.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/jddayofweek.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/jdmonthname.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/jdtofrench.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/jdtogregorian.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/jdtojewish.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/jdtojulian.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/jdtounix.xml
    U   phpdoc/ja/trunk/reference/calendar/functions/unixtojd.xml
svn-diffs-351614.txt (text/x-diff, 22 KB)
Modified: phpdoc/ja/trunk/reference/calendar/functions/cal-from-jd.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/cal-from-jd.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/cal-from-jd.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,8 +1,8 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344407 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <!-- Credits: mumumu -->
-<refentry xml:id='function.cal-from-jd' xmlns="http://docbook.org/ns/docbook">
+<refentry xml:id="function.cal-from-jd" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>cal_from_jd</refname>
   <refpurpose>ユリウス積算日からサポートされるカレンダーに変換する</refpurpose>
@@ -12,12 +12,12 @@
   &reftitle.description;
   <methodsynopsis>
    <type>array</type><methodname>cal_from_jd</methodname>
-   <methodparam><type>int</type><parameter>jd</parameter></methodparam>
+   <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
    <methodparam><type>int</type><parameter>calendar</parameter></methodparam>
   </methodsynopsis>
   <para>
    <function>cal_from_jd</function> は、
-   <parameter>jd</parameter> で指定したユリウス日を
+   <parameter>julian_day</parameter> で指定したユリウス日を
    指定した <parameter>calendar</parameter> に変換します。
    サポートされる <parameter>calendar</parameter> の値は、
    <constant>CAL_GREGORIAN</constant>、
@@ -32,7 +32,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>jd</parameter></term>
+     <term><parameter>julian_day</parameter></term>
      <listitem>
       <para>
        ユリウス日を表す整数値。
@@ -110,7 +110,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/easter-date.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/easter-date.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/easter-date.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 347874 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.easter-date" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,8 +12,8 @@
   &reftitle.description;
   <methodsynopsis>
    <type>int</type><methodname>easter_date</methodname>
-   <methodparam choice="opt"><type>int</type><parameter>year</parameter><initializer>date("Y")</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>method</parameter><initializer>CAL_EASTER_DEFAULT</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>year</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_EASTER_DEFAULT</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    指定した年yearにおける復活祭の真夜中のUnix時を返します。
@@ -47,12 +47,13 @@
      <term><parameter>year</parameter></term>
      <listitem>
       <para>
-       1970 から 2037 までの年。省略した場合は、ローカルタイムにおける現在の年を使います。
+       1970 から 2037 までの年。省略した場合、もしくは &null; の場合は、
+       ローカルタイムにおける現在の年を使います。
       </para>
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>method</parameter></term>
+     <term><parameter>mode</parameter></term>
      <listitem>
       <para>
        <constant>CAL_EASTER_ALWAYS_JULIAN</constant> を設定すると、
@@ -73,6 +74,28 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>year</parameter> は、nullable になりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -154,7 +177,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/easter-days.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/easter-days.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/easter-days.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,7 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 334605 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
+<!-- Credits: mumumu -->
 <refentry xml:id="function.easter-days" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>easter_days</refname>
@@ -11,8 +12,8 @@
   &reftitle.description;
   <methodsynopsis>
    <type>int</type><methodname>easter_days</methodname>
-   <methodparam choice="opt"><type>int</type><parameter>year</parameter><initializer>date("Y")</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>method</parameter><initializer>CAL_EASTER_DEFAULT</initializer></methodparam>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>year</parameter><initializer>&null;</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_EASTER_DEFAULT</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    指定した年 year において、3 月 21 日から復活祭までの日数を返します。
@@ -46,12 +47,13 @@
      <term><parameter>year</parameter></term>
      <listitem>
       <para>
-       正の数値で表した年。省略した場合は、ローカルタイムにおける現在の年を使います。
+       正の数値で表した年。省略した場合、もしくは &null; の場合は、
+       ローカルタイムにおける現在の年を使います。
       </para>
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>method</parameter></term>
+     <term><parameter>mode</parameter></term>
      <listitem>
       <para>
        <constant>CAL_EASTER_ROMAN</constant> に設定すると
@@ -72,6 +74,28 @@
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>year</parameter> は、nullable になりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="examples">
   &reftitle.examples;
   <para>
@@ -101,7 +125,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/jddayofweek.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/jddayofweek.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/jddayofweek.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336889 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <refentry xml:id="function.jddayofweek" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>jddayofweek</refname>
@@ -10,9 +10,9 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>mixed</type><methodname>jddayofweek</methodname>
-   <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer>CAL_DOW_DAYNO</initializer></methodparam>
+   <type class="union"><type>int</type><type>string</type></type><methodname>jddayofweek</methodname>
+   <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>mode</parameter><initializer><constant>CAL_DOW_DAYNO</constant></initializer></methodparam>
   </methodsynopsis>
   <para>
    曜日を返します。
@@ -25,7 +25,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>julianday</parameter></term>
+     <term><parameter>julian_day</parameter></term>
      <listitem>
       <para>
        ユリウス積算日を表す整数値。
@@ -79,7 +79,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/jdmonthname.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/jdmonthname.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/jdmonthname.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344408 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.jdmonthname" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -12,7 +12,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>jdmonthname</methodname>
-   <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
+   <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
    <methodparam><type>int</type><parameter>mode</parameter></methodparam>
   </methodsynopsis>
   <para>
@@ -99,7 +99,6 @@
  </refsect1>

 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/jdtofrench.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/jdtofrench.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/jdtofrench.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336889 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <refentry xml:id="function.jdtofrench" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>jdtofrench</refname>
@@ -10,7 +10,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>jdtofrench</methodname>
-   <methodparam><type>int</type><parameter>juliandaycount</parameter></methodparam>
+   <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
   </methodsynopsis>
   <para>
    ユリウス積算日をフランス革命暦に変換します。
@@ -50,7 +50,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/jdtogregorian.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/jdtogregorian.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/jdtogregorian.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336889 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <refentry xml:id="function.jdtogregorian" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>jdtogregorian</refname>
@@ -10,7 +10,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>jdtogregorian</methodname>
-   <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
+   <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
   </methodsynopsis>
   <para>
    ユリウス積算日を "月/日/年" の形式でグレゴリウス日を含む文字列に変換します。
@@ -22,7 +22,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>julianday</parameter></term>
+     <term><parameter>julian_day</parameter></term>
      <listitem>
       <para>
        ユリウス積算日を表す整数値。
@@ -50,7 +50,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/jdtojewish.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/jdtojewish.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/jdtojewish.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 344421 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.jdtojewish" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -11,9 +11,9 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>jdtojewish</methodname>
-   <methodparam><type>int</type><parameter>juliandaycount</parameter></methodparam>
+   <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
    <methodparam choice="opt"><type>bool</type><parameter>hebrew</parameter><initializer>&false;</initializer></methodparam>
-   <methodparam choice="opt"><type>int</type><parameter>fl</parameter><initializer>0</initializer></methodparam>
+   <methodparam choice="opt"><type>int</type><parameter>flags</parameter><initializer>0</initializer></methodparam>
   </methodsynopsis>
   <para>
    ユリウス積算日をユダヤ暦に変換します。
@@ -37,13 +37,13 @@
      <listitem>
       <para>
        パラメータ <parameter>hebrew</parameter> が &true; に設定されている場合、
-       ヘブライ語の ISO-8859-8 ベースの文字列形式での出力のために <parameter>fl</parameter>
+       ヘブライ語の ISO-8859-8 ベースの文字列形式での出力のために <parameter>flags</parameter>
        が使用されます。
       </para>
      </listitem>
     </varlistentry>
     <varlistentry>
-     <term><parameter>fl</parameter></term>
+     <term><parameter>flags</parameter></term>
      <listitem>
       <para>
        組み合わせ可能なビットマスクは
@@ -105,8 +105,6 @@
   </para>
  </refsect1>
 </refentry>
-
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/jdtojulian.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/jdtojulian.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/jdtojulian.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 336889 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <refentry xml:id="function.jdtojulian" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
   <refname>jdtojulian</refname>
@@ -11,7 +11,7 @@
   &reftitle.description;
   <methodsynopsis>
    <type>string</type><methodname>jdtojulian</methodname>
-   <methodparam><type>int</type><parameter>julianday</parameter></methodparam>
+   <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
   </methodsynopsis>
   <para>
    ユリウス積算日を "月/日/年" の形式でユリウス暦を含む文字列に変換します。
@@ -23,7 +23,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>julianday</parameter></term>
+     <term><parameter>julian_day</parameter></term>
      <listitem>
       <para>
        ユリウス積算日を表す整数値。
@@ -51,7 +51,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/jdtounix.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/jdtounix.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/jdtounix.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 351135 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.jdtounix" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -11,13 +11,12 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type class="union"><type>int</type><type>false</type></type><methodname>jdtounix</methodname>
-   <methodparam><type>int</type><parameter>jday</parameter></methodparam>
+   <type>int</type><methodname>jdtounix</methodname>
+   <methodparam><type>int</type><parameter>julian_day</parameter></methodparam>
   </methodsynopsis>
   <para>
-   この関数は、<parameter>jday</parameter> で指定したユリウス歴に
+   この関数は、<parameter>julian_day</parameter> で指定したユリウス歴に
    対応する Unix タイムスタンプを返します。
-   <parameter>jday</parameter> が範囲外の場合は &false; を返します。
    返される時刻はUTCです。
   </para>
  </refsect1>
@@ -27,7 +26,7 @@
   <para>
    <variablelist>
     <varlistentry>
-     <term><parameter>jday</parameter></term>
+     <term><parameter>julian_day</parameter></term>
      <listitem>
       <para>
        64bit のシステムでは、<literal>2440588</literal> から <literal>106751993607888</literal> までのユリウス積算日。
@@ -43,10 +42,17 @@
   &reftitle.returnvalues;
   <para>
    指定したユリウス積算日の開始(昼ではなく夜中)時の Unix タイムスタンプを返します。
-   &return.falseforfailure;
   </para>
  </refsect1>

+ <refsect1 role="errors">
+  &reftitle.errors;
+  <para>
+   <parameter>julian_day</parameter> が範囲外の値の場合、
+   <classname>ValueError</classname> がスローされます。
+  </para>
+ </refsect1>
+
  <refsect1 role="changelog">
   &reftitle.changelog;
   <informaltable>
@@ -59,9 +65,16 @@
     </thead>
     <tbody>
      <row>
+      <entry>8.0.0</entry>
+      <entry>
+       この関数は、失敗時に &false; を返さなくなりました。
+       代わりに <classname>ValueError</classname> をスローするようになっています。
+      </entry>
+     </row>
+     <row>
       <entry>7.3.24, 7.4.12</entry>
       <entry>
-       <parameter>jday</parameter> の上限が拡張されました。
+       <parameter>julian_day</parameter> の上限が拡張されました。
        これより前のバージョンでは、アーキテクチャに関わらず、
        <literal>2465342</literal> が上限でした。
       </entry>
@@ -80,7 +93,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml

Modified: phpdoc/ja/trunk/reference/calendar/functions/unixtojd.xml
===================================================================
--- phpdoc/ja/trunk/reference/calendar/functions/unixtojd.xml	2020-11-24 23:20:10 UTC (rev 351613)
+++ phpdoc/ja/trunk/reference/calendar/functions/unixtojd.xml	2020-11-24 23:28:17 UTC (rev 351614)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!-- $Revision$ -->
-<!-- EN-Revision: 342998 Maintainer: hirokawa Status: ready -->
+<!-- EN-Revision: 351553 Maintainer: hirokawa Status: ready -->
 <!-- Credits: mumumu -->
 <refentry xml:id="function.unixtojd" xmlns="http://docbook.org/ns/docbook">
  <refnamediv>
@@ -11,8 +11,8 @@
  <refsect1 role="description">
   &reftitle.description;
   <methodsynopsis>
-   <type>int</type><methodname>unixtojd</methodname>
-   <methodparam choice="opt"><type>int</type><parameter>timestamp</parameter><initializer>time()</initializer></methodparam>
+   <type class="union"><type>int</type><type>false</type></type><methodname>unixtojd</methodname>
+   <methodparam choice="opt"><type class="union"><type>int</type><type>null</type></type><parameter>timestamp</parameter><initializer>&null;</initializer></methodparam>
   </methodsynopsis>
   <para>
    Unix タイムスタンプ(1970/1/1 からの秒数)<parameter>timestamp</parameter>
@@ -42,9 +42,32 @@
   &reftitle.returnvalues;
   <para>
    ユリウス積算日を表す整数値を返します。
+   &return.falseforfailure;
   </para>
  </refsect1>

+ <refsect1 role="changelog">
+  &reftitle.changelog;
+  <informaltable>
+   <tgroup cols="2">
+    <thead>
+     <row>
+      <entry>&Version;</entry>
+      <entry>&Description;</entry>
+     </row>
+    </thead>
+    <tbody>
+     <row>
+      <entry>8.0.0</entry>
+      <entry>
+       <parameter>timestamp</parameter> は、nullable になりました。
+      </entry>
+     </row>
+    </tbody>
+   </tgroup>
+  </informaltable>
+ </refsect1>
+
  <refsect1 role="seealso">
   &reftitle.seealso;
   <para>
@@ -54,7 +77,6 @@
   </para>
  </refsect1>
 </refentry>
-
 <!-- Keep this comment at the end of the file
 Local variables:
 mode: sgml
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.