blob: cfc4759d11edc4bab8c04052dce2e9bec0bae5d1 (
plain)
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
|
<?xml version="1.0"?>
<page>
<!-- valid date/times -->
<date date1='2000' date2='1999'/>
<date date1='2000-01' date2='1999-12'/>
<date date1='1999-12' date2='2000-01'/>
<date date1='1999-12-31' date2='2000-01-01'/>
<date date1='1999' date2='2000-01'/>
<date date1='0002-01-05' date2='0001-01-04'/>
<date date1='0002-05-05' date2='0001-01'/>
<date date1='-0002-01-05' date2='0001-01-04'/>
<date date1='0002' date2='-0001'/>
<date date1='1970-01-01T05:04:03' date2='1970-01-01T04:03:02'/>
<date date1='2000-01-01T05:00:03' date2='2000-01-01T04:03:02'/>
<date date1='2000-01-01T05:00:03' date2='1980-01-01T04:03:02'/>
<!-- from bug #93444 -->
<date date2='1970-01-01T05:04:03' date1='1970-01-01T04:03:02'/>
<date date2='2000-01-01T05:00:03' date1='2000-01-01T04:03:02'/>
<date date2='2000-01-01T05:00:03' date1='1980-01-01T04:03:02'/>
<!-- from bug #92818 -->
<date date1='2002-05-02T23:59:59' date2='2002-05-03T00:00:01'/>
<date date2='2002-05-02T23:59:59' date1='2002-05-03T00:00:01'/>
<!-- result should be negative -->
<date date1='2000-01-02T05:00:03' date2='2000-01-01T04:03:02'/>
<!-- with timezone -->
<date date1='2016-04-28T17:59:30+02:00' date2='2016-04-28T17:59:30+04:00'/>
<date date1='2000-01-05T01:00:00+11:00' date2='2000-01-01T23:00:00-11:00'/>
<date date1='2000-01-01T23:00:00-11:00' date2='2000-01-05T01:00:00+11:00'/>
</page>
|