<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium. 
Licensed under the GNU General Public License. 
See the file COPYING.txt for details
$Date: 2008-11-01 12:54:12 +0000 (Sat, 01 Nov 2008) $
$Id: data.duration.w3c.xml 4899 2008-11-01 12:54:12Z rahtz $
-->
<macroSpec xmlns="http://www.tei-c.org/ns/1.0" xmlns:rng="http://relaxng.org/ns/structure/1.0" module="tei" type="dt" ident="data.duration.w3c">
  <desc>defines the range of attribute values available for representation of a duration in time using W3C datatypes.</desc>
  <desc version="2007-12-20" xml:lang="kr">W3C 데이터 유형을 사용해서 시간 지속을 나타내는 속성 값 범위를 정의한다.</desc>
  <desc version="2007-05-02" xml:lang="zh-tw">以W3C datatypes標準格式來定義表示一段持續性時間的屬性值範圍
    </desc>
  <desc version="2008-04-05" xml:lang="ja">
  W3Cのデータ型を使い，時間幅を表現する当該属性値の範囲を定義する．
  </desc>
  <desc version="2007-06-12" xml:lang="fr">définit la gamme des valeurs d'attributs disponibles
      pour la représentation d'une durée employant les types de données W3C</desc>
  <desc version="2007-05-04" xml:lang="es">define la gama de valores de atributos disponibles para la representación de un periodo de tiempo usando tipos de datos W3C</desc>
  <content>
    <rng:data type="duration"/>
  </content>
  <exemplum>
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <time dur="PT45M">forty-five minutes</time>
    </egXML>
  </exemplum>
  <exemplum>
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <date dur="P1DT12H">a day and a half</date>
    </egXML>
  </exemplum>
  <exemplum>
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <date dur="P7D">a week</date>
    </egXML>
  </exemplum>
  <exemplum>
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <time dur="PT0.02S">20 ms</time>
    </egXML>
  </exemplum>
  <remarks>
    <p>A duration is expressed as a sequence of number-letter pairs,
    preceded by the letter P; the letter gives the unit and may be Y
    (year), M (month), D (day), H (hour), M (minute), or S (second),
    in that order. The numbers are all unsigned integers, except for
    the <code>S</code> number, which may have a decimal component
    (using <code>.</code> as the decimal point). If any number is
    <mentioned>0</mentioned>, then that number-letter pair may be
    omitted. If any of the H (hour), M (minute), or S (second)
    number-letter pairs are present, then the separator <code>T</code>
    must precede the first <soCalled>time</soCalled> number-letter
    pair.</p>
    <p>For complete details, see the <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#duration">W3C
    specification</ref>.</p>
  </remarks>
  <remarks xml:lang="ja">
    <p>
    時間幅は，先頭文字Pに続いて，数値-文字のペア列で示される．
    文字は単位を示している．Y(年), M(月), D(日), H(時間), M(分), S(秒)
    の順番になる．数値は符号のない整数である．但し，<code>S</code>の場
    合，最後に10進数の表記記号(小数点を示す<code>.</code>)をとることが
    ある．数値が<mentioned>0</mentioned>の場合，数値-文字のペアは省略
    されることがある．H(時間), M(分), S(秒)が数値-文字のペアを作る場合，
    区切子<code>T</code>を先頭にして<soCalled>時間</soCalled>を示す
    数値-文字のペアを示す必要がある．
    </p>
    <p>
    詳細については，
    <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#duration">
    W3C specification</ref>を参照のこと．
    </p>
  </remarks>
</macroSpec>
