| 616 |
#ja |
#ja |
| 617 |
<var title="">number</var> を返します。 |
<var title="">number</var> を返します。 |
| 618 |
|
|
| 619 |
|
#pattern |
| 620 |
|
<span class=secno>* |
| 621 |
|
</span>Percentages and dimensions |
| 622 |
|
#ja |
| 623 |
|
<span class=secno>$1 |
| 624 |
|
</span>百分率と寸法 |
| 625 |
|
|
| 626 |
|
#pattern |
| 627 |
|
<span class=secno>* </span>Lists of integers |
| 628 |
|
#ja |
| 629 |
|
<span class=secno>$1 </span>整数のリスト |
| 630 |
|
|
| 631 |
|
#en |
| 632 |
|
A <dfn id=valid4>valid list of integers</dfn> is a number of <a |
| 633 |
|
href="#valid0" title="valid integer">valid integers</a> separated by |
| 634 |
|
U+002C COMMA characters, with no other characters (e.g. no <a |
| 635 |
|
href="#space" title="space character">space characters</a>). In addition, |
| 636 |
|
there might be restrictions on the number of integers that can be given, |
| 637 |
|
or on the range of values allowed. |
| 638 |
|
#ja |
| 639 |
|
<dfn id=valid4>妥当な整数の並び</dfn>は、 U+002C COMMA |
| 640 |
|
文字で分離された数々の<a |
| 641 |
|
href="#valid0" title="valid integer">妥当な整数</a>であって、 |
| 642 |
|
他の文字を含まない (例えば<a |
| 643 |
|
href="#space" title="space character">間隔文字</a>を含まない) ものです。 |
| 644 |
|
加えて、与えられる整数の数や認められる値の範囲に制限が設けられることがあります。 |
| 645 |
|
|
| 646 |
|
#en |
| 647 |
|
The <dfn id=rules3>rules for parsing a list of integers</dfn> are as |
| 648 |
|
follows: |
| 649 |
|
#ja |
| 650 |
|
<dfn id=rules3>整数のリストを構文解析する規則</dfn>は次の通りです。 |
| 651 |
|
|
| 652 |
|
#en |
| 653 |
|
Let <var title="">numbers</var> be an initially empty list of |
| 654 |
|
integers. This list will be the result of this algorithm. |
| 655 |
|
#ja |
| 656 |
|
<var title="">numbers</var> を、初期状態として、空の整数のリストとします。 |
| 657 |
|
このリストは、この算法の結果となります。 |
| 658 |
|
|
| 659 |
|
#en |
| 660 |
|
If there is a character in the string <var title="">input</var> at |
| 661 |
|
position <var title="">position</var>, and it is either a U+0020 SPACE, |
| 662 |
|
U+002C COMMA, or U+003B SEMICOLON character, then advance <var |
| 663 |
|
title="">position</var> to the next character in <var |
| 664 |
|
title="">input</var>, or to beyond the end of the string if there are no |
| 665 |
|
more characters. |
| 666 |
|
#ja |
| 667 |
|
文字列 <var title="">input</var> の位置 <var title="">position</var> |
| 668 |
|
に文字があり、これが U+0020 SPACE、U+002C COMMA、 U+003B SEMICOLON |
| 669 |
|
のいずれかの文字であれば、 <var |
| 670 |
|
title="">position</var> を <var |
| 671 |
|
title="">input</var> 中の次の文字に進めるか、それ以上文字がないのであれば文字列の終わりを過ぎたとします。 |
| 672 |
|
|
| 673 |
|
#en |
| 674 |
|
Advance <var |
| 675 |
|
title="">position</var> to the next character in <var |
| 676 |
|
title="">input</var>, or to beyond the end of the string if there are no |
| 677 |
|
more characters. |
| 678 |
|
#ja |
| 679 |
|
<var |
| 680 |
|
title="">position</var> を <var |
| 681 |
|
title="">input</var> 中の次の文字に進めるか、それ以上文字がないのであれば文字列の終わりを過ぎたとします。 |
| 682 |
|
|
| 683 |
|
#en |
| 684 |
|
If <var title="">position</var> points to beyond the end of <var |
| 685 |
|
title="">input</var>, return <var title="">numbers</var> and abort. |
| 686 |
|
#ja |
| 687 |
|
<var title="">position</var> が <var |
| 688 |
|
title="">input</var> の終わりを過ぎた先を指していれば、 |
| 689 |
|
<var title="">numbers</var> を返し、停止します。 |
| 690 |
|
|
| 691 |
|
#en |
| 692 |
|
If the character in the string <var title="">input</var> at position |
| 693 |
|
<var title="">position</var> is a U+0020 SPACE, U+002C COMMA, or U+003B |
| 694 |
|
SEMICOLON character, then return to step 4. |
| 695 |
|
#ja |
| 696 |
|
文字列 <var title="">input</var> の位置 <var title="">position</var> |
| 697 |
|
が U+0020 SPACE、U+002C COMMA、U+003B |
| 698 |
|
SEMICOLON のいずれかの文字であれば、段階 4 に戻ります。 |
| 699 |
|
|
| 700 |
|
#en |
| 701 |
|
Let <var title="">value</var> be 0. |
| 702 |
|
#ja |
| 703 |
|
<var title="">value</var> を 0 とします。 |
| 704 |
|
|
| 705 |
|
#en |
| 706 |
|
Let <var title="">started</var> be false. This variable is set to true |
| 707 |
|
when the parser sees a number or a "<code title="">-</code>" character. |
| 708 |
|
#ja |
| 709 |
|
<var title="">started</var> を偽とします。この変数は、 |
| 710 |
|
構文解析器が数か「<code title="">-</code>」文字を見たときに真に設定されます。 |
| 711 |
|
|
| 712 |
|
#en |
| 713 |
|
Let <var title="">got number</var> be false. This variable is set to |
| 714 |
|
true when the parser sees a number. |
| 715 |
|
#ja |
| 716 |
|
<var title="">got number</var> を偽とします。この変数は構文解析器が数を見たときに真に設定されます。 |
| 717 |
|
|
| 718 |
|
#en |
| 719 |
|
Let <var title="">finished</var> be false. This variable is set to |
| 720 |
|
true to switch parser into a mode where it ignores characters until the |
| 721 |
|
next separator. |
| 722 |
|
#ja |
| 723 |
|
<var title="">finished</var> を偽とします。この変数は構文解析器が次の分離子まで文字を無視するモードに切り替わったとき真に設定されます。 |
| 724 |
|
|
| 725 |
|
#en |
| 726 |
|
<em>Parser:</em> If the character in the string <var |
| 727 |
|
title="">input</var> at position <var title="">position</var> is: |
| 728 |
|
#ja |
| 729 |
|
<em>構文解析器:</em> 文字列 <var |
| 730 |
|
title="">input</var> 位置 <var title="">position</var> |
| 731 |
|
の文字が、 |
| 732 |
|
|
| 733 |
|
#en |
| 734 |
|
A U+002D HYPHEN-MINUS character |
| 735 |
|
#ja |
| 736 |
|
U+002D HYPHEN-MINUS 文字の場合 |
| 737 |
|
|
| 738 |
|
#en |
| 739 |
|
Follow these substeps: |
| 740 |
|
#ja |
| 741 |
|
次の部分段階に従います。 |
| 742 |
|
|
| 743 |
|
#en |
| 744 |
|
If <var title="">got number</var> is true, let <var |
| 745 |
|
title="">finished</var> be true. |
| 746 |
|
#ja |
| 747 |
|
<var title="">got number</var> が真である場合、 <var |
| 748 |
|
title="">finished</var> を真とします。 |
| 749 |
|
|
| 750 |
|
#en |
| 751 |
|
If <var title="">finished</var> is true, skip to the next step in |
| 752 |
|
the overall set of steps. |
| 753 |
|
#ja |
| 754 |
|
<var title="">finished</var> が真であれる場合、全体の段階の集合のうちの次の段階に飛びます。 |
| 755 |
|
|
| 756 |
|
#en |
| 757 |
|
If <var title="">started</var> is true, let <var |
| 758 |
|
title="">negated</var> be false. |
| 759 |
|
#ja |
| 760 |
|
<var title="">started</var> が真である場合、 <var |
| 761 |
|
title="">negated</var> を偽とします。 |
| 762 |
|
|
| 763 |
|
#en |
| 764 |
|
Otherwise, if <var title="">started</var> is false and if <var |
| 765 |
|
title="">bogus</var> is false, let <var title="">negated</var> be |
| 766 |
|
true. |
| 767 |
|
#ja |
| 768 |
|
そうでない場合、<var title="">started</var> が偽であり、 <var |
| 769 |
|
title="">bogus</var> が偽である場合、 <var title="">negated</var> |
| 770 |
|
を真とします。 |
| 771 |
|
|
| 772 |
|
#en |
| 773 |
|
Let <var title="">started</var> be true. |
| 774 |
|
#ja |
| 775 |
|
<var title="">started</var> を真とします。 |
| 776 |
|
|
| 777 |
|
#en |
| 778 |
|
A character in the range U+0030 DIGIT ZERO .. U+0039 DIGIT NINE |
| 779 |
|
#ja |
| 780 |
|
範囲 U+0030 DIGIT ZERO ~ U+0039 DIGIT NINE の文字の場合 |
| 781 |
|
|
| 782 |
|
#en |
| 783 |
|
Add the value of the digit, interpreted in base ten, to <var |
| 784 |
|
title="">value</var>. |
| 785 |
|
#ja |
| 786 |
|
数字を十進数で解釈した場合の値を <var |
| 787 |
|
title="">value</var> に加えます。 |
| 788 |
|
|
| 789 |
|
#en |
| 790 |
|
Let <var title="">got number</var> be true. |
| 791 |
|
#ja |
| 792 |
|
<var title="">got number</var> を真とします。 |
| 793 |
|
|
| 794 |
|
#en |
| 795 |
|
A U+0020 SPACE character |
| 796 |
|
#ja |
| 797 |
|
U+0020 SPACE 文字の場合 |
| 798 |
|
|
| 799 |
|
#en |
| 800 |
|
A U+002C COMMA character |
| 801 |
|
#ja |
| 802 |
|
U+002C COMMA 文字の場合 |
| 803 |
|
|
| 804 |
|
#en |
| 805 |
|
A U+003B SEMICOLON character |
| 806 |
|
#ja |
| 807 |
|
U+003B SEMICOLON 文字の場合 |
| 808 |
|
|
| 809 |
|
#en |
| 810 |
|
If <var title="">got number</var> is false, return the <var |
| 811 |
|
title="">numbers</var> list and abort. This happens if an entry in |
| 812 |
|
the list has no digits, as in "<code title="">1,2,x,4</code>". |
| 813 |
|
#ja |
| 814 |
|
<var title="">got number</var> が偽の場合、 <var |
| 815 |
|
title="">numbers</var> リストを返し、停止します。 |
| 816 |
|
これは、「<code title="">1,2,x,4</code>」のようにリスト中の項目が数字を持たない場合に起こります。 |
| 817 |
|
|
| 818 |
|
#en |
| 819 |
|
Return the <var |
| 820 |
|
title="">numbers</var> list and abort. |
| 821 |
|
#ja |
| 822 |
|
<var |
| 823 |
|
title="">numbers</var> リストを返し、停止します。 |
| 824 |
|
|
| 825 |
|
#en |
| 826 |
|
If <var title="">negated</var> is true, then negate <var |
| 827 |
|
title="">value</var>. |
| 828 |
|
#ja |
| 829 |
|
<var title="">negated</var> が真の場合、 <var |
| 830 |
|
title="">value</var> を負にします。 |
| 831 |
|
|
| 832 |
|
#en |
| 833 |
|
Append <var title="">value</var> to the <var |
| 834 |
|
title="">numbers</var> list. |
| 835 |
|
#ja |
| 836 |
|
<var title="">value</var> を <var |
| 837 |
|
title="">numbers</var> リストの末尾に追加します。 |
| 838 |
|
|
| 839 |
|
#en |
| 840 |
|
Jump to step 4 in the overall set of steps. |
| 841 |
|
#ja |
| 842 |
|
全体の段階の集合のうちの段階 4 に飛びます。 |
| 843 |
|
|
| 844 |
|
#en |
| 845 |
|
A U+002E FULL STOP character |
| 846 |
|
#ja |
| 847 |
|
U+002E FULL STOP 文字の場合 |
| 848 |
|
|
| 849 |
|
#en |
| 850 |
|
Any other character |
| 851 |
|
#ja |
| 852 |
|
その他の文字の場合 |
| 853 |
|
|
| 854 |
|
#en |
| 855 |
|
Let <var title="">bogus</var> be true. |
| 856 |
|
#ja |
| 857 |
|
<var title="">bogus</var> を真とします。 |
| 858 |
|
|
| 859 |
|
#en |
| 860 |
|
If <var title="">started</var> is true, then return the <var |
| 861 |
|
title="">numbers</var> list, and abort. (The value in <var |
| 862 |
|
title="">value</var> is not appended to the list first; it is |
| 863 |
|
dropped.) |
| 864 |
|
#ja |
| 865 |
|
<var title="">started</var> が真の場合、 <var |
| 866 |
|
title="">numbers</var> リストを返し、停止します。 |
| 867 |
|
(<var |
| 868 |
|
title="">value</var> の値はリストに最初に追加されてはいません。 |
| 869 |
|
捨てられます。) |
| 870 |
|
|
| 871 |
|
#en |
| 872 |
|
If <var title="">position</var> points to a character (and not to |
| 873 |
|
beyond the end of <var title="">input</var>), jump to the big |
| 874 |
|
<em>Parser</em> step above. |
| 875 |
|
#ja |
| 876 |
|
<var title="">position</var> が文字を指す場合 (で |
| 877 |
|
<var title="">input</var> の終わりを過ぎていない場合)、 |
| 878 |
|
先の大段階<em>構文解析器</em>に飛びます。 |
| 879 |
|
|
| 880 |
|
#pattern |
| 881 |
|
<span class=secno>* </span>Dates and times |
| 882 |
|
#ja |
| 883 |
|
<span class=secno>$1 </span>日付と時刻 |
| 884 |
|
|
| 885 |
|
#en |
| 886 |
|
In the algorithms below, the <dfn id=number>number of days in month <var |
| 887 |
|
title="">month</var> of year <var title="">year</var></dfn> is: |
| 888 |
|
<em>31</em> if <var title="">month</var> is 1, 3, 5, 7, 8, 10, or 12; |
| 889 |
|
<em>30</em> if <var title="">month</var> is 4, 6, 9, or 11; <em>29</em> if |
| 890 |
|
<var title="">month</var> is 2 and <var title="">year</var> is a number |
| 891 |
|
divisible by 400, or if <var title="">year</var> is a number divisible by |
| 892 |
|
4 but not by 100; and <em>28</em> otherwise. This takes into account leap |
| 893 |
|
years in the Gregorian calendar. <a href="#refsGREGORIAN">[GREGORIAN]</a> |
| 894 |
|
#ja |
| 895 |
|
後述の算法において、<dfn id=number>年 <var title="">year</var> の月 <var |
| 896 |
|
title="">month</var> の日の数</dfn>は、 |
| 897 |
|
<var title="">month</var> が 1、3、5、7、8、10、12 のいずれかであれば |
| 898 |
|
<em>31</em>、 |
| 899 |
|
<var title="">month</var> が 4、6、9、11 のいずれかであれば |
| 900 |
|
<em>30</em>、 |
| 901 |
|
<var title="">month</var> が 2 で <var title="">year</var> が |
| 902 |
|
400 で割り切れる数であるか、 <var title="">year</var> が 4 で割り切れるものの 100 |
| 903 |
|
では割り切れない数であれば <em>29</em>、 |
| 904 |
|
いずれでもなければ <em>28</em> です。これはグレゴリオ暦の閏年を考慮しています。 |
| 905 |
|
<a href="#refsGREGORIAN">[GREGORIAN]</a> |
| 906 |
|
|
| 907 |
|
#pattern |
| 908 |
|
<span class=secno>* </span>Specific moments in time |
| 909 |
|
#ja |
| 910 |
|
<span class=secno>$1 </span>特定の時刻 |
| 911 |
|
|
| 912 |
|
#en |
| 913 |
|
A string is a <dfn id=valid5>valid datetime</dfn> if it has four digits |
| 914 |
|
(representing the year), a literal hyphen, two digits (representing the |
| 915 |
|
month), a literal hyphen, two digits (representing the day), optionally |
| 916 |
|
some spaces, either a literal T or a space, optionally some more spaces, |
| 917 |
|
two digits (for the hour), a colon, two digits (the minutes), optionally |
| 918 |
|
the seconds (which, if included, must consist of another colon, two digits |
| 919 |
|
(the integer part of the seconds), and optionally a decimal point followed |
| 920 |
|
by one or more digits (for the fractional part of the seconds)), |
| 921 |
|
optionally some spaces, and finally either a literal Z (indicating the |
| 922 |
|
time zone is UTC), or, a plus sign or a minus sign followed by two digits, |
| 923 |
|
a colon, and two digits (for the sign, the hours and minutes of the |
| 924 |
|
timezone offset respectively); with the month-day combination being a |
| 925 |
|
valid date in the given year according to the Gregorian calendar, the hour |
| 926 |
|
values (<var title="">h</var>) being in the range 0 ≤ <var |
| 927 |
|
title="">h</var> ≤ 23, the minute values (<var |
| 928 |
|
title="">m</var>) in the range 0 ≤ <var |
| 929 |
|
title="">m</var> ≤ 59, and the second value (<var |
| 930 |
|
title="">s</var>) being in the range 0 ≤ <var |
| 931 |
|
title="">h</var> < 60. <a |
| 932 |
|
href="#refsGREGORIAN">[GREGORIAN]</a> |
| 933 |
|
#ja |
| 934 |
|
文字列が<dfn id=valid5>妥当な日時</dfn>であるとは、4つの数字 |
| 935 |
|
(年を表します。)、ハイフン文字、2つの数字 (月を表します。)、 |
| 936 |
|
ハイフン文字、2つの数字 (日を表します。)、任意選択でいくらかの間隔、 |
| 937 |
|
文字 T または間隔、任意選択でいくらかの間隔、 |
| 938 |
|
2つの数字 (時)、コロン、2つの数字 (分)、 |
| 939 |
|
任意選択で秒 (これが含まれる場合、再度コロンの後に2つの数字 |
| 940 |
|
(秒の整数部)、任意選択で小数点の後に1つ以上の数字 (秒の小数部) |
| 941 |
|
で構成されなければ[[MUST:なりません]]。)、 |
| 942 |
|
任意選択でいくらかの間隔、そして最後に Z 文字 (時間帯が UTC であることを示します。) |
| 943 |
|
か、または正符号か負符号、2つの数字、コロン、2つの数字 (それぞれ時差の符号、 |
| 944 |
|
時、分) の並びのいずれか、これらを持つことをいいます。 |
| 945 |
|
ただし、月と日の組み合わせが当該年のグレゴリオ暦に照らして妥当な日付であり、 |
| 946 |
|
時の値 (<var title="">h</var>) が範囲 0 ≤ <var |
| 947 |
|
title="">h</var> ≤ 23 に、分の値 (<var |
| 948 |
|
title="">m</var>) が範囲 0 ≤ <var |
| 949 |
|
title="">m</var> ≤ 59 に、秒の値 (<var |
| 950 |
|
title="">s</var>) が範囲 0 ≤ <var |
| 951 |
|
title="">h</var> < 60 にあることとします。 <a |
| 952 |
|
href="#refsGREGORIAN">[GREGORIAN]</a> |
| 953 |
|
|
| 954 |
|
#en |
| 955 |
|
The digits must be characters in the range U+0030 DIGIT ZERO (0) to |
| 956 |
|
U+0039 DIGIT NINE (9), the hyphens must be a U+002D HYPHEN-MINUS |
| 957 |
|
characters, the T must be a U+0054 LATIN CAPITAL LETTER T, the colons must |
| 958 |
|
be U+003A COLON characters, the decimal point must be a U+002E FULL STOP, |
| 959 |
|
the Z must be a U+005A LATIN CAPITAL LETTER Z, the plus sign must be a |
| 960 |
|
U+002B PLUS SIGN, and the minus U+002D (same as the hyphen). |
| 961 |
|
#ja |
| 962 |
|
数字は範囲 U+0030 DIGIT ZERO (0) ~ |
| 963 |
|
U+0039 DIGIT NINE (9) の文字でなければ[[MUST:ならず]]、ハイフンは |
| 964 |
|
U+002D HYPHEN-MINUS 文字でなければ[[MUST:ならず]]、 |
| 965 |
|
T は U+0054 LATIN CAPITAL LETTER T でなければ[[MUST:ならず]]、 |
| 966 |
|
コロンは U+003A COLON 文字でなければ[[MUST:ならず]]、 |
| 967 |
|
小数点は U+002E FULL STOP でなければ[[MUST:ならず]]、 |
| 968 |
|
Z は U+005A LATIN CAPITAL LETTER Z でなければ[[MUST:ならず]]、 |
| 969 |
|
正符号は U+002B PLUS SIGN、負符号は |
| 970 |
|
U+002D (ハイフンと同じ) でなければ[[MUST:なりません]]。 |
| 971 |
|
|
| 972 |
|
#en |
| 973 |
|
The following are some examples of dates written as <a href="#valid5" |
| 974 |
|
title="valid datetime">valid datetimes</a>. |
| 975 |
|
#ja |
| 976 |
|
次に示すのは、<a href="#valid5" |
| 977 |
|
title="valid datetime">妥当な日時</a>として書かれた日付の例です。 |
| 978 |
|
|
| 979 |
|
#pattern |
| 980 |
|
"<code>*</code>" |
| 981 |
|
#ja |
| 982 |
|
「<code>$1</code>」 |
| 983 |
|
|
| 984 |
|
#en |
| 985 |
|
Midnight UTC on the birthday of Nero (the Roman Emperor). |
| 986 |
|
#ja |
| 987 |
|
ネロ (ローマ皇帝) の誕生日の UTC における真夜中 |
| 988 |
|
|
| 989 |
|
#en |
| 990 |
|
One millisecond after noon on October 14th 1979, in the time zone in |
| 991 |
|
use on the east coast of North America during daylight saving time. |
| 992 |
|
#ja |
| 993 |
|
北米大陸東海岸の夏時刻適用中における1979年10月14日の正午の1ミリ秒後 |
| 994 |
|
|
| 995 |
|
#en |
| 996 |
|
Midnight UTC on the 1st of January, 8592. The time zone associated |
| 997 |
|
with that time is two hours and nine minutes ahead of UTC. |
| 998 |
|
#ja |
| 999 |
|
8592年1月1日の UC にける真夜中。 |
| 1000 |
|
時間帯は UTC から2時間9分進んだもの。 |
| 1001 |
|
|
| 1002 |
|
#en |
| 1003 |
|
Several things are notable about these dates: |
| 1004 |
|
#ja |
| 1005 |
|
これらの日付に関して、いくつか注意点があります。 |
| 1006 |
|
|
| 1007 |
|
#en |
| 1008 |
|
Years with fewer than four digits have to be zero-padded. The date |
| 1009 |
|
"37-12-13" would not be a valid date. |
| 1010 |
|
#ja |
| 1011 |
|
4桁に満たない年は零埋めする必要があります。「37-12-13」 |
| 1012 |
|
は妥当な日付ではありません。 |
| 1013 |
|
|
| 1014 |
|
#en |
| 1015 |
|
To unambiguously identify a moment in time prior to the introduction |
| 1016 |
|
of the Gregorian calendar, the date has to be first converted to the |
| 1017 |
|
Gregorian calendar from the calendar in use at the time (e.g. from the |
| 1018 |
|
Julian calendar). The date of Nero's birth is the 15th of December 37, |
| 1019 |
|
in the Julian Calendar, which is the 13th of December 37 in the |
| 1020 |
|
Gregorian Calendar. |
| 1021 |
|
#ja |
| 1022 |
|
グレゴリオ暦導入以前の時刻を曖昧なく識別するためには、その時刻を当時の暦 |
| 1023 |
|
(例えばユリウス暦) からグレゴリオ暦に変換する必要があります。 |
| 1024 |
|
ネロの誕生日はユリウス暦では37年12月15日ですが、 |
| 1025 |
|
この日はグレゴリオ暦の37年12月13日にあたります。 |
| 1026 |
|
|
| 1027 |
|
#en |
| 1028 |
|
The time and timezone components are not optional. |
| 1029 |
|
#ja |
| 1030 |
|
時刻や時間帯の部品は省略可能ではありません。 |
| 1031 |
|
|
| 1032 |
|
#en |
| 1033 |
|
Dates before the year 0 or after the year 9999 can't be represented |
| 1034 |
|
as a datetime in this version of HTML. |
| 1035 |
|
#ja |
| 1036 |
|
0年より前や9999年より後の日付はこの版の HTML の日時としては表現できません。 |
| 1037 |
|
|
| 1038 |
|
#en |
| 1039 |
|
Time zones differ based on daylight savings time. |
| 1040 |
|
#ja |
| 1041 |
|
時間帯は夏時刻制によって異なります。 |
| 1042 |
|
|
| 1043 |
|
#en |
| 1044 |
|
Conformance checkers can use the algorithm below to determine |
| 1045 |
|
if a datetime is a valid datetime or not. |
| 1046 |
|
#ja |
| 1047 |
|
適合性検査器は時刻が妥当な時刻かどうかを決定するために後述の算法を使うことができます。 |
| 1048 |
|
|
| 1049 |
|
|
| 1050 |
|
|
| 1051 |
|
#en |
| 1052 |
|
<a href="#collect">Collect a sequence of characters</a> that are |
| 1053 |
|
either U+0054 LATIN CAPITAL LETTER T characters or <a href="#space" |
| 1054 |
|
title="space character">space characters</a>. If the collected sequence |
| 1055 |
|
is zero characters long, or if it contains more than one U+0054 LATIN |
| 1056 |
|
CAPITAL LETTER T character, then fail. |
| 1057 |
|
#ja |
| 1058 |
|
U+0054 LATIN CAPITAL LETTER T 文字であるか、または<a href="#space" |
| 1059 |
|
title="space character">間隔文字</a>である<a href="#collect">文字の列を集めます</a>。 |
| 1060 |
|
集めた列が零文字長の場合、または複数の U+0054 LATIN |
| 1061 |
|
CAPITAL LETTER T 文字を含む場合、失敗します。 |
| 1062 |
|
|
| 1063 |
|
#en |
| 1064 |
|
If <var title="">hour</var> is not a number in the range |
| 1065 |
|
0 ≤ <var title="">hour</var> ≤ 23, then fail. |
| 1066 |
|
#ja |
| 1067 |
|
<var title="">hour</var> が範囲 0 ≤ <var title="">hour</var> ≤ 23 |
| 1068 |
|
の数でない場合、失敗します。 |
| 1069 |
|
|
| 1070 |
|
#en |
| 1071 |
|
If <var title="">position</var> is beyond the end of <var |
| 1072 |
|
title="">input</var> or if the character at <var title="">position</var> |
| 1073 |
|
is not a U+003A COLON character, then fail. Otherwise, move <var |
| 1074 |
|
title="">position</var> forwards one character. |
| 1075 |
|
#ja |
| 1076 |
|
<var title="">position</var> が <var |
| 1077 |
|
title="">input</var> の終わりを過ぎている場合、 |
| 1078 |
|
または <var title="">position</var> の文字が U+003A COLON |
| 1079 |
|
文字でない場合、失敗します。 |
| 1080 |
|
そうでない場合、 <var |
| 1081 |
|
title="">position</var> を1文字先へ進めます。 |
| 1082 |
|
|
| 1083 |
|
#en |
| 1084 |
|
If <var title="">minute</var> is not a number in the range |
| 1085 |
|
0 ≤ <var title="">minute</var> ≤ 59, then fail. |
| 1086 |
|
#ja |
| 1087 |
|
<var title="">minute</var> が範囲 |
| 1088 |
|
0 ≤ <var title="">minute</var> ≤ 59 |
| 1089 |
|
の数でない場合、失敗します。 |