<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright TEI Consortium. 
Dual-licensed under CC-by and BSD2 licences 
See the file COPYING.txt for details
$Date$
$Id$
-->
<?xml-model href="http://tei.oucs.ox.ac.uk/jenkins/job/TEIP5/lastSuccessfulBuild/artifact/P5/release/xml/tei/odd/p5.nvdl" type="application/xml" schematypens="http://purl.oclc.org/dsdl/nvdl/ns/structure/1.0"?>
<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 versionDate="2007-10-18" xml:lang="en">defines the range of attribute values available for representation of a duration in time using W3C datatypes.</desc>
  <desc versionDate="2007-12-20" xml:lang="ko">W3C 데이터 유형을 사용해서 시간 지속을 나타내는 속성 값 범위를 정의한다.</desc>
  <desc versionDate="2007-05-02" xml:lang="zh-TW">以W3C datatypes標準格式來定義表示一段持續性時間的屬性值範圍</desc>
  <desc versionDate="2008-04-05" xml:lang="ja">W3Cのデータ型を使い，時間幅を表現する当該属性値の範囲を定義する．</desc>
  <desc versionDate="2007-06-12" xml:lang="fr">définit la gamme des
  valeurs d'attributs exprimant une durée temporaraire utilisant les types de données W3C</desc>
  <desc versionDate="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 xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <time dur="PT45M">forty-five minutes</time>
    </egXML>
  </exemplum>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <date dur="P1DT12H">a day and a half</date>
    </egXML>
  </exemplum>
  <exemplum xml:lang="en">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <date dur="P7D">a week</date>
    </egXML>
  </exemplum>
  <exemplum xml:lang="fr">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <time dur="PT45M">quarante-cinq minutes</time>
    </egXML>
  </exemplum>
  <exemplum xml:lang="fr">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <date dur="P1DT12H">une journée et demie</date>
    </egXML>
  </exemplum>
  <exemplum xml:lang="fr">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <date dur="P7D">une semaine</date>
    </egXML>
  </exemplum>
  <exemplum xml:lang="und">
    <egXML xmlns="http://www.tei-c.org/ns/Examples">
      <time dur="PT0.02S">20 ms</time>
    </egXML>
  </exemplum>
  <remarks versionDate="2007-04-20" xml:lang="en">
    <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" versionDate="2008-04-05">
    <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>
  <remarks versionDate="2009-05-25" xml:lang="fr">
    <p>Une durée est exprimée par une suite de paires alphanumériques, précédée par la lettre P ; la lettre donne l'unité et peut être Y
      (année), M (mois), D (jour), H (heure), M (minute), ou S (seconde),
      dans cet ordre. Les nombres sont des entiers non signés à l'exception du dernier, qui peut comporter une décimale (en utilisant soit 
      <code>.</code> soit <code>,</code> pour la virgule ; la dernière possibilité est préférable). Si un nombre est <mentioned>0</mentioned>, alors
      la paire alphanumérique peut être omise. Si les paires alphanumériques H (heure), M
      (minute), ou S (seconde) sont présentes, alors le séparateur
      <code>T</code> doit précéder la première paire alphanumérique
      <soCalled>time</soCalled>.</p>
    <p>Pour des détails complets, voir <ref target="http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#duration">W3C
      specification</ref>.</p>
  </remarks>
</macroSpec>
