-
Notifications
You must be signed in to change notification settings - Fork 4
/
996.txt
40 lines (26 loc) · 1.43 KB
/
996.txt
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
[8] [DFN[[CODE(XML)@en[[[xs:time]]]]]] は、[[時刻]]を表す [[XML Schemaデータ型]]です。
* 仕様書
[REFS[
- [2] [CITE@EN[W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes]] ([TIME[2012-04-04 21:34:51 +09:00]] 版) <http://www.w3.org/TR/xmlschema11-2/#time>
]REFS]
* 値空間
[3] [[date/timeSevenPropertyModel]] のうち、[[·year·]], [[·month·]], [[·day·]]
がないものです。 [[·timezoneOffset·]] は省略可能です。 [SRC[>>2]]
* 字句空間
[4] [[字句空間]]は、 [CODE[[[xs:dateTime]]]] の [CODE[[[T]]]] より後の部分 ([CODE[[[T]]]] は含みません。)
と同じ[[文字列]]です。
* 文脈
[9] [[Schema.orgの日時形式]]の1つとして採用されています。
* 歴史
[REFS[
- [1] [CITE@EN[W3C XML Schema Definition Language (XSD) 1.1 Part 2: Datatypes]]
( ([TIME[2012-04-05 06:34:51 +09:00]] 版))
<http://www.w3.org/TR/2012/REC-xmlschema11-2-20120405/#time>
]REFS]
* 関連
[5] [[HTMLの日付形式]]の1つである[[妥当な時刻文字列]]と似ていますが、
- [6] こちらは [CODE[[[24:00:00]]]] を認めていますが、 [[HTML]] では使えません。
- [7] こちらは[[時差]]の指定を認めていますが、 [[HTML]] では使えません。
[10] [CITE@en[XQuery and XPath Data Model 3.1]]
([TIME[2017-03-20 07:26:25 +09:00]])
<https://www.w3.org/TR/2017/REC-xpath-datamodel-31-20170321/#dates-and-times>