1 # SOME DESCRIPTIVE TITLE
2 # Copyright (C) YEAR Free Software Foundation, Inc.
3 # This file is distributed under the same license as the PACKAGE package.
4 # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
8 "Project-Id-Version: PACKAGE VERSION\n"
9 "POT-Creation-Date: 2014-04-08 11:14+0900\n"
10 "PO-Revision-Date: 2015-04-12 21:25+0900\n"
11 "Last-Translator: Chonan Yoichi <cyoichi@maple.ocn.ne.jp>\n"
12 "Language-Team: Linux JM project <linuxjm-discuss@lists.sourceforge.jp>\n"
15 "Content-Type: text/plain; charset=UTF-8\n"
16 "Content-Transfer-Encoding: 8bit\n"
19 #: parse-datetime.texi:12 parse-datetime.texi:13
21 msgid "Date input formats"
22 msgstr "Date input formats"
25 #: parse-datetime.texi:15
27 msgid "date input formats"
28 msgstr "date input formats"
31 #: parse-datetime.texi:16
33 msgid "parse_datetime"
34 msgstr "parse_datetime"
37 #: parse-datetime.texi:19
38 msgid "First, a quote:"
42 #: parse-datetime.texi:34
44 "Our units of temporal measurement, from seconds on up to months, are so "
45 "complicated, asymmetrical and disjunctive so as to make coherent mental "
46 "reckoning in time all but impossible. Indeed, had some tyrannical god "
47 "contrived to enslave our minds to time, to make it all but impossible for us "
48 "to escape subjection to sodden routines and unpleasant surprises, he could "
49 "hardly have done better than handing down our present system. It is like a "
50 "set of trapezoidal building blocks, with no vertical or horizontal surfaces, "
51 "like a language in which the simplest thought demands ornate constructions, "
52 "useless particles and lengthy circumlocutions. Unlike the more successful "
53 "patterns of language and science, which enable us to face experience boldly "
54 "or at least level-headedly, our system of temporal calculation silently and "
55 "persistently encourages our terror of time."
57 "時間を計るための我々の単位は、秒から月にいたるまで、あまりにも\n"
58 "複雑で、一貫性がなく、ばらばらなので、時間について間違わずに暗算\n"
59 "をすることなど、ほとんど不可能なほどだ。まったくの話、どこかの\n"
60 "横暴な神様が、人間の知能を時間の奴隷にしてやろうと企んだとしても \n"
61 "--- 腐った決まりごとや不愉快な不意打ちに隷従せずに済ますことなど、\n"
62 "人間にはほとんど不可能にしてやろうと企んだとしても --- 現在我々が\n"
63 "使っているシステムをお下げ渡しになる以上のことは、できなかったに\n"
64 "違いない。我々の時間計算のシステムは、垂直な面も水平な面もない\n"
65 "台形の建築ブロックの集まりのようなものだ。あるいは、ほんの簡単な\n"
66 "考えを述べるにも、凝りに凝った構成や、無駄な不変化詞や、長々しい\n"
67 "婉曲表現が必要な言語のようなものだ。言語や科学のもっとうまく行って\n"
68 "いる思考様式は、我々が経験に果敢に立ち向かうことを、少なくとも\n"
69 "冷静に立ち向かうことを可能にしてくれる。ところが、そうしたものとは\n"
70 "違って、我々の時間計算のシステムは、密かに、しかも執拗に時間に\n"
74 #: parse-datetime.texi:40
76 "@dots{} It is as though architects had to measure length in feet, width in "
77 "meters and height in ells; as though basic instruction manuals demanded a "
78 "knowledge of five different languages. It is no wonder then that we often "
79 "look into our own immediate past or future, last Tuesday or a week from "
80 "Sunday, with feelings of helpless confusion. @dots{}"
82 "@dots{} それは、建築家が長さをフィートで、幅をメートルで、高さをエルで\n"
83 "測らなければならないようなものだ。あるいは、基本的な使用説明書を\n"
84 "読むのに、五つの異なった言語の知識が必要なようなものだ。だから、\n"
85 "我々が、自分にとってすぐ最近の過去や未来を表す、この前の火曜日 \n"
86 "(last Tuesday) とか、来週の日曜日 (a week from Sunday) とかいった\n"
87 "表現について、それは一体いつを指しているのだろうと考え込んでは、\n"
88 "どうしようもない混乱を覚えることがよくあるのも、無理からぬこと\n"
92 #: parse-datetime.texi:42
93 msgid "---Robert Grudin, @cite{Time and the Art of Living}."
94 msgstr "--- Robert Grudin, @cite{Time and the Art of Living}."
97 #: parse-datetime.texi:48
99 "This section describes the textual date representations that GNU programs "
100 "accept. These are the strings you, as a user, can supply as arguments to "
101 "the various programs. The C interface (via the @code{parse_datetime} "
102 "function) is not described here."
104 "この章では、GNU のプログラムが認識する日付表現文字列について説明\n"
105 "する。そうした文字列は、ユーザである読者が、様々なプログラムに引数\n"
106 "として渡すことのできるものだ。C のインターフェース (@code{parse_datetime} \n"
107 "関数で使用する) については、ここでは説明しない。"
110 #: parse-datetime.texi:61 parse-datetime.texi:64 parse-datetime.texi:65
112 msgid "General date syntax"
113 msgstr "General date syntax"
116 #: parse-datetime.texi:61
117 msgid "Common rules."
121 #: parse-datetime.texi:61 parse-datetime.texi:155 parse-datetime.texi:156
123 msgid "Calendar date items"
124 msgstr "Calendar date items"
127 #: parse-datetime.texi:61
129 msgstr "暦日の項目 (19 Dec 1994)。"
132 #: parse-datetime.texi:61 parse-datetime.texi:226 parse-datetime.texi:227
134 msgid "Time of day items"
135 msgstr "Time of day items"
138 #: parse-datetime.texi:61
140 msgstr "時刻の項目 (9:20pm)。"
143 #: parse-datetime.texi:61 parse-datetime.texi:289 parse-datetime.texi:290
145 msgid "Time zone items"
146 msgstr "Time zone items"
149 #: parse-datetime.texi:61
150 msgid "EST, PDT, UTC, @dots{}"
151 msgstr "タイムゾーンの項目 (EST, PDT, UTC, @dots{})。"
154 #: parse-datetime.texi:61 parse-datetime.texi:318 parse-datetime.texi:319
156 msgid "Combined date and time of day items"
157 msgstr "Combined date and time of day items"
160 #: parse-datetime.texi:61
161 msgid "1972-09-24T20:02:00,000000-0500."
162 msgstr "暦日と時刻を組み合わせた項目 (1972-09-24T20:02:00,000000-0500)。"
165 #: parse-datetime.texi:61 parse-datetime.texi:344 parse-datetime.texi:345
167 msgid "Day of week items"
168 msgstr "Day of week items"
171 #: parse-datetime.texi:61
172 msgid "Monday and others."
173 msgstr "曜日の項目 (Monday, Tuesday)。"
176 #: parse-datetime.texi:61 parse-datetime.texi:371 parse-datetime.texi:372
178 msgid "Relative items in date strings"
179 msgstr "Relative items in date strings"
182 #: parse-datetime.texi:61
183 msgid "next tuesday, 2 years ago."
184 msgstr "相対表現の項目 (next tuesday, 2 years ago)。"
187 #: parse-datetime.texi:61 parse-datetime.texi:454 parse-datetime.texi:455
189 msgid "Pure numbers in date strings"
190 msgstr "Pure numbers in date strings"
193 #: parse-datetime.texi:61
194 msgid "19931219, 1440."
195 msgstr "純粋な数値 (19931219, 1440)。"
198 #: parse-datetime.texi:61 parse-datetime.texi:478 parse-datetime.texi:479
200 msgid "Seconds since the Epoch"
201 msgstr "Seconds since the Epoch"
204 #: parse-datetime.texi:61
205 msgid "@@1078100502."
206 msgstr "紀元からの秒数 (@@1078100502)。"
209 #: parse-datetime.texi:61 parse-datetime.texi:512 parse-datetime.texi:513
211 msgid "Specifying time zone rules"
212 msgstr "Specifying time zone rules"
215 #: parse-datetime.texi:61
216 msgid "TZ=\"America/New_York\", TZ=\"UTC0\"."
217 msgstr "タイムゾーン・ルールの指定 (TZ=\"America/New_York\", TZ=\"UTC0\")。"
220 #: parse-datetime.texi:61 parse-datetime.texi:563
222 msgid "Authors of parse_datetime"
223 msgstr "Authors of parse_datetime"
226 #: parse-datetime.texi:61
227 msgid "Bellovin, Eggert, Salz, Berets, et al."
228 msgstr "parse_datetime の作者 (Bellovin, Eggert, Salz, Berets, et al.)。"
231 #: parse-datetime.texi:67
233 msgid "general date syntax"
234 msgstr "general date syntax"
237 #: parse-datetime.texi:69
239 msgid "items in date strings"
240 msgstr "items in date strings"
243 #: parse-datetime.texi:75
245 "A @dfn{date} is a string, possibly empty, containing many items separated by "
246 "whitespace. The whitespace may be omitted when no ambiguity arises. The "
247 "empty string means the beginning of today (i.e., midnight). Order of the "
248 "items is immaterial. A date string may contain many flavors of items:"
250 "日付 (@dfn{date}) は、空文字列のこともある文字列であり、空白 (whitespace) \n"
251 "で区切られた多くの項目を含んでいる。各項目の意味に曖昧さが生じないなら、\n"
252 "空白は省略できる。空の文字列は、今日の始まり (すなわち、真夜中) を意味\n"
253 "している。項目の順序は重要ではない。日付文字列では、様々な種類の項目を\n"
257 #: parse-datetime.texi:77
259 msgid "calendar date items"
263 #: parse-datetime.texi:78
265 msgid "time of day items"
269 #: parse-datetime.texi:79
271 msgid "time zone items"
275 #: parse-datetime.texi:80
277 msgid "combined date and time of day items"
278 msgstr "日付と時刻を組み合わせた項目"
281 #: parse-datetime.texi:81
283 msgid "day of the week items"
287 #: parse-datetime.texi:82
289 msgid "relative items"
293 #: parse-datetime.texi:83
295 msgid "pure numbers."
299 #: parse-datetime.texi:88
301 msgid "numbers, written-out"
302 msgstr "numbers, written-out"
305 #: parse-datetime.texi:89
307 msgid "ordinal numbers"
308 msgstr "ordinal numbers"
311 #: parse-datetime.texi:90
313 msgid "first @r{in date strings}"
314 msgstr "first @r{in date strings}"
317 #: parse-datetime.texi:91
319 msgid "next @r{in date strings}"
320 msgstr "next @r{in date strings}"
323 #: parse-datetime.texi:92
325 msgid "last @r{in date strings}"
326 msgstr "last @r{in date strings}"
329 #: parse-datetime.texi:104
331 "A few ordinal numbers may be written out in words in some contexts. This is "
332 "most useful for specifying day of the week items or relative items (see "
333 "below). Among the most commonly used ordinal numbers, the word @samp{last} "
334 "stands for @math{-1}, @samp{this} stands for 0, and @samp{first} and @samp"
335 "{next} both stand for 1. Because the word @samp{second} stands for the unit "
336 "of time there is no way to write the ordinal number 2, but for convenience "
337 "@samp{third} stands for 3, @samp{fourth} for 4, @samp{fifth} for 5, @samp"
338 "{sixth} for 6, @samp{seventh} for 7, @samp{eighth} for 8, @samp{ninth} for "
339 "9, @samp{tenth} for 10, @samp{eleventh} for 11 and @samp{twelfth} for 12."
341 "何番目かを示す序数の中には、現れる場所によっては、単語で表現できる\n"
342 "ものがいくつかある。これは、曜日や相対的表現の項目を指定するとき、\n"
343 "たいへん便利だ (下記参照)。使用頻度のきわめて高い序数を取り上げると、\n"
344 "@samp{last} という単語は @math{-1} を表し、@samp{this} は 0 を、@samp{first} "
346 "両方とも 1 を表している。@samp{second} という単語は時間の単位でもあるので、\n"
347 "序数の 2 を単語で表現する方法はない。だが、便宜を考えて、@samp{third} は \n"
348 "3 を、@samp{fourth} は 4 を、@samp{fifth} は 5 を、@samp{sixth} は 6 を、"
349 "@samp{seventh} は \n"
350 "7 を、@samp{eighth} は 8 を、@samp{ninth} は 9 を、@samp{tenth} は 10 を、"
351 "@samp{eleventh} は \n"
352 "11 を、@samp{twelfth} は 12 を表すことになっている。"
355 #: parse-datetime.texi:105
357 msgid "months, written-out"
358 msgstr "months, written-out"
361 #: parse-datetime.texi:109
363 "When a month is written this way, it is still considered to be written "
364 "numerically, instead of being ``spelled in full''; this changes the allowed "
367 "月がこの形で表現されたときも、やはり数値として (訳注: たとえば、今月\n"
368 "から何ヶ月後と) 指定されたと見なされるのであって、月の名前の省略なしの\n"
369 "表記と解釈されるわけではない (訳注: たとえば、third month を March の\n"
370 "別名の完全表記とは考えない)。そのため、March のような月名を使った場合\n"
374 #: parse-datetime.texi:110 parse-datetime.texi:115
376 msgid "language, in dates"
377 msgstr "language, in dates"
380 #: parse-datetime.texi:114
382 "In the current implementation, only English is supported for words and "
383 "abbreviations like @samp{AM}, @samp{DST}, @samp{EST}, @samp{first}, @samp"
384 "{January}, @samp{Sunday}, @samp{tomorrow}, and @samp{year}."
386 "現在の実装で使用できる単語は、英語の単語とその省略形のみである。\n"
387 "すなわち、@samp{AM}, @samp{DST}, @samp{EST}, @samp{first}, @samp{January}, \n"
388 "@samp{Sunday}, @samp{tomorrow}, @samp{year} などだ。"
391 #: parse-datetime.texi:116 parse-datetime.texi:292
393 msgid "time zone item"
394 msgstr "time zone item"
397 #: parse-datetime.texi:125
399 "The output of the @command{date} command is not always acceptable as a date "
400 "string, not only because of the language problem, but also because there is "
401 "no standard meaning for time zone items like @samp{IST}@. When using "
402 "@command{date} to generate a date string intended to be parsed later, "
403 "specify a date format that is independent of language and that does not use "
404 "time zone items other than @samp{UTC} and @samp{Z}@. Here are some ways to "
407 "@command{date} コマンドの出力だからと言って、必ずしも日付文字列として\n"
408 "プログラムに渡せるとはかぎらない。言語の問題のせいばかりではない。\n"
409 "@samp{IST} のようなタイムゾーン項目には、標準的な意味が存在しないからでも\n"
410 "ある。@command{date} を使用して日付文字列を生成し、それに対して後で構文解析\n"
411 "を行うつもりなら、日付の書式には、言語が何であるかに依存せず、@samp{UTC} と \n"
412 "@samp{Z} 以外のタイムゾーン項目を使用しないものを指定するべきだ。それを行う\n"
416 #: parse-datetime.texi:139
419 "$ LC_ALL=C TZ=UTC0 date\n"
420 "Mon Mar 1 00:21:42 UTC 2004\n"
421 "$ TZ=UTC0 date +'%Y-%m-%d %H:%M:%SZ'\n"
422 "2004-03-01 00:21:42Z\n"
423 "$ date --rfc-3339=ns # --rfc-3339 is a GNU extension.\n"
424 "2004-02-29 16:21:42.692722128-08:00\n"
425 "$ date --rfc-2822 # a GNU extension\n"
426 "Sun, 29 Feb 2004 16:21:42 -0800\n"
427 "$ date +'%Y-%m-%d %H:%M:%S %z' # %z is a GNU extension.\n"
428 "2004-02-29 16:21:42 -0800\n"
429 "$ date +'@@%s.%N' # %s and %N are GNU extensions.\n"
430 "@@1078100502.692722128\n"
432 "$ LC_ALL=C TZ=UTC0 date\n"
433 "Mon Mar 1 00:21:42 UTC 2004\n"
434 "$ TZ=UTC0 date +'%Y-%m-%d %H:%M:%SZ'\n"
435 "2004-03-01 00:21:42Z\n"
436 "$ date --rfc-3339=ns # --rfc-3339 は GNU の拡張。\n"
437 "2004-02-29 16:21:42.692722128-08:00\n"
438 "$ date --rfc-2822 # GNU の拡張。\n"
439 "Sun, 29 Feb 2004 16:21:42 -0800\n"
440 "$ date +'%Y-%m-%d %H:%M:%S %z' # %z は GNU の拡張。\n"
441 "2004-02-29 16:21:42 -0800\n"
442 "$ date +'@@%s.%N' # %s と %N も GNU の拡張。\n"
443 "@@1078100502.692722128\n"
446 #: parse-datetime.texi:141
448 msgid "case, ignored in dates"
449 msgstr "case, ignored in dates"
452 #: parse-datetime.texi:142
454 msgid "comments, in dates"
455 msgstr "comments, in dates"
458 #: parse-datetime.texi:147
460 "Alphabetic case is completely ignored in dates. Comments may be introduced "
461 "between round parentheses, as long as included parentheses are properly "
462 "nested. Hyphens not followed by a digit are currently ignored. Leading "
463 "zeros on numbers are ignored."
465 "日付を指定する際、アルファベットの大文字と小文字は全く区別されない。\n"
466 "丸カッコで囲めば、コメントを入れることができる。ただし、丸カッコを入れ子\n"
467 "にするときは、開きカッコと閉じカッコがきちんと対応していなければならない。\n"
468 "数字が後に続かないハイフンは、現在のところ無視される。また、数値の前に\n"
472 #: parse-datetime.texi:148 parse-datetime.texi:241 parse-datetime.texi:505
475 msgstr "leap seconds"
478 #: parse-datetime.texi:153
480 "Invalid dates like @samp{2005-02-29} or times like @samp{24:00} are "
481 "rejected. In the typical case of a host that does not support leap seconds, "
482 "a time like @samp{23:59:60} is rejected even if it corresponds to a valid "
485 "@samp{2005-02-29} のような無効な日付や @samp{24:00} のような無効な時刻は、\n"
486 "却下される。閏秒をサポートしていないホストでは、@samp{23:59:60} のような\n"
487 "時刻は、たとえ閏秒に正しく対応する値であっても、却下されるのが普通である。"
490 #: parse-datetime.texi:158
492 msgid "calendar date item"
493 msgstr "calendar date item"
496 #: parse-datetime.texi:163
498 "A @dfn{calendar date item} specifies a day of the year. It is specified "
499 "differently, depending on whether the month is specified numerically or "
500 "literally. All these strings specify the same calendar date:"
502 "暦日の項目 (@dfn{calendar date item}) では、ある年のある一日を指定する。\n"
503 "月を数字で指定するか、文字で指定するかにかによって、日付の指定法が変わって\n"
504 "くる。以下に挙げる文字列は、すべて暦の上の同じ日付を指定している。"
507 #: parse-datetime.texi:176
510 "1972-09-24 # ISO 8601.\n"
511 "72-9-24 # Assume 19xx for 69 through 99,\n"
512 " # 20xx for 00 through 68.\n"
513 "72-09-24 # Leading zeros are ignored.\n"
514 "9/24/72 # Common U.S. writing.\n"
515 "24 September 1972\n"
516 "24 Sept 72 # September has a special abbreviation.\n"
517 "24 Sep 72 # Three-letter abbreviations always allowed.\n"
522 "1972-09-24 # ISO 8601 形式。\n"
523 "72-9-24 # 69 から 99 までは、19xx 年と見なし、\n"
524 " # 00 から 68 までは、20xx 年と見なす。\n"
525 "72-09-24 # 先頭の 0 は無視される。\n"
526 "9/24/72 # アメリカでよく使われる表記。\n"
527 "24 September 1972\n"
528 "24 Sept 72 # September には、4 文字の省略形もある。\n"
529 "24 Sep 72 # 3 文字の省略形は、何月に対しても使用できる。\n"
535 #: parse-datetime.texi:180
537 "The year can also be omitted. In this case, the last specified year is "
538 "used, or the current year if none. For example:"
540 "年を省略することもできる。その場合は、日付文字列の後方で指定された\n"
541 "年が使用される (訳注: たとえば、@code{date -d \"5/3 2:00 UTC 2015\"} のよう"
543 "場合だろう)。それもない場合は、今年が使われる。例を挙げると、次のような\n"
547 #: parse-datetime.texi:184
557 #: parse-datetime.texi:187
558 msgid "Here are the rules."
559 msgstr "要するに、ルールはこうだ。"
562 #: parse-datetime.texi:188
564 msgid "ISO 8601 date format"
565 msgstr "ISO 8601 date format"
568 #: parse-datetime.texi:189
570 msgid "date format, ISO 8601"
571 msgstr "date format, ISO 8601"
574 #: parse-datetime.texi:199
576 "For numeric months, the ISO 8601 format @samp{@var{year}-@var{month}-@var"
577 "{day}} is allowed, where @var{year} is any positive number, @var{month} is a "
578 "number between 01 and 12, and @var{day} is a number between 01 and 31. A "
579 "leading zero must be present if a number is less than ten. If @var{year} is "
580 "68 or smaller, then 2000 is added to it; otherwise, if @var{year} is less "
581 "than 100, then 1900 is added to it. The construct @samp{@var{month}/@var"
582 "{day}/@var{year}}, popular in the United States, is accepted. Also @samp"
583 "{@var{month}/@var{day}}, omitting the year."
585 "月を数字で表す場合、ISO 8601 の形式、すなわち @samp{@var{year}-@var{month}-@var{day}} が\n"
586 "使用できる。ここで @var{year} は任意の正の数であり、@var{month} は 01 から 12 \n"
587 "までの数、@var{day} は 01 から 31 までの数である。数が 10 未満のときは、\n"
588 "0 を前に付けることになる。@var{year} が 68 以下の場合は、@var{year} に2000 が加算\n"
589 "される。また、@var{year} が 69 以上、100 未満ならば、1900 が加算される。\n"
590 "アメリカ合衆国で一般的な @samp{@var{month}/@var{day}/@var{year}} という書式も使うことが\n"
591 "できる。年を省略した @samp{@var{month}/@var{day}} も可能である。"
594 #: parse-datetime.texi:200
596 msgid "month names in date strings"
597 msgstr "month names in date strings"
600 #: parse-datetime.texi:201
602 msgid "abbreviations for months"
603 msgstr "abbreviations for months"
606 #: parse-datetime.texi:208
608 "Literal months may be spelled out in full: @samp{January}, @samp{February}, "
609 "@samp{March}, @samp{April}, @samp{May}, @samp{June}, @samp{July}, @samp"
610 "{August}, @samp{September}, @samp{October}, @samp{November} or @samp"
611 "{December}. Literal months may be abbreviated to their first three letters, "
612 "possibly followed by an abbreviating dot. It is also permitted to write "
613 "@samp{Sept} instead of @samp{September}."
615 "月の名前を使用する場合は、フルスペルで書いてもよい。すなわち、\n"
616 "@samp{January}, @samp{February}, @samp{March}, @samp{April}, @samp{May}, @samp{June}, @samp{July}, \n"
617 "@samp{August}, @samp{September}, @samp{October}, @samp{November}, @samp{December} である。月の\n"
618 "名前は、最初の 3 文字に省略することができる。その場合、省略の印の\n"
619 "ピリオドは、付けても付けなくてもよい。また、@samp{September} の代わりに、\n"
620 "@samp{Sept} と書くことも認められている。"
623 #: parse-datetime.texi:211
625 "When months are written literally, the calendar date may be given as any of "
627 msgstr "月名を使用する場合、暦の上の日付は、以下のどの形で指定してもよい。"
630 #: parse-datetime.texi:217
633 "@var{day} @var{month} @var{year}\n"
634 "@var{day} @var{month}\n"
635 "@var{month} @var{day} @var{year}\n"
636 "@var{day}-@var{month}-@var{year}\n"
638 "@var{day} @var{month} @var{year}\n"
639 "@var{day} @var{month}\n"
640 "@var{month} @var{day} @var{year}\n"
641 "@var{day}-@var{month}-@var{year}\n"
644 #: parse-datetime.texi:220
645 msgid "Or, omitting the year:"
646 msgstr "年を省略することもできる。"
649 #: parse-datetime.texi:223
651 msgid "@var{month} @var{day}\n"
652 msgstr "@var{month} @var{day}\n"
655 #: parse-datetime.texi:229
657 msgid "time of day item"
658 msgstr "time of day item"
661 #: parse-datetime.texi:233
663 "A @dfn{time of day item} in date strings specifies the time on a given day. "
664 "Here are some examples, all of which represent the same time:"
666 "日付文字列中の時刻の項目 (@dfn{time of day item}) では、当日の時刻を指定\n"
667 "する。以下に挙げるいくつかの例は、すべて同じ時刻を表している。"
670 #: parse-datetime.texi:239
676 "20:02-0500 # In EST (U.S. Eastern Standard Time).\n"
681 "20:02-0500 # EST (U.S. Eastern Standard Time)\n"
684 #: parse-datetime.texi:251
686 "More generally, the time of day may be given as @samp{@var{hour}:@var"
687 "{minute}:@var{second}}, where @var{hour} is a number between 0 and 23, @var"
688 "{minute} is a number between 0 and 59, and @var{second} is a number between "
689 "0 and 59 possibly followed by @samp{.} or @samp{,} and a fraction containing "
690 "one or more digits. Alternatively, @samp{:@var{second}} can be omitted, in "
691 "which case it is taken to be zero. On the rare hosts that support leap "
692 "seconds, @var{second} may be 60."
694 "もっと一般的に言うと、時刻は @samp{@var{hour}:@var{minute}:@var{second}} の形"
696 "@var{hour} は 0 から 23 までの数であり、@var{minute} は 0 から 59 までの数で"
698 "@var{second} は 0 から 59 までの数であり、@samp{.} や @samp{,} を後ろに付け"
700 "の数字からなる小数を続けてもよい。なお、@samp{:@var{second}} は省略することも"
702 "その場合は 0 を指定したことになる。閏秒をサポートするホストもまれには\n"
703 "あり、そうしたところでは @var{second} に 60 を指定することができる。"
706 #: parse-datetime.texi:252
708 msgid "am @r{in date strings}"
709 msgstr "am @r{in date strings}"
712 #: parse-datetime.texi:253
714 msgid "pm @r{in date strings}"
715 msgstr "pm @r{in date strings}"
718 #: parse-datetime.texi:254
720 msgid "midnight @r{in date strings}"
721 msgstr "midnight @r{in date strings}"
724 #: parse-datetime.texi:255
726 msgid "noon @r{in date strings}"
727 msgstr "noon @r{in date strings}"
730 #: parse-datetime.texi:265
732 "If the time is followed by @samp{am} or @samp{pm} (or @samp{a.m.} or @samp{p."
733 "m.}), @var{hour} is restricted to run from 1 to 12, and @samp{:@var{minute}} "
734 "may be omitted (taken to be zero). @samp{am} indicates the first half of "
735 "the day, @samp{pm} indicates the second half of the day. In this notation, "
736 "12 is the predecessor of 1: midnight is @samp{12am} while noon is @samp"
737 "{12pm}. (This is the zero-oriented interpretation of @samp{12am} and @samp"
738 "{12pm}, as opposed to the old tradition derived from Latin which uses @samp"
739 "{12m} for noon and @samp{12pm} for midnight.)"
741 "時刻に @samp{am} や @samp{pm} (または @samp{a.m.} や @samp{p.m.}) が続く場合"
743 "1 から 12 までになる。@samp{:@var{minute}} は省略してもよい (0 を指定したもの"
745 "見なされる)。@samp{am} は一日の前半を示し、@samp{pm} は一日の後半を示す。こ"
747 "表記法では、1 の前が 12 になる。すなわち、真夜中は @samp{12am} であり、正午\n"
748 "は @samp{12pm} である。(これは @samp{12am} や @samp{12pm} の 12 を 0 のように"
750 "であり、正午を @samp{12m}、深夜を @samp{12pm} とするラテン文化から来た従来の"
755 #: parse-datetime.texi:266
757 msgid "time zone correction"
758 msgstr "time zone correction"
761 #: parse-datetime.texi:267
763 msgid "minutes, time zone correction by"
764 msgstr "minutes, time zone correction by"
767 #: parse-datetime.texi:284
769 "The time may alternatively be followed by a time zone correction, expressed "
770 "as @samp{@var{s}@var{hh}@var{mm}}, where @var{s} is @samp{+} or @samp{-}, "
771 "@var{hh} is a number of zone hours and @var{mm} is a number of zone "
772 "minutes. The zone minutes term, @var{mm}, may be omitted, in which case the "
773 "one- or two-digit correction is interpreted as a number of hours. You can "
774 "also separate @var{hh} from @var{mm} with a colon. When a time zone "
775 "correction is given this way, it forces interpretation of the time relative "
776 "to Coordinated Universal Time (UTC), overriding any previous specification "
777 "for the time zone or the local time zone. For example, @samp{+0530} and "
778 "@samp{+05:30} both stand for the time zone 5.5 hours ahead of UTC (e.g., "
779 "India). This is the best way to specify a time zone correction by "
780 "fractional parts of an hour. The maximum zone correction is 24 hours."
782 "また、時刻にはタイムゾーン補正を続けてもよい。補正は @samp{@var{s}@var{hh}@var{mm}} という\n"
783 "形で表現され、@var{s} は @samp{+} または @samp{-} 符号、@var{hh} は時間帯の時間差、@var{mm} は分差の\n"
784 "部分である。分差の部分 @var{mm} は指定しないでもよく、その場合は、1 桁ないし \n"
785 "2 桁の補正は、時間差の指定と見なされる。なお、@var{hh} と @var{mm} の間をコロンで\n"
786 "区切ってもよい。タイムゾーン補正をこの方法で指定した場合、それが、それ\n"
787 "までに指定したいかなるタイムゾーンよりも、また、ローカル・タイムゾーン\n"
788 "よりも優先され、指定した時刻は、協定世界時 (UTC) よりも補正分進んでいる \n"
789 "(あるいは、遅れている) タイムゾーンの時刻であると解釈されることになる。\n"
790 "一例を挙げると、@samp{+0530} と @samp{+05:30} は両方とも、UTC より 5.5 時間進んだ\n"
791 "タイムゾーンを表している (たとえば、インドである)。これは、タイムゾーン\n"
792 "補正を 1 時間以下の部分まで指定する最善の方法である。タイムゾーン補正の\n"
796 #: parse-datetime.texi:287
798 "Either @samp{am}/@samp{pm} or a time zone correction may be specified, but "
801 "@samp{am}/@samp{pm} とタイムゾーン補正は、どちらか一方のみが指定できる。両方"
806 #: parse-datetime.texi:305
808 "A @dfn{time zone item} specifies an international time zone, indicated by a "
809 "small set of letters, e.g., @samp{UTC} or @samp{Z} for Coordinated Universal "
810 "Time. Any included periods are ignored. By following a non-daylight-saving "
811 "time zone by the string @samp{DST} in a separate word (that is, separated by "
812 "some white space), the corresponding daylight saving time zone may be "
813 "specified. Alternatively, a non-daylight-saving time zone can be followed "
814 "by a time zone correction, to add the two values. This is normally done "
815 "only for @samp{UTC}; for example, @samp{UTC+05:30} is equivalent to @samp"
818 "タイムゾーン項目 (@dfn{time zone item}) では、国際時間帯を指定する。これは\n"
819 "数個の文字によって表されるもので、たとえば、協定世界時 (Coordinated \n"
820 "Universal Time) なら @samp{UTC} または @samp{Z} である。省略の印のピリオド"
822 "すべて無視される。標準時のタイムゾーン (a non-daylight-saving time \n"
823 "zone) の後ろに、文字列 @samp{DST} を独立した単語として (すなわち、空白、\n"
824 "タブなどを間に置いて) 続けると、対応する夏時間のタイムゾーンを指定\n"
825 "することができる。ちなみに、標準時のタイムゾーンの後ろに、タイムゾーン\n"
826 "補正を続けて、両方の値を加算することもできる。ただし、その指定法は、\n"
827 "通常 @samp{UTC} に対してしか行われない。たとえば、@samp{UTC+05:30} は @samp"
832 #: parse-datetime.texi:312
834 "Time zone items other than @samp{UTC} and @samp{Z} are obsolescent and are "
835 "not recommended, because they are ambiguous; for example, @samp{EST} has a "
836 "different meaning in Australia than in the United States. Instead, it's "
837 "better to use unambiguous numeric time zone corrections like @samp{-0500}, "
838 "as described in the previous section."
840 "@samp{UTC} と @samp{Z} 以外のタイムゾーン項目は、時代遅れになりかかっている\n"
841 "ので、使用しない方がよい。理由は解釈が一定しないからであり、たとえば、\n"
842 "@samp{EST} はオーストラリアとアメリカ合衆国で違った意味を持っている。タイム\n"
843 "ゾーン項目を使用するよりも、前節で述べた @samp{-0500} のような、数値による\n"
844 "タイムゾーン補正を使った方が、曖昧さがないので、賢明である。"
847 #: parse-datetime.texi:316
849 "If neither a time zone item nor a time zone correction is supplied, time "
850 "stamps are interpreted using the rules of the default time zone (@pxref"
851 "{Specifying time zone rules})."
853 "タイムゾーン項目とタイムゾーン補正のどちらも指定されていない場合、\n"
854 "日付の解釈は、デフォルトのタイムゾーンのルールを用いて行われる (@pxref"
855 "{Specifying time zone rules})。"
858 #: parse-datetime.texi:321
860 msgid "combined date and time of day item"
861 msgstr "combined date and time of day item"
864 #: parse-datetime.texi:322
866 msgid "ISO 8601 date and time of day format"
867 msgstr "ISO 8601 date and time of day format"
870 #: parse-datetime.texi:323
872 msgid "date and time of day format, ISO 8601"
873 msgstr "date and time of day format, ISO 8601"
876 #: parse-datetime.texi:329
878 "The ISO 8601 date and time of day extended format consists of an ISO 8601 "
879 "date, a @samp{T} character separator, and an ISO 8601 time of day. This "
880 "format is also recognized if the @samp{T} is replaced by a space."
882 "ISO 8601 の拡張日時書式は、ISO 8601 形式の日付、@samp{T} という区切り文字、\n"
883 "ISO 8601 形式の時刻という構成になっている。@samp{T} の代わりにスペースが\n"
884 "使われていても、この書式として認識される。"
887 #: parse-datetime.texi:335
889 "In this format, the time of day should use 24-hour notation. Fractional "
890 "seconds are allowed, with either comma or period preceding the fraction. "
891 "ISO 8601 fractional minutes and hours are not supported. Typically, hosts "
892 "support nanosecond timestamp resolution; excess precision is silently "
895 "この書式では、時刻は 24 時間表記を使用するべきである。秒については、\n"
896 "コンマまたはピリオドに小数部分を続けることで、小数点以下も指定できる。\n"
897 "ISO 8601 で認められている分や時の小数表現には対応していない。たいていの\n"
898 "ホストがナノセコンドの精度のタイムスタンプをサポートしている。サポート\n"
899 "を超えた精度は、エラーや警告を出さずに単に除去される。"
902 #: parse-datetime.texi:337
903 msgid "Here are some examples:"
904 msgstr "例をいくつか挙げてみよう。"
907 #: parse-datetime.texi:342
910 "2012-09-24T20:02:00.052-0500\n"
911 "2012-12-31T23:59:59,999999999+1100\n"
912 "1970-01-01 00:00Z\n"
914 "2012-09-24T20:02:00.052-0500\n"
915 "2012-12-31T23:59:59,999999999+1100\n"
916 "1970-01-01 00:00Z\n"
919 #: parse-datetime.texi:347
921 msgid "day of week item"
922 msgstr "day of week item"
925 #: parse-datetime.texi:351
927 "The explicit mention of a day of the week will forward the date (only if "
928 "necessary) to reach that day of the week in the future."
930 "曜日を明示的に指定すると、未来のその曜日にまで日付を前に進めることに\n"
931 "なる (これが行われるのは、その必要があるときだけである)。"
934 #: parse-datetime.texi:359
936 "Days of the week may be spelled out in full: @samp{Sunday}, @samp{Monday}, "
937 "@samp{Tuesday}, @samp{Wednesday}, @samp{Thursday}, @samp{Friday} or @samp"
938 "{Saturday}. Days may be abbreviated to their first three letters, "
939 "optionally followed by a period. The special abbreviations @samp{Tues} for "
940 "@samp{Tuesday}, @samp{Wednes} for @samp{Wednesday} and @samp{Thur} or @samp"
941 "{Thurs} for @samp{Thursday} are also allowed."
943 "曜日は省略なしに書いてもよい。すなわち、@samp{Sunday}, @samp{Monday}, @samp"
945 "@samp{Wednesday}, @samp{Thursday}, @samp{Friday}, @samp{Saturday} である。最"
947 "3 文字に短縮することもでき、その場合、省略の印のピリオドは付けても\n"
948 "付けなくてもよい。@samp{Tuesday} には @samp{Tues}、@samp{Wednesday} には "
950 "@samp{Thursday} には @samp{Thur} または @samp{Thurs} という特殊な省略形もあ"
954 #: parse-datetime.texi:360
956 msgid "next @var{day}"
957 msgstr "next @var{day}"
960 #: parse-datetime.texi:361
962 msgid "last @var{day}"
963 msgstr "last @var{day}"
966 #: parse-datetime.texi:367
968 "A number may precede a day of the week item to move forward supplementary "
969 "weeks. It is best used in expression like @samp{third monday}. In this "
970 "context, @samp{last @var{day}} or @samp{next @var{day}} is also acceptable; "
971 "they move one week before or after the day that @var{day} by itself would "
974 "曜日項目の前に数値を付けてもよい。週がその分だけ前に進むことに\n"
975 "なる。これは、@samp{third monday} のような表現で使うのが、一番よい。その\n"
976 "伝で、@samp{last @var{day}} や @samp{next @var{day}} という表現も許されている (@var{day} には \n"
977 "Sunday, Monday などの曜日を指定する)。それぞれ、単独の @var{day} が表す\n"
978 "ことになる日付より 1 週間前、または 1 週間後の日付になる。\n"
980 "(訳注: next について上記のことが成り立つのは、@var{day} が今日の曜日の\n"
981 "ときだけである。それ以外の場合は、@var{day} と @samp{next @var{day}} は同じになる。)"
984 #: parse-datetime.texi:369
985 msgid "A comma following a day of the week item is ignored."
987 "曜日項目の後ろにコンマがあっても、無視される。\n"
989 "(訳注: 確かに @samp{-d \"Thu, 2013-03-07\"} といった指定では、コンマが無視\n"
990 "されるが、@samp{-d \"next Thu,\"} や @samp{-d \"3 Thu,\"} といった指定では、"
991 "``invalid date'' \n"
995 #: parse-datetime.texi:374
997 msgid "relative items in date strings"
998 msgstr "relative items in date strings"
1001 #: parse-datetime.texi:375
1003 msgid "displacement of dates"
1004 msgstr "displacement of dates"
1007 #: parse-datetime.texi:380
1009 "@dfn{Relative items} adjust a date (or the current date if none) forward or "
1010 "backward. The effects of relative items accumulate. Here are some examples:"
1012 "相対表現の項目 (@dfn{Relative items}) は、日付を (指定しない場合は、現在の\n"
1013 "日付を) 前後に移動させる。また、相対表現の項目の作用は、加算されていく。\n"
1014 "相対表現の項目とは、次のようなものである。"
1017 #: parse-datetime.texi:386
1031 #: parse-datetime.texi:388
1033 msgid "year @r{in date strings}"
1034 msgstr "year @r{in date strings}"
1037 #: parse-datetime.texi:389
1039 msgid "month @r{in date strings}"
1040 msgstr "month @r{in date strings}"
1043 #: parse-datetime.texi:390
1045 msgid "fortnight @r{in date strings}"
1046 msgstr "fortnight @r{in date strings}"
1049 #: parse-datetime.texi:391
1051 msgid "week @r{in date strings}"
1052 msgstr "week @r{in date strings}"
1055 #: parse-datetime.texi:392 parse-datetime.texi:411
1057 msgid "day @r{in date strings}"
1058 msgstr "day @r{in date strings}"
1061 #: parse-datetime.texi:393
1063 msgid "hour @r{in date strings}"
1064 msgstr "hour @r{in date strings}"
1067 #: parse-datetime.texi:394
1069 msgid "minute @r{in date strings}"
1070 msgstr "minute @r{in date strings}"
1073 #: parse-datetime.texi:403
1075 "The unit of time displacement may be selected by the string @samp{year} or "
1076 "@samp{month} for moving by whole years or months. These are fuzzy units, as "
1077 "years and months are not all of equal duration. More precise units are @samp"
1078 "{fortnight} which is worth 14 days, @samp{week} worth 7 days, @samp{day} "
1079 "worth 24 hours, @samp{hour} worth 60 minutes, @samp{minute} or @samp{min} "
1080 "worth 60 seconds, and @samp{second} or @samp{sec} worth one second. An @samp"
1081 "{s} suffix on these units is accepted and ignored."
1083 "時間をどれくらい移動するかの単位は、文字列を使って選択する。まる\n"
1084 "数年、あるいは、まる数ヶ月ずらすのなら、@samp{year} や @samp{month} という文"
1086 "を使う。年も月も、曖昧な単位である。すべての年や月が、同じ長さをしている\n"
1087 "わけではないからだ。もっと厳密な単位としては、@samp{fortnight} (14 日間)、\n"
1088 "@samp{week} (7 日間)、@samp{day} (24 時間)、@samp{hour} (60 分間)、@samp"
1090 "@samp{min} (60 秒間)、@samp{second} または @samp{sec} (1 秒間) がある。こうし"
1092 "には、複数語尾の @samp{s} を付けてもよいが、付けても無視される。"
1095 #: parse-datetime.texi:404
1097 msgid "ago @r{in date strings}"
1098 msgstr "ago @r{in date strings}"
1101 #: parse-datetime.texi:410
1103 "The unit of time may be preceded by a multiplier, given as an optionally "
1104 "signed number. Unsigned numbers are taken as positively signed. No number "
1105 "at all implies 1 for a multiplier. Following a relative item by the string "
1106 "@samp{ago} is equivalent to preceding the unit by a multiplier with value "
1109 "時間の単位の前に、何倍かを示す乗数を置くことができる。乗数には、\n"
1110 "@samp{+} または @samp{-} の符号を付けてもよい。符号なしの数値には、@samp{+} "
1112 "付いているものと見なされる。数値を指定しなければ、乗数に 1 を指定した\n"
1113 "ことになる。相対表現の項目に @samp{ago} を続けるのは、単位の前にマイナスの\n"
1117 #: parse-datetime.texi:412
1119 msgid "tomorrow @r{in date strings}"
1120 msgstr "tomorrow @r{in date strings}"
1123 #: parse-datetime.texi:413
1125 msgid "yesterday @r{in date strings}"
1126 msgstr "yesterday @r{in date strings}"
1129 #: parse-datetime.texi:417
1131 "The string @samp{tomorrow} is worth one day in the future (equivalent to "
1132 "@samp{day}), the string @samp{yesterday} is worth one day in the past "
1133 "(equivalent to @samp{day ago})."
1135 "@samp{tomorrow} という文字列は、1 日分未来ということである (@samp{day} と\n"
1136 "等しい)。@samp{yesterday} は、1 日分過去ということだ (@samp{day ago} と等し"
1140 #: parse-datetime.texi:418
1142 msgid "now @r{in date strings}"
1143 msgstr "now @r{in date strings}"
1146 #: parse-datetime.texi:419
1148 msgid "today @r{in date strings}"
1149 msgstr "today @r{in date strings}"
1152 #: parse-datetime.texi:420
1154 msgid "this @r{in date strings}"
1155 msgstr "this @r{in date strings}"
1158 #: parse-datetime.texi:428
1160 "The strings @samp{now} or @samp{today} are relative items corresponding to "
1161 "zero-valued time displacement, these strings come from the fact a zero-"
1162 "valued time displacement represents the current time when not otherwise "
1163 "changed by previous items. They may be used to stress other items, like in "
1164 "@samp{12:00 today}. The string @samp{this} also has the meaning of a zero-"
1165 "valued time displacement, but is preferred in date strings like @samp{this "
1168 "@samp{now} や @samp{today} という文字列は、値 0 の時間移動に対応する相対表現"
1170 "項目である。値 0 の時間移動は、先行する項目によって別の日時に変更されて\n"
1171 "いないかぎり、今現在の日時を表すということから、@samp{now} (今) や @samp"
1173 "(今日) という言い方ができるわけだ。こうしたものは、他の項目を強調する\n"
1174 "ために、たとえば、@samp{12:00 today} といった具合に使うこともできる。\n"
1175 "@samp{this} という文字列にも、値 0 の時間移動という意味があるが、こちらは \n"
1176 "@samp{this thursday} のような日付文字列で使用される。"
1179 #: parse-datetime.texi:432
1181 "When a relative item causes the resulting date to cross a boundary where the "
1182 "clocks were adjusted, typically for daylight saving time, the resulting date "
1183 "and time are adjusted accordingly."
1185 "相対表現の項目によって生成される日付が、標準時と夏時間の切り替えを\n"
1186 "典型とするような、時刻調整の境界を越えたものになる場合、生成される日時\n"
1190 #: parse-datetime.texi:438
1192 "The fuzz in units can cause problems with relative items. For example, @samp"
1193 "{2003-07-31 -1 month} might evaluate to 2003-07-01, because 2003-06-31 is an "
1194 "invalid date. To determine the previous month more reliably, you can ask "
1195 "for the month before the 15th of the current month. For example:"
1197 "単位の曖昧さが、相対表現の項目では問題を起こすことがある。たとえば、\n"
1198 "@samp{2003-07-31 -1 month} は、2003-07-01 と評価されるかもしれない。\n"
1199 "2003-06-31 が無効な日付だからだ。先月が何月かをもっと確実に引き出す\n"
1200 "ためには、今月の 15 日よりも前に、先行する月を求めればよい。例を挙げる。"
1203 #: parse-datetime.texi:446
1207 "Thu, 31 Jul 2003 13:02:39 -0700\n"
1208 "$ date --date='-1 month' +'Last month was %B?'\n"
1209 "Last month was July?\n"
1210 "$ date --date=\"$(date +%Y-%m-15) -1 month\" +'Last month was %B!'\n"
1211 "Last month was June!\n"
1214 "Thu, 31 Jul 2003 13:02:39 -0700\n"
1215 "$ date --date='-1 month' +'Last month was %B?'\n"
1216 "Last month was July?\n"
1217 "$ date --date=\"$(date +%Y-%m-15) -1 month\" +'Last month was %B!'\n"
1218 "Last month was June!\n"
1221 #: parse-datetime.texi:453
1223 "Also, take care when manipulating dates around clock changes such as "
1224 "daylight saving leaps. In a few cases these have added or subtracted as "
1225 "much as 24 hours from the clock, so it is often wise to adopt universal time "
1226 "by setting the @env{TZ} environment variable to @samp{UTC0} before embarking "
1227 "on calendrical calculations."
1229 "なお、標準時と夏時間の切り替えのような時刻変更があるときの前後で\n"
1230 "日付の操作を行う場合には、注意した方がよい。24 時間も加算されたり、\n"
1231 "減算されたりしてしまうことも、ないとは言えないからだ。そこで、\n"
1232 "たいていの場合、日付の計算に取りかかる前に、環境変数 @env{TZ} を @samp"
1234 "に設定して、協定世界時を採用するのが賢明である。"
1237 #: parse-datetime.texi:457
1239 msgid "pure numbers in date strings"
1240 msgstr "pure numbers in date strings"
1243 #: parse-datetime.texi:461
1245 "The precise interpretation of a pure decimal number depends on the context "
1246 "in the date string."
1247 msgstr "純粋な 10 進数をどう解釈するかは、日付文字列の文脈次第である。"
1250 #: parse-datetime.texi:467
1252 "If the decimal number is of the form @var{yyyy}@var{mm}@var{dd} and no other "
1253 "calendar date item (@pxref{Calendar date items}) appears before it in the "
1254 "date string, then @var{yyyy} is read as the year, @var{mm} as the month "
1255 "number and @var{dd} as the day of the month, for the specified calendar date."
1257 "10 進数が @var{yyyy}@var{mm}@var{dd} の形をとり、日付文字列中のそれより前に他"
1259 "項目 (@pxref{Calendar date items}) が存在しない場合は、@var{yyyy} は暦の上"
1261 "ある 1 日の年の部分と見なされる。@var{mm} は何番目の月かということ、@var{dd} "
1266 #: parse-datetime.texi:472
1268 "If the decimal number is of the form @var{hh}@var{mm} and no other time of "
1269 "day item appears before it in the date string, then @var{hh} is read as the "
1270 "hour of the day and @var{mm} as the minute of the hour, for the specified "
1271 "time of day. @var{mm} can also be omitted."
1273 "10 進数が @var{hh}@var{mm} の形をとり、日付文字列中のそれより前に他の時刻の\n"
1274 "項目が存在しない場合は、@var{hh} はある 1 日の時刻の何時の部分と、@var{mm} "
1276 "何分の部分と見なされる。@var{mm} を省略してもよい。"
1279 #: parse-datetime.texi:476
1281 "If both a calendar date and a time of day appear to the left of a number in "
1282 "the date string, but no relative item, then the number overrides the year."
1284 "日付文字列中で、ある数値の左側に暦の上の日にちとその日の時刻の両方が\n"
1285 "存在し、相対表現の項目が存在しない場合は、その数値が今年の代わりに\n"
1288 "(訳注: たとえば、@code{date -d \"3/27 10:10 2012\"} と指定すると、今年の\n"
1289 "代わりに 2012 が使われるということらしい。@code{date -d \"3/27/2001 10:10 2012\"} \n"
1290 "や @code{date -d \"2001-03-27 10:10 2012\"} は無効な日付になるし、\n"
1291 "@code{date -d \"3/27 1010 2012\"} は、1010 年 3 月 27 日 20:12:00 になる。)"
1294 #: parse-datetime.texi:487
1296 "If you precede a number with @samp{@@}, it represents an internal time stamp "
1297 "as a count of seconds. The number can contain an internal decimal point "
1298 "(either @samp{.} or @samp{,}); any excess precision not supported by the "
1299 "internal representation is truncated toward minus infinity. Such a number "
1300 "cannot be combined with any other date item, as it specifies a complete time "
1303 "@samp{@@} に数値を続けると、それは、秒数として、システム内部で使われるタイ"
1305 "スタンプを表すことになる。数値には、小数点 (@samp{.} または @samp{,}) が含ま"
1307 "いてもよい。内部表現がサポートしていない余分な精度は、マイナスの無限に\n"
1308 "向けて切り詰められる。@samp{@@} で始まるこうした数値は、他の日付項目のいかな"
1310 "ものとも組み合わせて使うことができない。欠けるところのない完全なタイム\n"
1314 #: parse-datetime.texi:488
1316 msgid "beginning of time, for POSIX"
1317 msgstr "beginning of time, for POSIX"
1320 #: parse-datetime.texi:489
1322 msgid "epoch, for POSIX"
1323 msgstr "epoch, for POSIX"
1326 #: parse-datetime.texi:498
1328 "Internally, computer times are represented as a count of seconds since an "
1329 "epoch---a well-defined point of time. On GNU and POSIX systems, the epoch "
1330 "is 1970-01-01 00:00:00 UTC, so @samp{@@0} represents this time, @samp{@@1} "
1331 "represents 1970-01-01 00:00:01 UTC, and so forth. GNU and most other POSIX-"
1332 "compliant systems support such times as an extension to POSIX, using "
1333 "negative counts, so that @samp{@@-1} represents 1969-12-31 23:59:59 UTC."
1335 "コンピュータの内部では、時間は、ある紀元 (an epoch) --- きちんと定義\n"
1336 "された時間中のある一点 --- からの秒数として表現されている。GNU や POSIX \n"
1337 "のシステムでは、紀元は 1970-01-01 00:00:00 UTC である。従って、@samp{@@0} "
1339 "その時刻を表し、@samp{@@1} は 1970-01-01 00:00:01 UTC を表す、以下同様と\n"
1340 "いうことになる。GNU を始め、POSIX に準拠したほとんどのシステムでは、\n"
1341 "POSIX に対する拡張として、こうした時間表記をマイナスの秒数を使うことも\n"
1342 "含めて、サポートしている。従って、@samp{@@-1} は 1969-12-31 23:59:59 UTC を\n"
1346 #: parse-datetime.texi:504
1348 "Traditional Unix systems count seconds with 32-bit two's-complement integers "
1349 "and can represent times from 1901-12-13 20:45:52 through 2038-01-19 03:14:07 "
1350 "UTC@. More modern systems use 64-bit counts of seconds with nanosecond "
1351 "subcounts, and can represent all the times in the known lifetime of the "
1352 "universe to a resolution of 1 nanosecond."
1354 "旧来の Unix システムでは、秒を 32 ビットの 2 の補数である整数で\n"
1355 "数えており、1901-12-13 20:45:52 から 2038-01-19 03:14:07 UTC まで\n"
1356 "表すことができる。もっと新しいシステムでは、64 ビットの秒数計算を、\n"
1357 "ナノセコンドのサブカウント付きで使用しており、宇宙の寿命として\n"
1358 "知られている時間のうちのあらゆる時刻を 1 ナノセコンドの精密さで表す\n"
1362 #: parse-datetime.texi:511
1364 "On most hosts, these counts ignore the presence of leap seconds. For "
1365 "example, on most hosts @samp{@@915148799} represents 1998-12-31 23:59:59 "
1366 "UTC, @samp{@@915148800} represents 1999-01-01 00:00:00 UTC, and there is no "
1367 "way to represent the intervening leap second 1998-12-31 23:59:60 UTC."
1369 "ほとんどのホストのこうした計算では、閏秒の存在が無視されている。\n"
1370 "たとえば、ほとんどのホストで @samp{@@915148799} は 1998-12-31 23:59:59 UTC "
1372 "表し、@samp{@@915148800} は 1999-01-01 00:00:00 UTC を表している。従って、\n"
1373 "間にある 1998-12-31 23:59:60 UTC という閏秒を表現する方法は存在しない。"
1376 #: parse-datetime.texi:515
1382 #: parse-datetime.texi:524
1384 "Normally, dates are interpreted using the rules of the current time zone, "
1385 "which in turn are specified by the @env{TZ} environment variable, or by a "
1386 "system default if @env{TZ} is not set. To specify a different set of "
1387 "default time zone rules that apply just to one date, start the date with a "
1388 "string of the form @samp{TZ=\"@var{rule}\"}. The two quote characters (@samp"
1389 "{\"}) must be present in the date, and any quotes or backslashes within @var"
1390 "{rule} must be escaped by a backslash."
1392 "通常、日付の解釈は、現在のタイムゾーンのルールを使って行われる。そして、\n"
1393 "その現在のタイムゾーンのルールを指定しているのは、環境変数 @env{TZ} か、\n"
1394 "@env{TZ} が設定されていなければ、システムのデフォルト設定である。今、\n"
1395 "ある一つの日付のみに別のタイムゾーンでデフォルトとして使われる一連の\n"
1396 "ルールを適用したいとしよう。その場合は、日付を @samp{TZ=\"@var{rule}\"} という文字列\n"
1397 "で始めればよい。日付中では、対になった二重引用符 (@samp{\"}) で @var{rule} を必ず\n"
1398 "囲わなければならない。また、@var{rule} 中に引用符やバックスラッシュが\n"
1399 "あるときは、それをバックスラッシュでエスケープしなければならない。"
1402 #: parse-datetime.texi:529
1404 "For example, with the GNU @command{date} command you can answer the question "
1405 "``What time is it in New York when a Paris clock shows 6:30am on October 31, "
1406 "2004?'' by using a date beginning with @samp{TZ=\"Europe/Paris\"} as shown "
1407 "in the following shell transcript:"
1409 "一例を挙げると、GNU の @command{date} コマンドを使って、「パリで\n"
1411 "月 31 日 午前 6 時 30 分のとき、ニューヨークでは何時か?」という質問に\n"
1412 "答えることができる、以下で示すように、@samp{TZ=\"Europe/Paris\"}で始まる\n"
1416 #: parse-datetime.texi:534
1419 "$ export TZ=\"America/New_York\"\n"
1420 "$ date --date='TZ=\"Europe/Paris\" 2004-10-31 06:30'\n"
1421 "Sun Oct 31 01:30:00 EDT 2004\n"
1423 "$ export TZ=\"America/New_York\"\n"
1424 "$ date --date='TZ=\"Europe/Paris\" 2004-10-31 06:30'\n"
1425 "Sun Oct 31 01:30:00 EDT 2004\n"
1428 #: parse-datetime.texi:544
1430 "In this example, the @option{--date} operand begins with its own @env{TZ} "
1431 "setting, so the rest of that operand is processed according to @samp{Europe/"
1432 "Paris} rules, treating the string @samp{2004-10-31 06:30} as if it were in "
1433 "Paris. However, since the output of the @command{date} command is processed "
1434 "according to the overall time zone rules, it uses New York time. (Paris was "
1435 "normally six hours ahead of New York in 2004, but this example refers to a "
1436 "brief Halloween period when the gap was five hours.)"
1438 "この例では、@option{--date} のオペランドの最初の部分で、それ自身の @env{TZ} が\n"
1439 "設定されている。そこで、このオペランドの残りの部分は、@samp{Europe/Paris} の\n"
1440 "ルールに従って処理され、@samp{2004-10-31 06:30} という文字列が、パリの日時で\n"
1441 "あるかのように扱われる。ところが、@command{date} コマンドの出力は、全体のタイム\n"
1442 "ゾーンのルールに従って処理されるので、出力にはニューヨークの時刻が使用\n"
1443 "されるのである。(2004 年には、パリは通常ニューヨークより 6 時間進んで\n"
1444 "いた。しかし、この例は、時差が 5 時間だったハロウィーンの日のほんの短い\n"
1448 #: parse-datetime.texi:552
1450 "A @env{TZ} value is a rule that typically names a location in the @uref"
1451 "{http://www.twinsun.com/tz/tz-link.htm, @samp{tz} database}. A recent "
1452 "catalog of location names appears in the @uref{http://twiki.org/cgi-bin/xtra/"
1453 "tzdate, TWiki Date and Time Gateway}. A few non-GNU hosts require a colon "
1454 "before a location name in a @env{TZ} setting, e.g., @samp{TZ=\":America/"
1457 "@env{TZ} の値はルールであり、ルールには通常、@samp{tz} データベースの地域名"
1459 "付けられている (@uref{http://www.twinsun.com/tz/tz-link.htm})。地域名の最新"
1461 "一覧は、TWiki Date and Time Gateway で見ることができる \n"
1462 "(@uref{http://twiki.org/cgi-bin/xtra/tzdate})。なお、GNU 以外のホストの中\n"
1463 "には、@env{TZ} を設定するとき、@samp{TZ=\":America/New_York\"} のように、地域"
1465 "前にコロンを置く必要があるものもある。"
1468 #: parse-datetime.texi:562
1470 "The @samp{tz} database includes a wide variety of locations ranging from "
1471 "@samp{Arctic/Longyearbyen} to @samp{Antarctica/South_Pole}, but if you are "
1472 "at sea and have your own private time zone, or if you are using a non-GNU "
1473 "host that does not support the @samp{tz} database, you may need to use a "
1474 "POSIX rule instead. Simple POSIX rules like @samp{UTC0} specify a time zone "
1475 "without daylight saving time; other rules can specify simple daylight saving "
1476 "regimes. @xref{TZ Variable,, Specifying the Time Zone with @code{TZ}, libc, "
1477 "The GNU C Library}."
1479 "@samp{tz} データベースには、@samp{Arctic/Longyearbyen} から @samp{Antarctica/"
1481 "_Pole} に至るまで、実にさまざまな地域が含まれている。それでも、目下\n"
1482 "航海の最中でタイムゾーンが船特有のものである場合や、@samp{tz} データベース"
1484 "対応していない non-GNU のホストを使用している場合は、@samp{tz} データベース\n"
1485 "の地域名で表されるルールの代わりに、POSIX 式のルールを使う必要がある\n"
1486 "かもしれない。@samp{UTC0} のような POSIX 式の単純なルールだと、夏時間なしの\n"
1487 "タイムゾーン指定になるが、簡単な夏時間制度なら指定できる他のルールも\n"
1488 "存在する。 @xref{TZ Variable,, Specifying the Time Zone with @code{TZ}, "
1490 "The GNU C Library}."
1493 #: parse-datetime.texi:564
1495 msgid "Authors of @code{parse_datetime}"
1496 msgstr "@code{parse_datetime} の作者"
1499 #: parse-datetime.texi:567
1500 msgid "Authors of get_date"
1501 msgstr "Authors of get_date"
1504 #: parse-datetime.texi:568
1506 msgid "authors of @code{parse_datetime}"
1507 msgstr "authors of @code{parse_datetime}"
1510 #: parse-datetime.texi:570
1512 msgid "Bellovin, Steven M."
1513 msgstr "Bellovin, Steven M."
1516 #: parse-datetime.texi:571
1522 #: parse-datetime.texi:572
1525 msgstr "Berets, Jim"
1528 #: parse-datetime.texi:573
1530 msgid "MacKenzie, David"
1531 msgstr "MacKenzie, David"
1534 #: parse-datetime.texi:574
1536 msgid "Meyering, Jim"
1537 msgstr "Meyering, Jim"
1540 #: parse-datetime.texi:575
1542 msgid "Eggert, Paul"
1543 msgstr "Eggert, Paul"
1546 #: parse-datetime.texi:589
1548 "@code{parse_datetime} started life as @code{getdate}, as originally "
1549 "implemented by Steven M. Bellovin (@email{smb@@research.att.com}) while at "
1550 "the University of North Carolina at Chapel Hill. The code was later tweaked "
1551 "by a couple of people on Usenet, then completely overhauled by Rich $alz "
1552 "(@email{rsalz@@bbn.com}) and Jim Berets (@email{jberets@@bbn.com}) in "
1553 "August, 1990. Various revisions for the GNU system were made by David "
1554 "MacKenzie, Jim Meyering, Paul Eggert and others, including renaming it to "
1555 "@code{get_date} to avoid a conflict with the alternative Posix function @code"
1556 "{getdate}, and a later rename to @code{parse_datetime}. The Posix function "
1557 "@code{getdate} can parse more locale-specific dates using @code{strptime}, "
1558 "but relies on an environment variable and external file, and lacks the "
1559 "thread-safety of @code{parse_datetime}."
1561 "@code{parse_datetime} は、@code{getdate} として誕生した。最初の実装を行ったの"
1563 "Steven M. Bellovin (@email{smb@@research.att.com}) であり、ノースカロライナ大"
1565 "チャペルヒル校に在学中のことだった。その後、Usenet 上で数人によって\n"
1566 "機能が追加され、1990 年 8 月に Rich $alz (@email{rsalz@@bbn.com}) と Jim "
1568 "(@email{jberets@@bbn.com}) によって徹底的なオーバーホールがなされた。GNU シ"
1570 "テムのための様々な改訂は、David MacKenzie, Jim Meyering, Paul Eggert \n"
1571 "などによって行われた。ほぼ同様の機能を持つ Posix の @code{getdate} 関数との\n"
1572 "衝突を避けるために @code{get_date} と名前を変えたのも、この改訂の一部であ"
1574 "さらに後に、@code{parse_datetime} と改名した。Posix の @code{getdate} 関数"
1576 "@code{strptime} の使用によりロケール特有の日付の解析に優れているが、環境変"
1578 "や外部のファイルに依存しており、@code{parse_datetime} の持つスレッド安全性 \n"
1579 "(thread-safety) を欠いている。"
1582 #: parse-datetime.texi:590
1588 #: parse-datetime.texi:591
1594 #: parse-datetime.texi:594
1596 "This chapter was originally produced by Fran@,{c}ois Pinard (@email"
1597 "{pinard@@iro.umontreal.ca}) from the @file{parse_datetime.y} source code, "
1598 "and then edited by K. Berry (@email{kb@@cs.umb.edu})."
1600 "この章は、Fran@,{c}ois Pinard (@email{pinard@@iro.umontreal.ca}) がソースコー"
1602 "の @file{parse_datetime.y} を元にして最初に作成し、その後、K. Berry \n"
1603 "(@email{kb@@cs.umb.edu}) が増補改訂した。"