-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathtime.po
More file actions
1803 lines (1521 loc) · 68.3 KB
/
Copy pathtime.po
File metadata and controls
1803 lines (1521 loc) · 68.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
# Takanori Suzuki <takanori@takanory.net>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-11 17:24+0000\n"
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
"Last-Translator: Takanori Suzuki <takanori@takanory.net>, 2026\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/time.rst:2
msgid ":mod:`!time` --- Time access and conversions"
msgstr ":mod:`!time` --- 時刻データへのアクセスと変換"
#: ../../library/time.rst:9
msgid ""
"This module provides various time-related functions. For related "
"functionality, see also the :mod:`datetime` and :mod:`calendar` modules."
msgstr ""
"このモジュールでは、時刻に関するさまざまな関数を提供します。関連した機能につ"
"いて、:mod:`datetime`, :mod:`calendar` モジュールも参照してください。"
#: ../../library/time.rst:12
msgid ""
"Although this module is always available, not all functions are available on "
"all platforms. Most of the functions defined in this module call platform C "
"library functions with the same name. It may sometimes be helpful to "
"consult the platform documentation, because the semantics of these functions "
"varies among platforms."
msgstr ""
"このモジュールは常に利用可能ですが、すべての関数がすべてのプラットフォームで"
"利用可能なわけではありません。このモジュールで定義されているほとんどの関数"
"は、プラットフォーム上の同名の C ライブラリ関数を呼び出します。これらの関数に"
"対する意味付けはプラットフォーム間で異なるため、プラットフォーム提供のドキュ"
"メントを読んでおくと便利でしょう。"
#: ../../library/time.rst:18
msgid "An explanation of some terminology and conventions is in order."
msgstr "まずいくつかの用語の説明と慣習について整理します。"
#: ../../library/time.rst:24
msgid ""
"The :dfn:`epoch` is the point where the time starts, the return value of "
"``time.gmtime(0)``. It is January 1, 1970, 00:00:00 (UTC) on all platforms."
msgstr ""
#: ../../library/time.rst:31
msgid ""
"The term :dfn:`seconds since the epoch` refers to the total number of "
"elapsed seconds since the epoch, typically excluding `leap seconds`_. Leap "
"seconds are excluded from this total on all POSIX-compliant platforms."
msgstr ""
":dfn:`エポック秒` (:dfn:`seconds since the epoch`) は、エポックからの総経過秒"
"数を示していますが、たいていはうるう秒 (`leap seconds`_) は含まれていませ"
"ん。\n"
"全ての POSIX 互換のプラットフォームで、うるう秒はこの総秒数には含まれません。"
#: ../../library/time.rst:38
msgid ""
"The functions in this module may not handle dates and times before the "
"epoch_ or far in the future. The cut-off point in the future is determined "
"by the C library; for 32-bit systems, it is typically in 2038."
msgstr ""
"このモジュールの中の関数は、エポック (epoch_) 以前あるいは遠い未来の日付や時"
"刻を扱うことができません。将来カットオフ(関数が正しく日付や時刻を扱えなくな"
"る)が起きる時点は、C ライブラリによって決まります。32-bit システムではカット"
"オフは通常 2038 年です。"
#: ../../library/time.rst:45
msgid ""
"Function :func:`strptime` can parse 2-digit years when given ``%y`` format "
"code. When 2-digit years are parsed, they are converted according to the "
"POSIX and ISO C standards: values 69--99 are mapped to 1969--1999, and "
"values 0--68 are mapped to 2000--2068."
msgstr ""
"関数 :func:`strptime` は ``%y`` 書式コードが与えられた時に 2 桁の年表記を解析"
"できます。2 桁の年を解析する場合、それらは POSIX および ISO C 標準に従って変"
"換されます: 69-99 の西暦年は 1969-1999 となり、0–68 の西暦年は 2000–2068 にな"
"ります。"
#: ../../library/time.rst:55
msgid ""
"UTC is `Coordinated Universal Time`_ and superseded `Greenwich Mean Time`_ "
"or GMT as the basis of international timekeeping. The acronym UTC is not a "
"mistake but conforms to an earlier, language-agnostic naming scheme for time "
"standards such as UT0, UT1, and UT2."
msgstr ""
#: ../../library/time.rst:65
msgid ""
"DST is Daylight Saving Time, an adjustment of the timezone by (usually) one "
"hour during part of the year. DST rules are magic (determined by local law) "
"and can change from year to year. The C library has a table containing the "
"local rules (often it is read from a system file for flexibility) and is the "
"only source of True Wisdom in this respect."
msgstr ""
"DST は夏時間 (Daylight Saving Time) のことで、一年のうちの一定期間に 1 時間タ"
"イムゾーンを修正することです。DST のルールは不可思議で (地域ごとに法律で定め"
"られています)、年ごとに変わることもあります。C ライブラリはローカルルールを記"
"したテーブルを持っており (柔軟に対応するため、たいていはシステムファイルから"
"読み込まれます)、この点に関しては唯一の真実の知識の源です。"
#: ../../library/time.rst:71
msgid ""
"The precision of the various real-time functions may be less than suggested "
"by the units in which their value or argument is expressed. E.g. on most "
"Unix systems, the clock \"ticks\" only 50 or 100 times a second."
msgstr ""
"多くの現時刻を返す関数 (real-time functions) の精度は、値や引数を表現するため"
"に使う単位から想像されるよりも低いかも知れません。例えば、ほとんどの Unix シ"
"ステムにおいて、クロックの 1 ティックの精度は 50 から 100 分の 1 秒に過ぎませ"
"ん。"
#: ../../library/time.rst:75
msgid ""
"On the other hand, the precision of :func:`.time` and :func:`sleep` is "
"better than their Unix equivalents: times are expressed as floating-point "
"numbers, :func:`.time` returns the most accurate time available (using Unix :"
"c:func:`!gettimeofday` where available), and :func:`sleep` will accept a "
"time with a nonzero fraction (Unix :c:func:`!select` is used to implement "
"this, where available)."
msgstr ""
"一方、:func:`.time` および :func:`sleep` は Unix の同等の関数よりましな精度を"
"持っています。時刻は浮動小数点数で表され、:func:`.time` は可能なかぎり最も正"
"確な時刻を (Unix の :c:func:`!gettimeofday` があればそれを使って) 返します。"
"また :func:`sleep` にはゼロでない端数を与えることができます (Unix の :c:func:"
"`!select` があれば、それを使って実装しています)。"
#: ../../library/time.rst:82
msgid ""
"The time value as returned by :func:`gmtime`, :func:`localtime`, and :func:"
"`strptime`, and accepted by :func:`asctime`, :func:`mktime` and :func:"
"`strftime`, is a sequence of 9 integers. The return values of :func:"
"`gmtime`, :func:`localtime`, and :func:`strptime` also offer attribute names "
"for individual fields."
msgstr ""
":func:`gmtime`, :func:`localtime`, :func:`strptime` が返す時刻値、および :"
"func:`asctime`, :func:`mktime`, :func:`strftime` がとる時刻値は 9 個の整数か"
"らなるシーケンスです。:func:`gmtime`, :func:`localtime`, :func:`strptime` の"
"戻り値は個々の値を属性名で取得することもできます。"
#: ../../library/time.rst:88
msgid "See :class:`struct_time` for a description of these objects."
msgstr ""
"これらのオブジェクトについての解説は :class:`struct_time` を参照してくださ"
"い。"
#: ../../library/time.rst:90
msgid ""
"The :class:`struct_time` type was extended to provide the :attr:"
"`~struct_time.tm_gmtoff` and :attr:`~struct_time.tm_zone` attributes when "
"platform supports corresponding ``struct tm`` members."
msgstr ""
":class:`struct_time` オブジェクトは、プラットフォームが、対応する ``struct "
"tm`` メンバーをサポートしている場合、:attr:`~struct_time.tm_gmtoff` および :"
"attr:`~struct_time.tm_zone` 属性が拡張されるようになりました。"
#: ../../library/time.rst:96
msgid ""
"The :class:`struct_time` attributes :attr:`~struct_time.tm_gmtoff` and :attr:"
"`~struct_time.tm_zone` are now available on all platforms."
msgstr ""
":class:`struct_time` の属性 :attr:`~struct_time.tm_gmtoff` および :attr:"
"`~struct_time.tm_zone` が全てのプラットフォームで利用できるようになりました。"
#: ../../library/time.rst:101
msgid "Use the following functions to convert between time representations:"
msgstr "時間の表現を変換するには、以下の関数を利用してください:"
#: ../../library/time.rst:104
msgid "From"
msgstr "対象"
#: ../../library/time.rst:104
msgid "To"
msgstr "変換先"
#: ../../library/time.rst:104
msgid "Use"
msgstr "関数"
#: ../../library/time.rst:29 ../../library/time.rst:106
#: ../../library/time.rst:109 ../../library/time.rst:112
#: ../../library/time.rst:115
msgid "seconds since the epoch"
msgstr "エポックからの秒数"
#: ../../library/time.rst:106 ../../library/time.rst:112
msgid ":class:`struct_time` in UTC"
msgstr "UTC の :class:`struct_time`"
#: ../../library/time.rst:106
msgid ":func:`gmtime`"
msgstr ":func:`gmtime`"
#: ../../library/time.rst:109 ../../library/time.rst:115
msgid ":class:`struct_time` in local time"
msgstr "ローカル時間の :class:`struct_time`"
#: ../../library/time.rst:109
msgid ":func:`localtime`"
msgstr ":func:`localtime`"
#: ../../library/time.rst:112
msgid ":func:`calendar.timegm`"
msgstr ":func:`calendar.timegm`"
#: ../../library/time.rst:115
msgid ":func:`mktime`"
msgstr ":func:`mktime`"
#: ../../library/time.rst:123
msgid "Functions"
msgstr "関数"
#: ../../library/time.rst:127
msgid ""
"Convert a tuple or :class:`struct_time` representing a time as returned by :"
"func:`gmtime` or :func:`localtime` to a string of the following form: ``'Sun "
"Jun 20 23:21:05 1993'``. The day field is two characters long and is space "
"padded if the day is a single digit, e.g.: ``'Wed Jun 9 04:26:40 1993'``."
msgstr ""
#: ../../library/time.rst:133
msgid ""
"If *t* is not provided, the current time as returned by :func:`localtime` is "
"used. Locale information is not used by :func:`asctime`."
msgstr ""
#: ../../library/time.rst:138
msgid ""
"Unlike the C function of the same name, :func:`asctime` does not add a "
"trailing newline."
msgstr ""
"同名の C の関数と違って、:func:`asctime` は末尾に改行文字を加えません。"
#: ../../library/time.rst:143
msgid ""
"Return the *clk_id* of the thread-specific CPU-time clock for the specified "
"*thread_id*."
msgstr ""
#: ../../library/time.rst:145
msgid ""
"Use :func:`threading.get_ident` or the :attr:`~threading.Thread.ident` "
"attribute of :class:`threading.Thread` objects to get a suitable value for "
"*thread_id*."
msgstr ""
#: ../../library/time.rst:150
msgid ""
"Passing an invalid or expired *thread_id* may result in undefined behavior, "
"such as segmentation fault."
msgstr ""
#: ../../library/time.rst:153 ../../library/time.rst:165
#: ../../library/time.rst:178 ../../library/time.rst:187
#: ../../library/time.rst:200 ../../library/time.rst:212
#: ../../library/time.rst:768 ../../library/time.rst:792
#: ../../library/time.rst:888 ../../library/time.rst:899
#: ../../library/time.rst:909 ../../library/time.rst:919
#: ../../library/time.rst:928 ../../library/time.rst:937
#: ../../library/time.rst:946 ../../library/time.rst:957
#: ../../library/time.rst:965 ../../library/time.rst:976
#: ../../library/time.rst:987 ../../library/time.rst:996
#: ../../library/time.rst:1009
msgid "Availability"
msgstr ""
#: ../../library/time.rst:155
msgid ""
"See the man page for :manpage:`pthread_getcpuclockid(3)` for further "
"information."
msgstr ""
"更なる情報については :manpage:`pthread_getcpuclockid(3)` の man を参照してく"
"ださい。"
#: ../../library/time.rst:162
msgid ""
"Return the resolution (precision) of the specified clock *clk_id*. Refer "
"to :ref:`time-clock-id-constants` for a list of accepted values for *clk_id*."
msgstr ""
"指定された *clk_id* クロックの分解能(精度)を返します。 *clk_id* として受け付"
"けられる値の一覧は :ref:`time-clock-id-constants` を参照してください。"
#: ../../library/time.rst:172
msgid ""
"Return the time of the specified clock *clk_id*. Refer to :ref:`time-clock-"
"id-constants` for a list of accepted values for *clk_id*."
msgstr ""
"指定された *clk_id* クロックの時刻を返します。 *clk_id* として受け付けられる"
"値の一覧は :ref:`time-clock-id-constants` を参照してください。"
#: ../../library/time.rst:175
msgid ""
"Use :func:`clock_gettime_ns` to avoid the precision loss caused by the :"
"class:`float` type."
msgstr ""
#: ../../library/time.rst:185
msgid "Similar to :func:`clock_gettime` but return time as nanoseconds."
msgstr ":func:`clock_gettime` に似ていますが、ナノ秒単位の時刻を返します。"
#: ../../library/time.rst:194
msgid ""
"Set the time of the specified clock *clk_id*. Currently, :data:"
"`CLOCK_REALTIME` is the only accepted value for *clk_id*."
msgstr ""
"指定された *clk_id* クロックの時刻を設定します。\n"
"現在、 :data:`CLOCK_REALTIME` は *clk_id* が受け付ける唯一の値です。"
#: ../../library/time.rst:197
msgid ""
"Use :func:`clock_settime_ns` to avoid the precision loss caused by the :"
"class:`float` type."
msgstr ""
#: ../../library/time.rst:204
msgid "Accepts any real number as *time*, not only integer or float."
msgstr ""
#: ../../library/time.rst:210
msgid "Similar to :func:`clock_settime` but set time with nanoseconds."
msgstr ":func:`clock_settime` に似ていますが、ナノ秒単位の時刻を設定します。"
#: ../../library/time.rst:219
msgid ""
"Convert a time expressed in seconds since the epoch_ to a string of a form: "
"``'Sun Jun 20 23:21:05 1993'`` representing local time. The day field is two "
"characters long and is space padded if the day is a single digit, e.g.: "
"``'Wed Jun 9 04:26:40 1993'``."
msgstr ""
#: ../../library/time.rst:224
msgid ""
"If *secs* is not provided or :const:`None`, the current time as returned by :"
"func:`.time` is used. ``ctime(secs)`` is equivalent to "
"``asctime(localtime(secs))``. Locale information is not used by :func:"
"`ctime`."
msgstr ""
"*secs* を指定しないか :const:`None` を指定した場合、:func:`.time` が返す値を"
"現在の時刻として使用します。``ctime(secs)`` は ``asctime(localtime(secs))`` "
"と等価です。ローカル情報は :func:`ctime` には使用されません。"
#: ../../library/time.rst:229 ../../library/time.rst:267
#: ../../library/time.rst:283 ../../library/time.rst:442
msgid "Accepts any real number, not only integer or float."
msgstr ""
#: ../../library/time.rst:235
msgid ""
"Get information on the specified clock as a namespace object. Supported "
"clock names and the corresponding functions to read their value are:"
msgstr ""
"指定されたクロックの情報を名前空間オブジェクトとして取得します。サポートされ"
"ているクロック名およびそれらの値を取得する関数は以下の通りです:"
#: ../../library/time.rst:239
msgid "``'monotonic'``: :func:`time.monotonic`"
msgstr "``'monotonic'``: :func:`time.monotonic`"
#: ../../library/time.rst:240
msgid "``'perf_counter'``: :func:`time.perf_counter`"
msgstr "``'perf_counter'``: :func:`time.perf_counter`"
#: ../../library/time.rst:241
msgid "``'process_time'``: :func:`time.process_time`"
msgstr "``'process_time'``: :func:`time.process_time`"
#: ../../library/time.rst:242
msgid "``'thread_time'``: :func:`time.thread_time`"
msgstr "``'thread_time'``: :func:`time.thread_time`"
#: ../../library/time.rst:243
msgid "``'time'``: :func:`time.time`"
msgstr "``'time'``: :func:`time.time`"
#: ../../library/time.rst:245
msgid "The result has the following attributes:"
msgstr "結果は以下の属性をもちます:"
#: ../../library/time.rst:247
msgid ""
"*adjustable*: ``True`` if the clock can be set to jump forward or backward "
"in time, ``False`` otherwise. Does not refer to gradual NTP rate adjustments."
msgstr ""
#: ../../library/time.rst:249
msgid ""
"*implementation*: The name of the underlying C function used to get the "
"clock value. Refer to :ref:`time-clock-id-constants` for possible values."
msgstr ""
"*implementation*: クロック値を取得するために内部で使用している C 関数の名前で"
"す。\n"
"使える値については :ref:`time-clock-id-constants` を参照してください。"
#: ../../library/time.rst:251
msgid ""
"*monotonic*: ``True`` if the clock cannot go backward, ``False`` otherwise"
msgstr ""
"*monotonic*: クロック値が後戻りすることがない場合 ``True`` が、そうでない場合"
"は ``False`` になります。"
#: ../../library/time.rst:253
msgid "*resolution*: The resolution of the clock in seconds (:class:`float`)"
msgstr "*resolution*: クロックの分解能を秒 (:class:`float`) で表します。"
#: ../../library/time.rst:260
msgid ""
"Convert a time expressed in seconds since the epoch_ to a :class:"
"`struct_time` in UTC in which the dst flag is always zero. If *secs* is not "
"provided or :const:`None`, the current time as returned by :func:`.time` is "
"used. Fractions of a second are ignored. See above for a description of "
"the :class:`struct_time` object. See :func:`calendar.timegm` for the inverse "
"of this function."
msgstr ""
"エポック (epoch_) からの経過時間で表現された時刻を、UTC で :class:"
"`struct_time` に変換します。このとき dst フラグは常にゼロとして扱われます。"
"*secs* を指定しないか :const:`None` を指定した場合、:func:`.time` が返す値を"
"現在の時刻として使用します。秒の端数は無視されます。:class:`struct_time` オブ"
"ジェクトについては前述の説明を参照してください。:func:`calendar.timegm` はこ"
"の関数と逆の変換を行います。"
#: ../../library/time.rst:273
msgid ""
"Like :func:`gmtime` but converts to local time. If *secs* is not provided "
"or :const:`None`, the current time as returned by :func:`.time` is used. "
"The dst flag is set to ``1`` when DST applies to the given time."
msgstr ""
":func:`gmtime` に似ていますが、ローカル時間に変換します。*secs* を指定しない"
"か :const:`None` を指定した場合、:func:`.time` が返す値を現在の時刻として使用"
"します。DST が適用されている場合は dst フラグには ``1`` が設定されます。"
#: ../../library/time.rst:277
msgid ""
":func:`localtime` may raise :exc:`OverflowError`, if the timestamp is "
"outside the range of values supported by the platform C :c:func:`localtime` "
"or :c:func:`gmtime` functions, and :exc:`OSError` on :c:func:`localtime` or :"
"c:func:`gmtime` failure. It's common for this to be restricted to years "
"between 1970 and 2038."
msgstr ""
#: ../../library/time.rst:289
msgid ""
"This is the inverse function of :func:`localtime`. Its argument is the :"
"class:`struct_time` or full 9-tuple (since the dst flag is needed; use "
"``-1`` as the dst flag if it is unknown) which expresses the time in *local* "
"time, not UTC. It returns a floating-point number, for compatibility with :"
"func:`.time`. If the input value cannot be represented as a valid time, "
"either :exc:`OverflowError` or :exc:`ValueError` will be raised (which "
"depends on whether the invalid value is caught by Python or the underlying C "
"libraries). The earliest date for which it can generate a time is platform-"
"dependent."
msgstr ""
":func:`localtime` の逆を行う関数です。引数は :class:`struct_time` か 9 個の要"
"素すべての値を持つ完全なタプル (dst フラグも必要です; 時刻に DST が適用される"
"か不明の場合は ``-1`` を使用してください) で、UTC ではなく *ローカル* 時間を"
"指定します。戻り値は :func:`.time` との互換性のために浮動小数点数になります。"
"入力した値を正しい時刻として表現できない場合、例外 :exc:`OverflowError` また"
"は :exc:`ValueError` が送出されます (どちらが送出されるかは、無効な値を受け"
"取ったのが Python と下層の C ライブラリのどちらなのかによって決まります)。こ"
"の関数で時刻を生成できる最も古い日付はプラットフォームに依存します。"
#: ../../library/time.rst:301
msgid ""
"Return the value (in fractional seconds) of a monotonic clock, i.e. a clock "
"that cannot go backwards. The clock is not affected by system clock "
"updates. The reference point of the returned value is undefined, so that "
"only the difference between the results of two calls is valid."
msgstr ""
"モノトニッククロック、すなわち後戻りしないクロックの値を (小数秒で) 返しま"
"す。このクロックはシステムクロックの更新の影響を受けません。戻り値の基準点は"
"定義されていないので、二回の呼び出しの結果の差だけが有効です。"
#: ../../library/time.rst:306 ../../library/time.rst:729
msgid "Clock:"
msgstr ""
#: ../../library/time.rst:308
msgid ""
"On Windows, call ``QueryPerformanceCounter()`` and "
"``QueryPerformanceFrequency()``."
msgstr ""
#: ../../library/time.rst:310
msgid "On macOS, call ``mach_absolute_time()`` and ``mach_timebase_info()``."
msgstr ""
#: ../../library/time.rst:311
msgid "On HP-UX, call ``gethrtime()``."
msgstr ""
#: ../../library/time.rst:312
msgid "Call ``clock_gettime(CLOCK_HIGHRES)`` if available."
msgstr ""
#: ../../library/time.rst:313
msgid "Otherwise, call ``clock_gettime(CLOCK_MONOTONIC)``."
msgstr ""
#: ../../library/time.rst:315
msgid ""
"Use :func:`monotonic_ns` to avoid the precision loss caused by the :class:"
"`float` type."
msgstr ""
#: ../../library/time.rst:320
msgid ""
"The function is now always available and the clock is now the same for all "
"processes."
msgstr ""
#: ../../library/time.rst:324
msgid "On macOS, the clock is now the same for all processes."
msgstr ""
#: ../../library/time.rst:330
msgid "Similar to :func:`monotonic`, but return time as nanoseconds."
msgstr ":func:`monotonic` に似ていますが、ナノ秒単位の時刻を返します。"
#: ../../library/time.rst:339
msgid ""
"Return the value (in fractional seconds) of a performance counter, i.e. a "
"clock with the highest available resolution to measure a short duration. It "
"does include time elapsed during sleep. The clock is the same for all "
"processes. The reference point of the returned value is undefined, so that "
"only the difference between the results of two calls is valid."
msgstr ""
#: ../../library/time.rst:348
msgid ""
"On CPython, use the same clock as :func:`time.monotonic` and is a monotonic "
"clock, i.e. a clock that cannot go backwards."
msgstr ""
#: ../../library/time.rst:351
msgid ""
"Use :func:`perf_counter_ns` to avoid the precision loss caused by the :class:"
"`float` type."
msgstr ""
#: ../../library/time.rst:356
msgid "On Windows, the clock is now the same for all processes."
msgstr ""
#: ../../library/time.rst:359
msgid "Use the same clock as :func:`time.monotonic`."
msgstr ""
#: ../../library/time.rst:365
msgid "Similar to :func:`perf_counter`, but return time as nanoseconds."
msgstr ":func:`perf_counter` に似ていますが、ナノ秒単位の時刻を返します。"
#: ../../library/time.rst:377
msgid ""
"Return the value (in fractional seconds) of the sum of the system and user "
"CPU time of the current process. It does not include time elapsed during "
"sleep. It is process-wide by definition. The reference point of the "
"returned value is undefined, so that only the difference between the results "
"of two calls is valid."
msgstr ""
"現在のプロセスのシステムおよびユーザー CPU 時間の値を (小数秒で) 返します。こ"
"れはスリープ中の経過時間を含みません。これは定義上プロセスワイドです。戻り値"
"の基準点は定義されていないので、二回の呼び出しの結果の差だけが有効です。"
#: ../../library/time.rst:383
msgid ""
"Use :func:`process_time_ns` to avoid the precision loss caused by the :class:"
"`float` type."
msgstr ""
#: ../../library/time.rst:390
msgid "Similar to :func:`process_time` but return time as nanoseconds."
msgstr ":func:`process_time` に似ていますが、ナノ秒単位の時刻を返します。"
#: ../../library/time.rst:396
msgid ""
"Suspend execution of the calling thread for the given number of seconds. The "
"argument may be a non-integer to indicate a more precise sleep time."
msgstr ""
#: ../../library/time.rst:399
msgid ""
"If the sleep is interrupted by a signal and no exception is raised by the "
"signal handler, the sleep is restarted with a recomputed timeout."
msgstr ""
#: ../../library/time.rst:402
msgid ""
"The suspension time may be longer than requested by an arbitrary amount, "
"because of the scheduling of other activity in the system."
msgstr ""
#: ../../library/time.rst:406
msgid "Windows implementation"
msgstr ""
#: ../../library/time.rst:407
msgid ""
"On Windows, if *secs* is zero, the thread relinquishes the remainder of its "
"time slice to any other thread that is ready to run. If there are no other "
"threads ready to run, the function returns immediately, and the thread "
"continues execution. On Windows 10 and newer the implementation uses a "
"`high-resolution timer <https://learn.microsoft.com/windows/win32/api/"
"synchapi/nf-synchapi-createwaitabletimerexw>`_ which provides resolution of "
"100 nanoseconds. If *secs* is zero, ``Sleep(0)`` is used."
msgstr ""
#: ../../library/time.rst:416
msgid "Unix implementation"
msgstr ""
#: ../../library/time.rst:417
msgid "Use ``clock_nanosleep()`` if available (resolution: 1 nanosecond);"
msgstr ""
#: ../../library/time.rst:418
msgid "Or use ``nanosleep()`` if available (resolution: 1 nanosecond);"
msgstr ""
#: ../../library/time.rst:419
msgid "Or use ``select()`` (resolution: 1 microsecond)."
msgstr ""
#: ../../library/time.rst:423
msgid ""
"To emulate a \"no-op\", use :keyword:`pass` instead of ``time.sleep(0)``."
msgstr ""
#: ../../library/time.rst:425
msgid ""
"To voluntarily relinquish the CPU, specify a real-time :ref:`scheduling "
"policy <os-scheduling-policy>` and use :func:`os.sched_yield` instead."
msgstr ""
#: ../../library/time.rst:428
msgid ""
"Raises an :ref:`auditing event <auditing>` ``time.sleep`` with argument "
"``secs``."
msgstr ""
"引数 ``secs`` を指定して :ref:`監査イベント <auditing>` ``time.sleep`` を送出"
"します。 "
#: ../../library/time.rst:430
msgid ""
"The function now sleeps at least *secs* even if the sleep is interrupted by "
"a signal, except if the signal handler raises an exception (see :pep:`475` "
"for the rationale)."
msgstr ""
"スリープがシグナルに中断されてもシグナルハンドラが例外を送出しない限り、少な"
"くとも *secs* だけスリープするようになりました (論拠については :pep:`475` を"
"参照してください)。"
#: ../../library/time.rst:435
msgid ""
"On Unix, the ``clock_nanosleep()`` and ``nanosleep()`` functions are now "
"used if available. On Windows, a waitable timer is now used."
msgstr ""
#: ../../library/time.rst:439
msgid "Raises an auditing event."
msgstr ""
#: ../../library/time.rst:450
msgid ""
"Convert a tuple or :class:`struct_time` representing a time as returned by :"
"func:`gmtime` or :func:`localtime` to a string as specified by the *format* "
"argument. If *t* is not provided, the current time as returned by :func:"
"`localtime` is used. *format* must be a string. :exc:`ValueError` is "
"raised if any field in *t* is outside of the allowed range."
msgstr ""
":func:`gmtime` や :func:`localtime` が返す時刻値タプルまたは :class:"
"`struct_time` を、*format* で指定した文字列形式に変換します。*t* が与えられて"
"いない場合、:func:`localtime` が返す値を現在の時刻として使用します。*format* "
"は文字列でなくてはなりません。*t* のいずれかのフィールドが許容範囲外の数値で"
"あった場合、:exc:`ValueError` を送出します。"
#: ../../library/time.rst:456
msgid ""
"0 is a legal argument for any position in the time tuple; if it is normally "
"illegal the value is forced to a correct one."
msgstr ""
"0 は時刻タプル内のいずれの位置の引数にも使用できます; それが一般に不正な値で"
"あれば、正しい値に強制的に置き換えられます。"
#: ../../library/time.rst:459
msgid ""
"The following directives can be embedded in the *format* string. They are "
"shown without the optional field width and precision specification, and are "
"replaced by the indicated characters in the :func:`strftime` result:"
msgstr ""
"*format* 文字列には以下のディレクティブ (指示語) を埋め込むことができます。こ"
"れらはフィールド長や精度のオプションを付けずに表され、:func:`strftime` の結果"
"の対応する文字列に置き換えられます:"
#: ../../library/time.rst:464
msgid "Directive"
msgstr "ディレクティブ"
#: ../../library/time.rst:464
msgid "Meaning"
msgstr "意味"
#: ../../library/time.rst:464
msgid "Notes"
msgstr "注釈"
#: ../../library/time.rst:466
msgid "``%a``"
msgstr "``%a``"
#: ../../library/time.rst:466
msgid "Locale's abbreviated weekday name."
msgstr "ロケールの短縮された曜日名になります。"
#: ../../library/time.rst:469
msgid "``%A``"
msgstr "``%A``"
#: ../../library/time.rst:469
msgid "Locale's full weekday name."
msgstr "ロケールの曜日名になります。"
#: ../../library/time.rst:471
msgid "``%b``"
msgstr "``%b``"
#: ../../library/time.rst:471
msgid "Locale's abbreviated month name."
msgstr "ロケールの短縮された月名になります。"
#: ../../library/time.rst:474
msgid "``%B``"
msgstr "``%B``"
#: ../../library/time.rst:474
msgid "Locale's full month name."
msgstr "ロケールの月名になります。"
#: ../../library/time.rst:476
msgid "``%c``"
msgstr "``%c``"
#: ../../library/time.rst:476
msgid "Locale's appropriate date and time representation."
msgstr "ロケールの日時を適切な形式で表します。"
#: ../../library/time.rst:479
msgid "``%d``"
msgstr "``%d``"
#: ../../library/time.rst:479
msgid "Day of the month as a decimal number [01,31]."
msgstr "月中の日にちの 10 進表記になります [01,31]。"
#: ../../library/time.rst:482
msgid "``%f``"
msgstr "``%f``"
#: ../../library/time.rst:482
msgid "Microseconds as a decimal number"
msgstr ""
#: ../../library/time.rst:483
msgid "[000000,999999]."
msgstr "[000000,999999]."
#: ../../library/time.rst:482
msgid "\\(1)"
msgstr "\\(1)"
#: ../../library/time.rst:486
msgid "``%H``"
msgstr "``%H``"
#: ../../library/time.rst:486
msgid "Hour (24-hour clock) as a decimal number [00,23]."
msgstr "時 (24 時間表記) の 10 進表記になります [00,23]。"
#: ../../library/time.rst:489
msgid "``%I``"
msgstr "``%I``"
#: ../../library/time.rst:489
msgid "Hour (12-hour clock) as a decimal number [01,12]."
msgstr "時 (12 時間表記) の 10 進表記になります [01,12]。"
#: ../../library/time.rst:492
msgid "``%j``"
msgstr "``%j``"
#: ../../library/time.rst:492
msgid "Day of the year as a decimal number [001,366]."
msgstr "年中の日にちの 10 進表記になります [001,366]。"
#: ../../library/time.rst:495
msgid "``%m``"
msgstr "``%m``"
#: ../../library/time.rst:495
msgid "Month as a decimal number [01,12]."
msgstr "月の 10 進表記になります [01,12]。"
#: ../../library/time.rst:498
msgid "``%M``"
msgstr "``%M``"
#: ../../library/time.rst:498
msgid "Minute as a decimal number [00,59]."
msgstr "分の 10 進表記になります [00,59]。"
#: ../../library/time.rst:501
msgid "``%p``"
msgstr "``%p``"
#: ../../library/time.rst:501
msgid "Locale's equivalent of either AM or PM."
msgstr "ロケールの AM もしくは PM と等価な文字列になります。"
#: ../../library/time.rst:501
msgid "\\(2)"
msgstr "\\(2)"
#: ../../library/time.rst:504
msgid "``%S``"
msgstr "``%S``"
#: ../../library/time.rst:504
msgid "Second as a decimal number [00,61]."
msgstr "秒の 10 進表記になります [00,61]。"
#: ../../library/time.rst:504
msgid "\\(3)"
msgstr "\\(3)"
#: ../../library/time.rst:507
msgid "``%U``"
msgstr "``%U``"
#: ../../library/time.rst:507
msgid ""
"Week number of the year (Sunday as the first day of the week) as a decimal "
"number [00,53]. All days in a new year preceding the first Sunday are "
"considered to be in week 0."
msgstr ""
"年の初めから何週目か (日曜を週の始まりとします) を表す 10 進数になります "
"[00,53]。年が明けてから最初の日曜日までのすべての曜日は 0 週目に属すると見な"
"されます。"
#: ../../library/time.rst:507 ../../library/time.rst:521
msgid "\\(4)"
msgstr "\\(4)"
#: ../../library/time.rst:515
msgid "``%u``"
msgstr "``%u``"
#: ../../library/time.rst:515
msgid "Day of the week (Monday is 1; Sunday is 7) as a decimal number [1, 7]."
msgstr ""
#: ../../library/time.rst:518
msgid "``%w``"
msgstr "``%w``"
#: ../../library/time.rst:518
msgid "Weekday as a decimal number [0(Sunday),6]."
msgstr "曜日の 10 進表記になります [0 (日曜日),6]。"
#: ../../library/time.rst:521
msgid "``%W``"
msgstr "``%W``"
#: ../../library/time.rst:521
msgid ""
"Week number of the year (Monday as the first day of the week) as a decimal "
"number [00,53]. All days in a new year preceding the first Monday are "
"considered to be in week 0."
msgstr ""
"年の初めから何週目か (月曜を週の始まりとします) を表す 10 進数になります "
"[00,53]。年が明けてから最初の月曜日までの全ての曜日は 0 週目に属すると見なさ"
"れます。"
#: ../../library/time.rst:529
msgid "``%x``"
msgstr "``%x``"
#: ../../library/time.rst:529
msgid "Locale's appropriate date representation."
msgstr "ロケールの日付を適切な形式で表します。"
#: ../../library/time.rst:532
msgid "``%X``"
msgstr "``%X``"
#: ../../library/time.rst:532
msgid "Locale's appropriate time representation."
msgstr "ロケールの時間を適切な形式で表します。"
#: ../../library/time.rst:535
msgid "``%y``"
msgstr "``%y``"
#: ../../library/time.rst:535
msgid "Year without century as a decimal number [00,99]."
msgstr "西暦の下 2 桁の 10 進表記になります [00,99]。"
#: ../../library/time.rst:538
msgid "``%Y``"
msgstr "``%Y``"
#: ../../library/time.rst:538
msgid "Year with century as a decimal number."
msgstr "西暦 ( 4桁) の 10 進表記を表します。"
#: ../../library/time.rst:541
msgid "``%z``"
msgstr "``%z``"
#: ../../library/time.rst:541
msgid ""
"Time zone offset indicating a positive or negative time difference from UTC/"
"GMT of the form +HHMM or -HHMM, where H represents decimal hour digits and M "
"represents decimal minute digits [-23:59, +23:59]. [1]_"
msgstr ""
"タイムゾーンと UTC/GMT との時差を表す正または負の時間を +HHMM、-HHMM で表しま"
"す。H は時間の、M は分の 10 進表記になります [-23:59, +23:59]。 [1]_"
#: ../../library/time.rst:547
msgid "``%Z``"
msgstr "``%Z``"
#: ../../library/time.rst:547
msgid "Time zone name (no characters if no time zone exists). Deprecated. [1]_"
msgstr ""
"タイムゾーンの名前を表します (タイムゾーンがない場合には空文字列)。非推奨で"
"す。 [1]_"
#: ../../library/time.rst:550
msgid "``%G``"
msgstr "``%G``"
#: ../../library/time.rst:550
msgid ""
"ISO 8601 year (similar to ``%Y`` but follows the rules for the ISO 8601 "
"calendar year). The year starts with the week that contains the first "
"Thursday of the calendar year."
msgstr ""
#: ../../library/time.rst:555
msgid "``%V``"
msgstr "``%V``"
#: ../../library/time.rst:555
msgid ""
"ISO 8601 week number (as a decimal number [01,53]). The first week of the "
"year is the one that contains the first Thursday of the year. Weeks start on "
"Monday."
msgstr ""
#: ../../library/time.rst:560
msgid "``%%``"
msgstr "``%%``"
#: ../../library/time.rst:560
msgid "A literal ``'%'`` character."
msgstr "文字 ``'%'`` を表します。"
#: ../../library/time.rst:563
msgid "Notes:"
msgstr "注釈:"
#: ../../library/time.rst:566
msgid ""
"The ``%f`` format directive only applies to :func:`strptime`, not to :func:"
"`strftime`. However, see also :meth:`datetime.datetime.strptime` and :meth:"
"`datetime.datetime.strftime` where the ``%f`` format directive :ref:`applies "
"to microseconds <format-codes>`."
msgstr ""
#: ../../library/time.rst:572
msgid ""
"When used with the :func:`strptime` function, the ``%p`` directive only "
"affects the output hour field if the ``%I`` directive is used to parse the "
"hour."