Time-Piece-1.08 > 1.20 との差分

Time::Seconds 1.20 と 1.08 の差分

1=encoding utf-8
12
2=encoding euc-jp
3=head1 名前
34
4=head1 NAME
5Time::Seconds - 他の日付の値を秒に変換する簡単なAPI
56
6=begin original
7=head1 概要
78
8Time::Seconds - a simple API to convert seconds to other date values
9
10=end original
11
12Time::Seconds - 他の日付の値を秒に変換する簡単な API
13
14=head1 SYNOPSIS
15
169 use Time::Piece;
1710 use Time::Seconds;
1811
1912 my $t = localtime;
2013 $t += ONE_DAY;
2114
2215 my $t2 = localtime;
2316 my $s = $t - $t2;
2417
2518 print "Difference is: ", $s->days, "\n";
2619
27=head1 DESCRIPTION
20=head1 説明
2821
29=begin original
30
3122This module is part of the Time::Piece distribution. It allows the user
3223to find out the number of minutes, hours, days, weeks or years in a given
3324number of seconds. It is returned by Time::Piece when you delta two
3425Time::Piece objects.
3526
36=end original
37
3827このモジュールは、Time::Piece ディストリビューションの一部です。
39このモジュールは、ユーザが、指定された秒数が分、時間、日、週、年
28このモジュールは、ユーザが、分、時間、日、週、年の数を、
40いくつなるのかをせるようにします。
29与えられた秒数見つけすことを可能にします。
41つの Time::Piece オブジェクトの差を出すときに、
302つのTime::Pieceオブジェクトの差を出すときに、
42Time::Piece オブジェクトによって返されます。
31Time::Piece オブジェクトによって返されます。
4332
44=begin original
45
4633Time::Seconds also exports the following constants:
4734
48=end original
35Time::Seconds はまた、下記の内容をイクスポートします:
4936
50Time::Seconds は、下記の内容もエキスポートします:
51
5237 ONE_DAY
5338 ONE_WEEK
5439 ONE_HOUR
5540 ONE_MINUTE
5641 ONE_MONTH
5742 ONE_YEAR
5843 ONE_FINANCIAL_MONTH
5944 LEAP_YEAR
6045 NON_LEAP_YEAR
6146
62=begin original
63
6447Since perl does not (yet?) support constant objects, these constants are in
6548seconds only, so you cannot, for example, do this: C<print ONE_WEEK-E<gt>minutes;>
6649
67=end original
50Perlは、(まだ?)定数オブジェクトをサポートしないので、
51これらの定数は秒数だけです。
52ですので、たとえば、次のようにはできません: C<print ONE_WEEK-E<gt>minutes;>
6853
69Perl は(まだ?)定数オブジェクトに対応していないので、これらの定数は秒数だけ
54=head1 メソッド
70です; 従って、例えば次のようにはできません: C<print ONE_WEEK-E<gt>minutes;>
7155
72=head1 METHODS
73
74(メソッド)
75
76=begin original
77
7856The following methods are available:
7957
80=end original
81
8258下記のメソッドが使えます:
8359
8460 my $val = Time::Seconds->new(SECONDS)
8561 $val->seconds;
8662 $val->minutes;
8763 $val->hours;
8864 $val->days;
8965 $val->weeks;
9066 $val->months;
9167 $val->financial_months; # 30 days
9268 $val->years;
9369
94=begin original
95
9670The methods make the assumption that there are 24 hours in a day, 7 days in
9771a week, 365.24225 days in a year and 12 months in a year.
9872(from The Calendar FAQ at http://www.tondering.dk/claus/calendar.html)
9973
100=end original
74メソッドは、一日に24時間、一週に7日、一年に365.24225日、一年に12ヵ月であると想定しています。
75(from The Calendar FAQ at http://www.tondering.dk/claus/calendar.html)
10176
102メソッドは、1 日は 24 時間、1 週は 7 日、1 年は 365.24225 日、
77=head1 著者
1031 年は 12 ヵ月であると想定しています。
104(http://www.tondering.dk/claus/calendar.html のカレンダー FAQより)
10578
106=head1 AUTHOR
107
10879Matt Sergeant, matt@sergeant.org
10980
11081Tobias Brox, tobiasb@tobiasb.funcom.com
11182
112BalE<aacute>zs SzabE<oacute> (dLux), dlux@kapu.hu
83Balzs Szab (dLux), dlux@kapu.hu
11384
114=head1 LICENSE
85=head1 ライセンス
11586
116=begin original
117
11887Please see Time::Piece for the license.
11988
120=end original
89=head1 バグ
12190
122ライセンスについては Time::Piece を参照してください。
123
124=head1 Bugs
125
126=begin original
127
12891Currently the methods aren't as efficient as they could be, for reasons of
12992clarity. This is probably a bad idea.
13093
131=end original
94=head1 翻訳について
13295
133今のところメソッドは明確化のためにそれほど効率的ではありません。
96翻訳者:加藤敦 (ktat.is@gmail.com)
134これはおそらく間違った考えです。
13597
136=begin meta
98Perlドキュメント日本語訳 Project にて、
99Perlモジュール、ドキュメントの翻訳を行っております。
137100
138Translate: 加藤敦 <ktat.is@gmail.com> (1.08)
101 http://perldocjp.sourceforge.jp/
139Update: SHIRAKATA Kentaro <argrath@ub32.org> (1.20)
102 http://sourceforge.jp/projects/perldocjp/
103 http://freeml.com/ctrl/html/MLInfoForm/perldocjp@freeml.com
141=end meta
104 http://www.perldoc.jp
142
143=cut