ISO 8601-2:2019/Amd 1:2025 日付と時刻 — 情報交換のための表現 — Part 2:拡張 — 修正 1:正規表現、時間スケール コンポーネントおよび日付時刻演算の拡張 | ページ 2

この規格 プレビューページの目次

※一部、英文及び仏文を自動翻訳した日本語訳を使用しています。

序文

ISO (国際標準化機構) は、国家標準化団体 (ISO メンバー団体) の世界的な連合体です。国際規格の作成作業は通常、ISO 技術委員会を通じて行われます。技術委員会が設立された主題に関心のある各会員団体は、その委員会に代表される権利を有します。政府および非政府の国際機関も ISO と連携してこの作業に参加しています。 ISO は、電気技術の標準化に関するあらゆる事項について、国際電気標準会議 (IEC) と緊密に協力しています。

この文書の開発に使用される手順と、そのさらなる保守を目的とした手順は、ISO/IEC 指令第 1 Part に記載されています。特に、さまざまなタイプの ISO 文書に必要なさまざまな承認基準に注意する必要があります。この文書は、ISO/IEC 指令Part 2 部の編集規則に従って起草されました ( www.iso.org/directives を参照)

ISO は、この文書の実装に特許の使用が含まれる可能性があることに注意を促しています。 ISO は、請求された特許権に関する証拠、有効性、または適用可能性に関していかなる立場もとりません。この文書の発行日の時点で、ISO はこの文書の実装に必要となる可能性のある特許の通知を受け取っていません。ただし、実装者は、これが www.iso.org/patents で入手可能な特許データベースから取得できる最新の情報を表していない可能性があることに注意してください。 ISO は、かかる特許権の一部またはすべてを特定する責任を負わないものとします。

本書で使用されている商号は、ユーザーの便宜のために提供された情報であり、推奨を構成するものではありません。

規格の自主的な性質、適合性評価に関連する ISO 固有の用語と表現の意味、および貿易の技術的障壁 (TBT) における世界貿易機関 (WTO) 原則への ISO の準拠に関する情報については、以下を参照してください。 www.iso.org/iso/foreword.html

この文書は、ISO/TC 154 技術委員会、商業、産業および行政におけるプロセス、データ要素および文書によって作成されました。

ISO 8601 シリーズのすべての部品のリストは、ISO の Web サイトでご覧いただけます。

3.1.2.14

正規形

すべてのタイム スケール コンポーネントが正規化されwhere 日付と時刻の式 (3.1.2.15)

注 1:日付と時刻の式の正規形式は、アンダーフローが最小限に抑えられ、オーバーフローが含まれていないことを意味します。

3.1.2.15

ノーマライズ

タイムスケールコンポーネントの値が定義された包括的範囲内にあることを確認するプロセス

3.1.2.16

正規化された継続時間

タイムスケール成分が 正規化された値を持つ継続時間(3.1.2.15)

注記 1:これは、負の期間にも適用されます。

3.1.2.17

オーバーフロー

明確に変換可能な高次の時間スケール成分と組み合わせたときに正の値を持つ時間スケール成分の状態。高次の時間スケール成分の 1 単位を超える継続時間を表す値を保持します。

注記 1:タイムスケールコンポーネントがオーバーフロー状態になり得るのは、それが明確に変換可能な高次のタイムスケールコンポーネントと比較した場合のみです。

注記 2:時間スケール成分が、高次の時間スケール成分の 1 単位未満の継続時間を表す値を持つ場合、オーバーフロー状態は解決されたと見なされます。

例 1:

暦日と暦週は明確に変換可能なタイム スケール コンポーネントのペアであるため、高次のタイム スケール コンポーネントが暦週とみなされる場合、10 暦日を表す暦日タイム スケール コンポーネントはオーバーフローとみなされます。

例 2:

暦日と暦月は明確に変換可能なタイム スケール コンポーネントのペアではないため、高次のタイム スケール コンポーネントが暦月とみなされる場合、35 暦日を表す暦日タイム スケール コンポーネントはオーバーフローとはみなされません。

3.1.2.18

アンダーフロー

負の値を持つタイム スケール コンポーネントの状態。上位のタイム スケール コンポーネントと組み合わせると、ここで, 上位のタイム スケール コンポーネントで表される期間と下位のタイム スケール コンポーネントで表される期間を組み合わせた結果と明確に変換できます。 -次数の時間スケール成分がゼロ以上です

注記 1:タイムスケールコンポーネントは、明確に変換可能な高次のタイムスケールコンポーネントと比較した場合にのみアンダーフロー状態にあり得ます。

注2:タイムスケールコンポーネントのアンダーフローを解決する際、下位タイムスケールコンポーネントの負の値は、下位タイムスケールコンポーネントと上位タイムスケールコンポーネントの値の組み合わせを使用して、意味的に同等の形式で表現できます。どちらもゼロ以上です。

例 1:

-8 暦月を表す暦月タイム スケール コンポーネントは、考慮される高次のタイム スケール コンポーネントが暦月および暦年として値 1 (12 暦月に相当) を持つ暦年である場合、アンダーフローとみなされます。は、明確に変換可能なタイム スケール コンポーネントのペアです。

例 2:

-60 暦日を表す暦日タイム スケール コンポーネントは、考慮される高次のタイム スケール コンポーネントが暦月である場合、アンダーフローでは考慮されません。これは、暦日と暦月が明確に変換可能なタイム スケール コンポーネントのペアではないためです。

例 3:

-10 暦日を表す暦日タイム スケール コンポーネントは、高次のタイム スケール コンポーネントが値 2 の暦週であるとみなされる場合、アンダーフローとみなされますが、暦週の値が 1 である場合、アンダーフローとはみなされません。 1 暦週は 7 暦日に相当し、-10 暦日と組み合わせると、期間は 0 未満になります。

Foreword

ISO (the International Organization for Standardization) is a worldwide federation of national standards bodies (ISO member bodies). The work of preparing International Standards is normally carried out through ISO technical committees. Each member body interested in a subject for which a technical committee has been established has the right to be represented on that committee. International organizations, governmental and non-governmental, in liaison with ISO, also take part in the work. ISO collaborates closely with the International Electrotechnical Commission (IEC) on all matters of electrotechnical standardization.

The procedures used to develop this document and those intended for its further maintenance are described in the ISO/IEC Directives, Part 1. In particular, the different approval criteria needed for the different types of ISO document should be noted. This document was drafted in accordance with the editorial rules of the ISO/IEC Directives, Part 2 (see www.iso.org/directives ).

ISO draws attention to the possibility that the implementation of this document may involve the use of (a) patent(s). ISO takes no position concerning the evidence, validity or applicability of any claimed patent rights in respect thereof. As of the date of publication of this document, ISO had not received notice of (a) patent(s) which may be required to implement this document. However, implementers are cautioned that this may not represent the latest information, which may be obtained from the patent database available at www.iso.org/patents . ISO shall not be held responsible for identifying any or all such patent rights.

Any trade name used in this document is information given for the convenience of users and does not constitute an endorsement.

For an explanation of the voluntary nature of standards, the meaning of ISO specific terms and expressions related to conformity assessment, as well as information about ISO's adherence to the World Trade Organization (WTO) principles in the Technical Barriers to Trade (TBT), see www.iso.org/iso/foreword.html .

This document was prepared by Technical Committee ISO/TC 154, Processes, data elements and documents in commerce, industry and administration.

A list of all parts in the ISO 8601 series can be found on the ISO website.

3.1.2.14

canonical form

date and time expression where all its time scale components are normalised (3.1.2.15)

Note 1 to entry: The canonical form of a date and time expression implies it contains minimal underflow and no overflow.

3.1.2.15

normalise

process to ensure time scale components have values in their defined inclusive ranges

3.1.2.16

normalised duration

duration whose time scale components have values that are normalised (3.1.2.15)

Note 1 to entry: This also applies to negative durations.

3.1.2.17

overflow

state of a time scale component with a positive value when paired with a higher-order time scale component it is unequivocally convertible with, that holds a value representing a duration exceeding one unit of the higher-order time scale component

Note 1 to entry: A time scale component can only be in overflow when considered against a higher-order time scale component it is unequivocally convertible with.

Note 2 to entry: The state of overflow is considered resolved if the time scale component has a value representing a duration less than one unit of the higher-order time scale component.

EXAMPLE 1:

A calendar day time scale component representing 10 calendar days is considered in overflow when the higher-order time scale component considered is a calendar week, as the calendar day and calendar week are an unequivocally convertible time scale component pair.

EXAMPLE 2:

A calendar day time scale component representing 35 calendar days is not considered in overflow when the higher-order time scale component considered is a calendar month, as the calendar day and calendar month are not an unequivocally convertible time scale component pair.

3.1.2.18

underflow

state of a time scale component with a negative value when paired with a higher-order time scale component it is unequivocally convertible with ここで, the result of combining the duration represented by the higher-order time scale component and the duration represented by the lower-order time scale component is larger than or equal to zero

Note 1 to entry: A time scale component can only be in underflow when considered against a higher-order time scale component it is unequivocally convertible with.

Note 2 to entry: In resolving time scale component underflows, the negative value of the lower-order time scale component can be expressed in a semantically equivalent form using a combination of the lower-order and higher-order time scale components with values for both larger than or equal to zero.

EXAMPLE 1:

A calendar month time scale component representing −8 calendar months is considered in underflow when the higher-order time scale component considered is a calendar year with a value of 1 (which is equivalent to 12 calendar months), as the calendar month and calendar year are an unequivocally convertible time scale component pair.

EXAMPLE 2:

A calendar day time scale component representing −60 calendar days is not considered in underflow when the higher-order time scale component considered is a calendar month, as the calendar day and calendar month are not an unequivocally convertible time scale component pair.

EXAMPLE 3:

A calendar day time scale component representing −10 calendar days is considered in underflow when the higher-order time scale component considered is a calendar week with a value of 2, but it is not considered in underflow when the calendar week has a value of 1, since a calendar week is equivalent to 7 calendar days, which when combined with −10 calendar days results in a duration less than zero.