/[suikacvs]/test/sw/ids/0/48.txt
Suika

Contents of /test/sw/ids/0/48.txt

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (hide annotations) (download)
Sun Nov 9 13:29:41 2008 UTC (16 years, 7 months ago) by wakaba
Branch: MAIN
CVS Tags: HEAD
File MIME type: text/plain
converted from SuikaWiki3 <http://suika.fam.cx/gate/cvs/suikawiki/wikidata/page/50494353A4CEC6FCC9D5B7C1BCB0.txt>

1 wakaba 1.1 [1] [[PICS]] は [[ISO 8601]] に基づき[[日付形式]]を定義しています。
2     [[PICS 1.1]] 札で規定されているものと、 [[PICSRules 1.1]]
3     で規定されているものがあり、両者は区切り文字が一部異なります。
4     前者は ISO 8601 に適合せず、誤りとされ、
5     PICSRules では変更されたそうです
6     [WEAK[(PICS 1.1 札の方は互換性のため間違ったまま変更されていません)]]。
7    
8     [2] 仕様書:
9     - [PICSLabels] [CITE[REC-PICS-labels-961031]]
10     -- [CSECTION[Detailed Syntax]]
11     <http://www.w3.org/TR/REC-PICS-labels-961031#Detailed>
12     - [PICSRules] [CITE[PICSRules Specification]]
13     <http://www.w3.org/TR/REC-PICSRules-971229>
14    
15     [3]
16     古い PICS 1.1 札の方の構文 (ISO 8601 不適合):
17     - [CODE(ABNF)[[DFN[PICSRules-date]] := year "." month "." day 'T' hour ":" minute zone]]
18    
19     新しい PICSRules 1.1 の方の構文 (ISO 8601 適合):
20     - [CODE(ABNF)[[DFN[PICSRules-date]] := year "-" month "-" day 'T' hour ":" minute zone]]
21    
22     - [CODE(ABNF)[[DFN[year]] := 4DIGIT]]
23     - [CODE(ABNF)[[DFN[month]] := 2DIGIT]]
24     - [CODE(ABNF)[[DFN[day]] := 2DIGIT ;; 01〜31]]
25     - [CODE(ABNF)[[DFN[hour]] := 2DIGIT ;; 00〜23]]
26     - [CODE(ABNF)[[DFN[minute]] := 2DIGIT ;; 00〜59]]
27     - [CODE(ABNF)[[DFN[zone]] := ("+" / "-") 4DIGIT]]
28    
29     (PICS 1.1 札 [SRC[PICSLabels]] と PICSRules 1.1 [SRC[PICSRules]] の生成規則
30     [CODE(ABNF)[quoted-ISO-date]] のうち、引用符の中の部分を [[ABNF]]
31     で書き改めました。)
32    
33     [4] 例:
34     - (旧) [SAMP[1994.11.05T08:15-0500]] は米国[[東部標準時]]の1984年11月5日午前8時15分を表します。
35     [SRC[PICSLabels]]
36     - (新) [SAMP[1994-11-05T08:15-0500]] は米国[[東部標準時]]の1984年11月5日午前8時15分を表します。
37     [SRC[PICSRules]]
38    
39    

admin@suikawiki.org
ViewVC Help
Powered by ViewVC 1.1.24