OSDN Git Service

(split) LDP: Update release pages
[linuxjm/LDP_man-pages.git] / release / man3 / strftime.3
index 45ef621..a8e7b1f 100644 (file)
@@ -146,8 +146,7 @@ ISO\ 8601 週単位表記の年 (week\-based year; 「注意」の節を参照)
 午前・午後形式での時刻。 POSIX ロケールでは \fB%I:%M:%S %p\fP と等価である。(SU)
 .TP 
 \fB%R\fP
 午前・午後形式での時刻。 POSIX ロケールでは \fB%I:%M:%S %p\fP と等価である。(SU)
 .TP 
 \fB%R\fP
-The time in 24\-hour notation (\fB%H:%M\fP).  (SU)  For a version including the
-seconds, see \fB%T\fP below.
+24 時間表記での時刻、秒は表示しない (\fB%H:%M\fP)。 秒を含んだものは以下の \fB%T\fP を参照すること。(SU)
 .TP 
 \fB%s\fP
 紀元 (Epoch; 1970\-01\-01 00:00:00 +0000 (UTC)) からの秒数。 (TZ)
 .TP 
 \fB%s\fP
 紀元 (Epoch; 1970\-01\-01 00:00:00 +0000 (UTC)) からの秒数。 (TZ)
@@ -159,7 +158,7 @@ seconds, see \fB%T\fP below.
 タブ文字 (SU)
 .TP 
 \fB%T\fP
 タブ文字 (SU)
 .TP 
 \fB%T\fP
-The time in 24\-hour notation (\fB%H:%M:%S\fP).  (SU)
+24 時間表記の時間 (\fB%H:%M:%S\fP) (SU)
 .TP 
 \fB%u\fP
 週の何番目の日 (10 進数表記) か。月曜日を 1 とする (1\-7)。 \fB%w\fP も参照。(SU)
 .TP 
 \fB%u\fP
 週の何番目の日 (10 進数表記) か。月曜日を 1 とする (1\-7)。 \fB%w\fP も参照。(SU)
@@ -194,7 +193,7 @@ ISO\ 8601 形式での年の始めからの週番号 (「注意」の節を参
 \fI+hhmm\fP や \fI\-hhmm\fP の形式のタイムゾーン (UTC へのオフセット時間)。(SU)
 .TP 
 \fB%Z\fP
 \fI+hhmm\fP や \fI\-hhmm\fP の形式のタイムゾーン (UTC へのオフセット時間)。(SU)
 .TP 
 \fB%Z\fP
-The timezone name or abbreviation.
+タイムゾーン名または省略名。
 .TP 
 \fB%+\fP
 .\" Nov 05 -- Not in Linux/glibc, but is in some BSDs (according to
 .TP 
 \fB%+\fP
 .\" Nov 05 -- Not in Linux/glibc, but is in some BSDs (according to
@@ -223,9 +222,8 @@ array are undefined.  (This behavior applies since at least libc 4.4.4; very
 old versions of libc, such as libc 4.4.1, would return \fImax\fP if the array
 was too small.)
 .LP
 old versions of libc, such as libc 4.4.1, would return \fImax\fP if the array
 was too small.)
 .LP
-Note that the return value 0 does not necessarily indicate an error.  For
-example, in many locales \fB%p\fP yields an empty string.  An empty \fIformat\fP
-string will likewise yield an empty string.
+返り値 0 は必ずしもエラーを意味している訳ではないので注意すること。 例えば、多くのロケールでは \fB%p\fP は空文字列を返す。 同様に、空の
+\fIformat\fP 文字列は空文字列を返す。
 .SH 環境変数
 環境変数 \fBTZ\fP と \fBLC_TIME\fP が使用される。 (訳注: \fBLC_ALL\fP が設定されている場合には \fBLC_TIME\fP
 よりもそちらが優先される。 \fBLC_TIME\fP も \fBLC_ALL\fP も設定されていない場合には \fBLANG\fP が使用される。)
 .SH 環境変数
 環境変数 \fBTZ\fP と \fBLC_TIME\fP が使用される。 (訳注: \fBLC_ALL\fP が設定されている場合には \fBLC_TIME\fP
 よりもそちらが優先される。 \fBLC_TIME\fP も \fBLC_ALL\fP も設定されていない場合には \fBLANG\fP が使用される。)
@@ -240,19 +238,12 @@ SUSv2 では、 \fB%S\fP は 00 から 61 の範囲をとると規定されて
 考慮してのものである (実際には、このような状況はこれまで一度も 起こっていない)。
 .SH 注意
 .SS "ISO\ 8601 の週・曜日表記 (Week Dates)"
 考慮してのものである (実際には、このような状況はこれまで一度も 起こっていない)。
 .SH 注意
 .SS "ISO\ 8601 の週・曜日表記 (Week Dates)"
-\fB%G\fP, \fB%g\fP, and \fB%V\fP yield values calculated from the week\-based year
-defined by the ISO\ 8601 standard.  In this system, weeks start on a Monday,
-and are numbered from 01, for the first week, up to 52 or 53, for the last
-week.  Week 1 is the first week where four or more days fall within the new
-year (or, synonymously, week 01 is: the first week of the year that contains
-a Thursday; or, the week that has 4 January in it).  When three of fewer
-days of the first calendar week of the new year fall within that year, then
-the ISO 8601 week\-based system counts those days as part of week 53 of the
-preceding year.  For example, 1 January 2010 is a Friday, meaning that just
-three days of that calendar week fall in 2010.  Thus, the ISO\ 8601
-week\-based system considers these days to be part of week 53 (\fB%V\fP)  of the
-year 2009 (\fB%G\fP); week 01 of ISO\ 8601 year 2010 starts on Monday, 4
-January 2010.
+\fB%G\fP, \fB%g\fP, \fB%V\fP は、ISO\ 8601 標準により定義された週単位表記の年により 計算される値を出力する。 ISO\ 8601
+標準の週単位表記では、週は月曜日から開始され、 週番号は、年の最初の週が 01 となり、最後の週は 52 か 53 となる。 週 01 は、新しい年が
+4 日以上含まれる最初の週である。 言い換えると、週 01 は、その年の木曜日を含む最初の週、 つまり 1 月 4 日を含む週ということである。
+新しい年のカレンダー上の最初の週に新しい年が 3 日以下しか含まれない場合、 ISO\ 8601 の週単位表記では、これらの日を前の年の週 53
+の一部とみなす。 例えば、2010 年 1 月 1 日は金曜日であり、 その週には 2010 年の日が 3 日しか含まれない。 したがって、ISO\ 8601 の週単位表記では、これらの日は 2009 年 (\fB%G\fP)  の週 53 (\fB%V\fP) の一部となる。 ISO\ 8601 の 2010
+年の週 01 は 2010 年 1 月 4 日の月曜日から始まる。
 .SS "glibc での注意"
 .\" HP-UX and Tru64 also have features like this.
 glibc では変換指定にいくつか拡張を行っている (これらの拡張は POSIX.1\-2001 には規定されていないが、
 .SS "glibc での注意"
 .\" HP-UX and Tru64 also have features like this.
 glibc では変換指定にいくつか拡張を行っている (これらの拡張は POSIX.1\-2001 には規定されていないが、