Skip to content

Commit a09fc17

Browse files
authored
Add Japanese translations for HRTime\StopWatch methods (#342)
1 parent 4a55295 commit a09fc17

5 files changed

Lines changed: 298 additions & 0 deletions

File tree

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- $Revision$ -->
3+
<!-- EN-Revision: 3e7e14916c28630bce69e65f539d27bb96a90066 Maintainer: lacatoire Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="hrtime-stopwatch.getelapsedticks">
5+
<refnamediv>
6+
<refname>HRTime\StopWatch::getElapsedTicks</refname>
7+
<refpurpose>すべてのインターバルの経過ティック数を取得する</refpurpose>
8+
</refnamediv>
9+
10+
<refsect1 role="description">
11+
&reftitle.description;
12+
<methodsynopsis>
13+
<modifier>public</modifier> <type>int</type><methodname>HRTime\StopWatch::getElapsedTicks</methodname>
14+
<void/>
15+
</methodsynopsis>
16+
<simpara>
17+
以前に閉じたすべてのインターバルの経過ティック数を取得します。
18+
</simpara>
19+
20+
</refsect1>
21+
22+
<refsect1 role="parameters">
23+
&reftitle.parameters;
24+
&no.function.parameters;
25+
</refsect1>
26+
27+
<refsect1 role="returnvalues">
28+
&reftitle.returnvalues;
29+
<simpara>
30+
経過ティック数を示す &integer; を返します。
31+
</simpara>
32+
</refsect1>
33+
34+
35+
</refentry>
36+
<!-- Keep this comment at the end of the file
37+
Local variables:
38+
mode: sgml
39+
sgml-omittag:t
40+
sgml-shorttag:t
41+
sgml-minimize-attributes:nil
42+
sgml-always-quote-attributes:t
43+
sgml-indent-step:1
44+
sgml-indent-data:t
45+
indent-tabs-mode:nil
46+
sgml-parent-document:nil
47+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
48+
sgml-exposed-tags:nil
49+
sgml-local-catalogs:nil
50+
sgml-local-ecat-files:nil
51+
End:
52+
vim600: syn=xml fen fdm=syntax fdl=2 si
53+
vim: et tw=78 syn=sgml
54+
vi: ts=1 sw=1
55+
-->
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- $Revision$ -->
3+
<!-- EN-Revision: 3e7e14916c28630bce69e65f539d27bb96a90066 Maintainer: lacatoire Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="hrtime-stopwatch.getelapsedtime">
5+
<refnamediv>
6+
<refname>HRTime\StopWatch::getElapsedTime</refname>
7+
<refpurpose>すべてのインターバルの経過時間を取得する</refpurpose>
8+
</refnamediv>
9+
10+
<refsect1 role="description">
11+
&reftitle.description;
12+
<methodsynopsis>
13+
<modifier>public</modifier> <type>float</type><methodname>HRTime\StopWatch::getElapsedTime</methodname>
14+
<methodparam choice="opt"><type>int</type><parameter>unit</parameter></methodparam>
15+
</methodsynopsis>
16+
<simpara>
17+
18+
以前に閉じたすべてのインターバルの経過時間を取得します。
19+
</simpara>
20+
21+
</refsect1>
22+
23+
<refsect1 role="parameters">
24+
&reftitle.parameters;
25+
<variablelist>
26+
<varlistentry>
27+
<term><parameter>unit</parameter></term>
28+
<listitem>
29+
<simpara>
30+
HRTime\Unit 定数で表される時間単位。デフォルトは
31+
HRTime\Unit::SECOND です。
32+
</simpara>
33+
</listitem>
34+
</varlistentry>
35+
</variablelist>
36+
</refsect1>
37+
38+
<refsect1 role="returnvalues">
39+
&reftitle.returnvalues;
40+
<simpara>
41+
経過時間を示す &float; を返します。
42+
43+
</simpara>
44+
</refsect1>
45+
46+
47+
</refentry>
48+
<!-- Keep this comment at the end of the file
49+
Local variables:
50+
mode: sgml
51+
sgml-omittag:t
52+
sgml-shorttag:t
53+
sgml-minimize-attributes:nil
54+
sgml-always-quote-attributes:t
55+
sgml-indent-step:1
56+
sgml-indent-data:t
57+
indent-tabs-mode:nil
58+
sgml-parent-document:nil
59+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
60+
sgml-exposed-tags:nil
61+
sgml-local-catalogs:nil
62+
sgml-local-ecat-files:nil
63+
End:
64+
vim600: syn=xml fen fdm=syntax fdl=2 si
65+
vim: et tw=78 syn=sgml
66+
vi: ts=1 sw=1
67+
-->
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- $Revision$ -->
3+
<!-- EN-Revision: 3e7e14916c28630bce69e65f539d27bb96a90066 Maintainer: lacatoire Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="hrtime-stopwatch.getlastelapsedticks">
5+
<refnamediv>
6+
<refname>HRTime\StopWatch::getLastElapsedTicks</refname>
7+
<refpurpose>最後のインターバルの経過ティック数を取得する</refpurpose>
8+
</refnamediv>
9+
10+
<refsect1 role="description">
11+
&reftitle.description;
12+
<methodsynopsis>
13+
<modifier>public</modifier> <type>int</type><methodname>HRTime\StopWatch::getLastElapsedTicks</methodname>
14+
<void/>
15+
</methodsynopsis>
16+
<simpara>
17+
直前に閉じたインターバルの経過ティック数を取得します。
18+
</simpara>
19+
20+
</refsect1>
21+
22+
<refsect1 role="parameters">
23+
&reftitle.parameters;
24+
&no.function.parameters;
25+
</refsect1>
26+
27+
<refsect1 role="returnvalues">
28+
&reftitle.returnvalues;
29+
<simpara>
30+
経過ティック数を示す &integer; を返します。
31+
</simpara>
32+
</refsect1>
33+
34+
35+
</refentry>
36+
<!-- Keep this comment at the end of the file
37+
Local variables:
38+
mode: sgml
39+
sgml-omittag:t
40+
sgml-shorttag:t
41+
sgml-minimize-attributes:nil
42+
sgml-always-quote-attributes:t
43+
sgml-indent-step:1
44+
sgml-indent-data:t
45+
indent-tabs-mode:nil
46+
sgml-parent-document:nil
47+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
48+
sgml-exposed-tags:nil
49+
sgml-local-catalogs:nil
50+
sgml-local-ecat-files:nil
51+
End:
52+
vim600: syn=xml fen fdm=syntax fdl=2 si
53+
vim: et tw=78 syn=sgml
54+
vi: ts=1 sw=1
55+
-->
Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- $Revision$ -->
3+
<!-- EN-Revision: 3e7e14916c28630bce69e65f539d27bb96a90066 Maintainer: lacatoire Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="hrtime-stopwatch.getlastelapsedtime">
5+
<refnamediv>
6+
<refname>HRTime\StopWatch::getLastElapsedTime</refname>
7+
<refpurpose>最後のインターバルの経過時間を取得する</refpurpose>
8+
</refnamediv>
9+
10+
<refsect1 role="description">
11+
&reftitle.description;
12+
<methodsynopsis>
13+
<modifier>public</modifier> <type>float</type><methodname>HRTime\StopWatch::getLastElapsedTime</methodname>
14+
<methodparam choice="opt"><type>int</type><parameter>unit</parameter></methodparam>
15+
</methodsynopsis>
16+
<simpara>
17+
18+
直前に閉じたインターバルの経過時間を取得します。
19+
</simpara>
20+
21+
</refsect1>
22+
23+
<refsect1 role="parameters">
24+
&reftitle.parameters;
25+
<variablelist>
26+
<varlistentry>
27+
<term><parameter>unit</parameter></term>
28+
<listitem>
29+
<simpara>
30+
HRTime\Unit 定数で表される時間単位。デフォルトは
31+
HRTime\Unit::SECOND です。
32+
</simpara>
33+
</listitem>
34+
</varlistentry>
35+
</variablelist>
36+
</refsect1>
37+
38+
<refsect1 role="returnvalues">
39+
&reftitle.returnvalues;
40+
<simpara>
41+
経過時間を示す &float; を返します。
42+
</simpara>
43+
</refsect1>
44+
45+
46+
</refentry>
47+
<!-- Keep this comment at the end of the file
48+
Local variables:
49+
mode: sgml
50+
sgml-omittag:t
51+
sgml-shorttag:t
52+
sgml-minimize-attributes:nil
53+
sgml-always-quote-attributes:t
54+
sgml-indent-step:1
55+
sgml-indent-data:t
56+
indent-tabs-mode:nil
57+
sgml-parent-document:nil
58+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
59+
sgml-exposed-tags:nil
60+
sgml-local-catalogs:nil
61+
sgml-local-ecat-files:nil
62+
End:
63+
vim600: syn=xml fen fdm=syntax fdl=2 si
64+
vim: et tw=78 syn=sgml
65+
vi: ts=1 sw=1
66+
-->
Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<!-- $Revision$ -->
3+
<!-- EN-Revision: 3e7e14916c28630bce69e65f539d27bb96a90066 Maintainer: lacatoire Status: ready -->
4+
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="hrtime-stopwatch.isrunning">
5+
<refnamediv>
6+
<refname>HRTime\StopWatch::isRunning</refname>
7+
<refpurpose>計測が実行中かどうか</refpurpose>
8+
</refnamediv>
9+
10+
<refsect1 role="description">
11+
&reftitle.description;
12+
<methodsynopsis>
13+
<modifier>public</modifier> <type>bool</type><methodname>HRTime\StopWatch::isRunning</methodname>
14+
<void/>
15+
</methodsynopsis>
16+
<simpara>
17+
計測が開始されたかどうかを示します。
18+
</simpara>
19+
20+
</refsect1>
21+
22+
<refsect1 role="parameters">
23+
&reftitle.parameters;
24+
&no.function.parameters;
25+
</refsect1>
26+
27+
<refsect1 role="returnvalues">
28+
&reftitle.returnvalues;
29+
<simpara>
30+
計測が実行中かどうかを示す &boolean; を返します。
31+
</simpara>
32+
</refsect1>
33+
34+
35+
</refentry>
36+
<!-- Keep this comment at the end of the file
37+
Local variables:
38+
mode: sgml
39+
sgml-omittag:t
40+
sgml-shorttag:t
41+
sgml-minimize-attributes:nil
42+
sgml-always-quote-attributes:t
43+
sgml-indent-step:1
44+
sgml-indent-data:t
45+
indent-tabs-mode:nil
46+
sgml-parent-document:nil
47+
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
48+
sgml-exposed-tags:nil
49+
sgml-local-catalogs:nil
50+
sgml-local-ecat-files:nil
51+
End:
52+
vim600: syn=xml fen fdm=syntax fdl=2 si
53+
vim: et tw=78 syn=sgml
54+
vi: ts=1 sw=1
55+
-->

0 commit comments

Comments
 (0)