aboutsummaryrefslogtreecommitdiffstats
path: root/simplepie/test/date/SPtests/RFC2822/valid
diff options
context:
space:
mode:
authorMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
committerMike Macgirvin <mike@macgirvin.com>2010-07-05 03:34:42 -0700
commit9f7ae0e95f89b964a098eaacdfd89ff25e05c615 (patch)
tree0bfe8d04f4b11abdbea41fe9bf6e165eec8ebc4b /simplepie/test/date/SPtests/RFC2822/valid
parentf5826105bfc514599b2c5b6692bca14ca4bc5d78 (diff)
downloadvolse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.gz
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.tar.bz2
volse-hubzilla-9f7ae0e95f89b964a098eaacdfd89ff25e05c615.zip
Add simplepie
Diffstat (limited to 'simplepie/test/date/SPtests/RFC2822/valid')
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/1.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/10.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/11.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/12.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/13.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/14.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/15.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/16.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/17.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/18.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/19.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/2.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/20.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/21.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/22.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/23.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/24.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/25.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/26.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/27.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/28.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/29.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/3.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/30.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/31.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/32.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/33.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/34.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/35.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/36.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/37.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/38.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/39.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/4.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/40.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/41.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/42.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/43.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/44.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/5.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/6.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/7.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/8.php16
-rw-r--r--simplepie/test/date/SPtests/RFC2822/valid/9.php16
44 files changed, 704 insertions, 0 deletions
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/1.php b/simplepie/test/date/SPtests/RFC2822/valid/1.php
new file mode 100644
index 000000000..c8a65b628
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/1.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_1 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 GMT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/10.php b/simplepie/test/date/SPtests/RFC2822/valid/10.php
new file mode 100644
index 000000000..fbae6451d
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/10.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_10 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 06:15:30 MST';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/11.php b/simplepie/test/date/SPtests/RFC2822/valid/11.php
new file mode 100644
index 000000000..635fe2a98
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/11.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_11 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 07:15:30 MDT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/12.php b/simplepie/test/date/SPtests/RFC2822/valid/12.php
new file mode 100644
index 000000000..7afa82e59
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/12.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_12 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 05:15:30 PST';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/13.php b/simplepie/test/date/SPtests/RFC2822/valid/13.php
new file mode 100644
index 000000000..dfdaa3466
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/13.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_13 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 06:15:30 PDT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/14.php b/simplepie/test/date/SPtests/RFC2822/valid/14.php
new file mode 100644
index 000000000..f45b660af
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/14.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_14 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 A';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/15.php b/simplepie/test/date/SPtests/RFC2822/valid/15.php
new file mode 100644
index 000000000..ecf32ebc6
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/15.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_15 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 B';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/16.php b/simplepie/test/date/SPtests/RFC2822/valid/16.php
new file mode 100644
index 000000000..1defa0f56
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/16.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_16 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 C';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/17.php b/simplepie/test/date/SPtests/RFC2822/valid/17.php
new file mode 100644
index 000000000..c14bc9e6e
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/17.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_17 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 D';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/18.php b/simplepie/test/date/SPtests/RFC2822/valid/18.php
new file mode 100644
index 000000000..1ef501662
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/18.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_18 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 E';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/19.php b/simplepie/test/date/SPtests/RFC2822/valid/19.php
new file mode 100644
index 000000000..4cd090909
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/19.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_19 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 F';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/2.php b/simplepie/test/date/SPtests/RFC2822/valid/2.php
new file mode 100644
index 000000000..c9f76e202
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/2.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_2 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = '05 Nov 94 13:15:30 GMT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/20.php b/simplepie/test/date/SPtests/RFC2822/valid/20.php
new file mode 100644
index 000000000..b60f499dc
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/20.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_20 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 G';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/21.php b/simplepie/test/date/SPtests/RFC2822/valid/21.php
new file mode 100644
index 000000000..c689c547d
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/21.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_21 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 H';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/22.php b/simplepie/test/date/SPtests/RFC2822/valid/22.php
new file mode 100644
index 000000000..9dfb091b0
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/22.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_22 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 I';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/23.php b/simplepie/test/date/SPtests/RFC2822/valid/23.php
new file mode 100644
index 000000000..7fb0c81c3
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/23.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_23 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 K';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/24.php b/simplepie/test/date/SPtests/RFC2822/valid/24.php
new file mode 100644
index 000000000..a90fe568f
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/24.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_24 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 L';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/25.php b/simplepie/test/date/SPtests/RFC2822/valid/25.php
new file mode 100644
index 000000000..525440d45
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/25.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_25 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 M';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/26.php b/simplepie/test/date/SPtests/RFC2822/valid/26.php
new file mode 100644
index 000000000..95a6475f8
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/26.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_26 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 N';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/27.php b/simplepie/test/date/SPtests/RFC2822/valid/27.php
new file mode 100644
index 000000000..d13d39164
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/27.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_27 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 O';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/28.php b/simplepie/test/date/SPtests/RFC2822/valid/28.php
new file mode 100644
index 000000000..9ef9d6c92
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/28.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_28 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 P';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/29.php b/simplepie/test/date/SPtests/RFC2822/valid/29.php
new file mode 100644
index 000000000..8ef58be10
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/29.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_29 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 Q';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/3.php b/simplepie/test/date/SPtests/RFC2822/valid/3.php
new file mode 100644
index 000000000..fcb29201f
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/3.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_3 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 5 Nov 94 13:15:30 GMT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/30.php b/simplepie/test/date/SPtests/RFC2822/valid/30.php
new file mode 100644
index 000000000..d28f23cd0
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/30.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_30 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 R';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/31.php b/simplepie/test/date/SPtests/RFC2822/valid/31.php
new file mode 100644
index 000000000..af1f5adcc
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/31.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_31 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 S';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/32.php b/simplepie/test/date/SPtests/RFC2822/valid/32.php
new file mode 100644
index 000000000..da2067903
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/32.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_32 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 T';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/33.php b/simplepie/test/date/SPtests/RFC2822/valid/33.php
new file mode 100644
index 000000000..1c92362d4
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/33.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_33 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 U';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/34.php b/simplepie/test/date/SPtests/RFC2822/valid/34.php
new file mode 100644
index 000000000..cf3ecb343
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/34.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_34 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 V';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/35.php b/simplepie/test/date/SPtests/RFC2822/valid/35.php
new file mode 100644
index 000000000..900401323
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/35.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_35 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 W';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/36.php b/simplepie/test/date/SPtests/RFC2822/valid/36.php
new file mode 100644
index 000000000..2f9c015bc
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/36.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_36 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 X';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/37.php b/simplepie/test/date/SPtests/RFC2822/valid/37.php
new file mode 100644
index 000000000..a50940682
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/37.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_37 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 Y';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/38.php b/simplepie/test/date/SPtests/RFC2822/valid/38.php
new file mode 100644
index 000000000..fc8a1d80c
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/38.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_38 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 Z';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/39.php b/simplepie/test/date/SPtests/RFC2822/valid/39.php
new file mode 100644
index 000000000..975a348d8
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/39.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_39 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 +0000';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/4.php b/simplepie/test/date/SPtests/RFC2822/valid/4.php
new file mode 100644
index 000000000..c6767f83c
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/4.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_4 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15 GMT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041300;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/40.php b/simplepie/test/date/SPtests/RFC2822/valid/40.php
new file mode 100644
index 000000000..78e5be9fb
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/40.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_40 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 -0000';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/41.php b/simplepie/test/date/SPtests/RFC2822/valid/41.php
new file mode 100644
index 000000000..d5bdfe40b
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/41.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_41 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 14:15:30 +0100';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/42.php b/simplepie/test/date/SPtests/RFC2822/valid/42.php
new file mode 100644
index 000000000..eeae5e18e
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/42.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_42 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 12:15:30 -0100';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/43.php b/simplepie/test/date/SPtests/RFC2822/valid/43.php
new file mode 100644
index 000000000..f97a2f102
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/43.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_43 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri(day), 05 Nov(ember) 94 13:15:30 GMT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/44.php b/simplepie/test/date/SPtests/RFC2822/valid/44.php
new file mode 100644
index 000000000..d12b919b0
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/44.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_44 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri(day), 05 Nov(ember) 94 13:15:30 A';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/5.php b/simplepie/test/date/SPtests/RFC2822/valid/5.php
new file mode 100644
index 000000000..cbb13360c
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/5.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_5 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 13:15:30 UT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/6.php b/simplepie/test/date/SPtests/RFC2822/valid/6.php
new file mode 100644
index 000000000..d89efb0eb
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/6.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_6 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 08:15:30 EST';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/7.php b/simplepie/test/date/SPtests/RFC2822/valid/7.php
new file mode 100644
index 000000000..f6574c7c9
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/7.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_7 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 09:15:30 EDT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/8.php b/simplepie/test/date/SPtests/RFC2822/valid/8.php
new file mode 100644
index 000000000..2b6a1afa1
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/8.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_8 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 07:15:30 CST';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file
diff --git a/simplepie/test/date/SPtests/RFC2822/valid/9.php b/simplepie/test/date/SPtests/RFC2822/valid/9.php
new file mode 100644
index 000000000..bfb5d37c8
--- /dev/null
+++ b/simplepie/test/date/SPtests/RFC2822/valid/9.php
@@ -0,0 +1,16 @@
+<?php
+
+class SimplePie_Date_Test_RFC2822_9 extends SimplePie_Date_Test
+{
+ function data()
+ {
+ $this->data = 'Fri, 05 Nov 94 08:15:30 CDT';
+ }
+
+ function expected()
+ {
+ $this->expected = 784041330;
+ }
+}
+
+?> \ No newline at end of file