Repository: any23 Updated Branches: refs/heads/master bf14ff4fc -> e18fe91fd
http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/json/rfc7265-example2-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/json/rfc7265-example2-expected.nquads b/test-resources/src/test/resources/calendar/json/rfc7265-example2-expected.nquads new file mode 100644 index 0000000..77f6c8c --- /dev/null +++ b/test-resources/src/test/resources/calendar/json/rfc7265-example2-expected.nquads @@ -0,0 +1,69 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu415j2x2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu415j2x2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//Example Corp.//Example Client//EN" <http://bob.example.com/> . +_:node1clu415j2x2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu415j2x3 <http://bob.example.com/> . +_:node1clu415j2x3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vtimezone> <http://bob.example.com/> . +_:node1clu415j2x3 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu415j2x3 <http://www.w3.org/2002/12/cal/icaltzd#lastModified> "2004-01-10T03:28:45Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu415j2x3 <http://www.w3.org/2002/12/cal/icaltzd#daylight> _:node1clu415j2x4 <http://bob.example.com/> . +_:node1clu415j2x4 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2000-04-04T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu415j2x4 <http://www.w3.org/2002/12/cal/icaltzd#rrule> _:node1clu415j2x5 <http://bob.example.com/> . +_:node1clu415j2x5 <http://www.w3.org/2002/12/cal/icaltzd#freq> "YEARLY" <http://bob.example.com/> . +_:node1clu415j2x5 <http://www.w3.org/2002/12/cal/icaltzd#byday> "1SU" <http://bob.example.com/> . +_:node1clu415j2x5 <http://www.w3.org/2002/12/cal/icaltzd#bymonth> "4"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu415j2x4 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EDT" <http://bob.example.com/> . +_:node1clu415j2x4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-05:00" <http://bob.example.com/> . +_:node1clu415j2x4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-04:00" <http://bob.example.com/> . +_:node1clu415j2x3 <http://www.w3.org/2002/12/cal/icaltzd#standard> _:node1clu415j2x6 <http://bob.example.com/> . +_:node1clu415j2x6 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2000-10-26T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu415j2x6 <http://www.w3.org/2002/12/cal/icaltzd#rrule> _:node1clu415j2x7 <http://bob.example.com/> . +_:node1clu415j2x7 <http://www.w3.org/2002/12/cal/icaltzd#freq> "YEARLY" <http://bob.example.com/> . +_:node1clu415j2x7 <http://www.w3.org/2002/12/cal/icaltzd#byday> "1SU" <http://bob.example.com/> . +_:node1clu415j2x7 <http://www.w3.org/2002/12/cal/icaltzd#bymonth> "10"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu415j2x6 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EST" <http://bob.example.com/> . +_:node1clu415j2x6 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-04:00" <http://bob.example.com/> . +_:node1clu415j2x6 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-05:00" <http://bob.example.com/> . +_:node1clu415j2x2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu415j2x8 <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "2006-02-06T00:11:21Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> _:node1clu415j2x9 <http://bob.example.com/> . +_:node1clu415j2x9 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu415j2x9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2006-01-02T12:00:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/2002/12/cal/icaltzd#duration> "PT1H"^^<http://www.w3.org/2001/XMLSchema#duration> <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/2002/12/cal/icaltzd#rrule> _:node1clu415j2x10 <http://bob.example.com/> . +_:node1clu415j2x10 <http://www.w3.org/2002/12/cal/icaltzd#freq> "DAILY" <http://bob.example.com/> . +_:node1clu415j2x10 <http://www.w3.org/2002/12/cal/icaltzd#count> "5"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/2002/12/cal/icaltzd#rdate> _:node1clu415j2x11 <http://bob.example.com/> . +_:node1clu415j2x11 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu415j2x11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2006-01-02T15:00:00-05:00/PT2H" <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/2002/12/cal/icaltzd#summary> "Event #2" <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/2002/12/cal/icaltzd#description> "We are having a meeting all this week at 12 pm for one hour, with an additional meeting on the first day 2 hours long.\nPlease bring your own lunch for the 12 pm meetings." <http://bob.example.com/> . +_:node1clu415j2x8 <http://www.w3.org/2002/12/cal/icaltzd#uid> "[email protected]" <http://bob.example.com/> . +_:node1clu415j2x2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu415j2x13 <http://bob.example.com/> . +_:node1clu415j2x13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu415j2x13 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "2006-02-06T00:11:21Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu415j2x13 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> _:node1clu415j2x14 <http://bob.example.com/> . +_:node1clu415j2x14 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu415j2x14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2006-01-02T14:00:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu415j2x13 <http://www.w3.org/2002/12/cal/icaltzd#duration> "PT1H"^^<http://www.w3.org/2001/XMLSchema#duration> <http://bob.example.com/> . +_:node1clu415j2x13 <http://www.w3.org/2002/12/cal/icaltzd#recurrenceId> _:node1clu415j2x15 <http://bob.example.com/> . +_:node1clu415j2x15 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu415j2x15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2006-01-04T12:00:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu415j2x13 <http://www.w3.org/2002/12/cal/icaltzd#summary> "Event #2" <http://bob.example.com/> . +_:node1clu415j2x13 <http://www.w3.org/2002/12/cal/icaltzd#uid> "[email protected]" <http://bob.example.com/> . http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/json/rfc7265-example2.json ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/json/rfc7265-example2.json b/test-resources/src/test/resources/calendar/json/rfc7265-example2.json new file mode 100755 index 0000000..1deb906 --- /dev/null +++ b/test-resources/src/test/resources/calendar/json/rfc7265-example2.json @@ -0,0 +1,96 @@ +["vcalendar", + [ + ["version", {}, "text", "2.0"], + ["prodid", {}, "text", "-//Example Corp.//Example Client//EN"] + ], + [ + ["vtimezone", + [ + ["tzid", {}, "text", "US/Eastern"], + ["last-modified", {}, "date-time", "2004-01-10T03:28:45Z"] + ], + [ + ["daylight", + [ + ["dtstart", {}, "date-time", "2000-04-04T02:00:00"], + ["rrule", + {}, + "recur", + { + "freq": "YEARLY", + "byday": "1SU", + "bymonth": 4 + } + ], + ["tzname", {}, "text", "EDT"], + ["tzoffsetfrom", {}, "utc-offset", "-05:00"], + ["tzoffsetto", {}, "utc-offset", "-04:00"] + ], + [] + ], + ["standard", + [ + ["dtstart", {}, "date-time", "2000-10-26T02:00:00"], + ["rrule", + {}, + "recur", + { + "freq": "YEARLY", + "byday": "1SU", + "bymonth": 10 + } + ], + ["tzname", {}, "text", "EST"], + ["tzoffsetfrom", {}, "utc-offset", "-04:00"], + ["tzoffsetto", {}, "utc-offset", "-05:00"] + ], + [] + ] + ] + ], + ["vevent", + [ + ["dtstamp", {}, "date-time", "2006-02-06T00:11:21Z"], + ["dtstart", + { "tzid": "US/Eastern" }, + "date-time", + "2006-01-02T12:00:00" + ], + ["duration", {}, "duration", "PT1H"], + ["rrule", {}, "recur", {"freq": "DAILY", "count": 5 }], + ["rdate", + { "tzid": "US/Eastern" }, + "period", + "2006-01-02T15:00:00/PT2H" + ], + ["summary", {}, "text", "Event #2"], + ["description", + {}, + "text", + "We are having a meeting all this week at 12 pm for one hour, with an additional meeting on the first day 2 hours long.\nPlease bring your own lunch for the 12 pm meetings." + ], + ["uid", {}, "text", "[email protected]"] + ], + [] + ], + ["vevent", + [ + ["dtstamp", {}, "date-time", "2006-02-06T00:11:21Z"], + ["dtstart", + { "tzid": "US/Eastern" }, + "date-time", + "2006-01-02T14:00:00" + ], + ["duration", {}, "duration", "PT1H"], + ["recurrence-id", + { "tzid": "US/Eastern" }, + "date-time", + "2006-01-04T12:00:00" + ], + ["summary", {}, "text", "Event #2"], + ["uid", {}, "text", "[email protected]"] + ], + [] + ] + ] +] http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/example2-bad-timezone-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/example2-bad-timezone-expected.nquads b/test-resources/src/test/resources/calendar/text/example2-bad-timezone-expected.nquads new file mode 100644 index 0000000..fc024d8 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/example2-bad-timezone-expected.nquads @@ -0,0 +1,56 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu1u3ipx2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//RDU Software//NONSGML HandCal//EN" <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu1u3ipx3 <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vtimezone> <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "America/New_York" <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#standard> _:node1clu1u3ipx4 <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1998-10-25T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-04:00" <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-05:00" <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EST" <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#daylight> _:node1clu1u3ipx5 <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1999-04-04T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-05:00" <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-04:00" <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EDT" <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu1u3ipx6 <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "1998-03-09T23:10:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#uid> "guid-1.example.com" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#organizer> _:node1clu1u3ipx1 <http://bob.example.com/> . +_:node1clu1u3ipx1 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#attendee> _:node1clu1u3ipx7 <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#cutype> "GROUP" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#rsvp> "TRUE" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#role> "REQ-PARTICIPANT" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#description> "Project XYZ Review Meeting" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#categories> "MEETING" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#class> "PUBLIC" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#created> "1998-03-09T13:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#summary> "XYZ Project Review" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> _:node1clu1u3ipx8 <http://bob.example.com/> . +_:node1clu1u3ipx8 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "America/New_Yor" <http://bob.example.com/> . +_:node1clu1u3ipx8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "1998-03-12T08:30:00" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtend> _:node1clu1u3ipx9 <http://bob.example.com/> . +_:node1clu1u3ipx9 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "America/New_Yor" <http://bob.example.com/> . +_:node1clu1u3ipx9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "1998-03-12T09:30:00" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#location> "1CP Conference Room 4350" <http://bob.example.com/> . + http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/example2-bad-timezone.ics ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/example2-bad-timezone.ics b/test-resources/src/test/resources/calendar/text/example2-bad-timezone.ics new file mode 100755 index 0000000..2e1e62a --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/example2-bad-timezone.ics @@ -0,0 +1,34 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//RDU Software//NONSGML HandCal//EN +BEGIN:VTIMEZONE +TZID:America/New_York +BEGIN:STANDARD +DTSTART:19981025T020000 +TZOFFSETFROM:-0400 +TZOFFSETTO:-0500 +TZNAME:EST +END:STANDARD +BEGIN:DAYLIGHT +DTSTART:19990404T020000 +TZOFFSETFROM:-0500 +TZOFFSETTO:-0400 +TZNAME:EDT +END:DAYLIGHT +END:VTIMEZONE +BEGIN:VEVENT +DTSTAMP:19980309T231000Z +UID:guid-1.example.com +ORGANIZER:mailto:[email protected] +ATTENDEE;CUTYPE=GROUP;RSVP=TRUE;ROLE=REQ-PARTICIPANT: + mailto:[email protected] +DESCRIPTION:Project XYZ Review Meeting +CATEGORIES:MEETING +CLASS:PUBLIC +CREATED:19980309T130000Z +SUMMARY:XYZ Project Review +DTSTART;TZID=America/New_Yor:19980312T083000 +DTEND;TZID=America/New_Yor:19980312T093000 +LOCATION:1CP Conference Room 4350 +END:VEVENT +END:VCALENDAR http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/example2-external-timezone-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/example2-external-timezone-expected.nquads b/test-resources/src/test/resources/calendar/text/example2-external-timezone-expected.nquads new file mode 100644 index 0000000..9002cdb --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/example2-external-timezone-expected.nquads @@ -0,0 +1,56 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu1u3ipx2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//RDU Software//NONSGML HandCal//EN" <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu1u3ipx3 <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vtimezone> <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "America/New_York" <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#standard> _:node1clu1u3ipx4 <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1998-10-25T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-02:00" <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-03:00" <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EST" <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#daylight> _:node1clu1u3ipx5 <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1999-04-04T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-03:00" <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-02:00" <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EDT" <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu1u3ipx6 <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "1998-03-09T23:10:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#uid> "guid-1.example.com" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#organizer> _:node1clu1u3ipx1 <http://bob.example.com/> . +_:node1clu1u3ipx1 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#attendee> _:node1clu1u3ipx7 <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#cutype> "GROUP" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#rsvp> "TRUE" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#role> "REQ-PARTICIPANT" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#description> "Project XYZ Review Meeting" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#categories> "MEETING" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#class> "PUBLIC" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#created> "1998-03-09T13:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#summary> "XYZ Project Review" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> _:node1clu1u3ipx8 <http://bob.example.com/> . +_:node1clu1u3ipx8 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "/softwarestudio.org/Olson_20011030_5/America/New_York" <http://bob.example.com/> . +_:node1clu1u3ipx8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "1998-03-12T08:30:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtend> _:node1clu1u3ipx9 <http://bob.example.com/> . +_:node1clu1u3ipx9 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "/America/New_York" <http://bob.example.com/> . +_:node1clu1u3ipx9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "1998-03-12T09:30:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#location> "1CP Conference Room 4350" <http://bob.example.com/> . + http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/example2-external-timezone.ics ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/example2-external-timezone.ics b/test-resources/src/test/resources/calendar/text/example2-external-timezone.ics new file mode 100755 index 0000000..73e97c7 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/example2-external-timezone.ics @@ -0,0 +1,34 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//RDU Software//NONSGML HandCal//EN +BEGIN:VTIMEZONE +TZID:America/New_York +BEGIN:STANDARD +DTSTART:19981025T020000 +TZOFFSETFROM:-0200 +TZOFFSETTO:-0300 +TZNAME:EST +END:STANDARD +BEGIN:DAYLIGHT +DTSTART:19990404T020000 +TZOFFSETFROM:-0300 +TZOFFSETTO:-0200 +TZNAME:EDT +END:DAYLIGHT +END:VTIMEZONE +BEGIN:VEVENT +DTSTAMP:19980309T231000Z +UID:guid-1.example.com +ORGANIZER:mailto:[email protected] +ATTENDEE;CUTYPE=GROUP;RSVP=TRUE;ROLE=REQ-PARTICIPANT: + mailto:[email protected] +DESCRIPTION:Project XYZ Review Meeting +CATEGORIES:MEETING +CLASS:PUBLIC +CREATED:19980309T130000Z +SUMMARY:XYZ Project Review +DTSTART;TZID=/softwarestudio.org/Olson_20011030_5/America/New_York:19980312T083000 +DTEND;TZID=/America/New_York:19980312T093000 +LOCATION:1CP Conference Room 4350 +END:VEVENT +END:VCALENDAR http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example1-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example1-expected.nquads b/test-resources/src/test/resources/calendar/text/rfc5545-example1-expected.nquads new file mode 100644 index 0000000..2070a2e --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example1-expected.nquads @@ -0,0 +1,31 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu1knnlx2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu1knnlx2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//xyz Corp//NONSGML PDA Calendar Version 1.0//EN" <http://bob.example.com/> . +_:node1clu1knnlx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu1knnlx3 <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "1996-07-04T12:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#uid> "[email protected]" <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#organizer> _:node1clu1knnlx4 <http://bob.example.com/> . +_:node1clu1knnlx4 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1996-09-18T14:30:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#dtend> "1996-09-20T22:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#status> "CONFIRMED" <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#categories> "CONFERENCE" <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#summary> "Networld+Interop Conference" <http://bob.example.com/> . +_:node1clu1knnlx3 <http://www.w3.org/2002/12/cal/icaltzd#description> "Networld+Interop Conferenceand Exhibit\nAtlanta World Congress Center\nAtlanta, Georgia" <http://bob.example.com/> . http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example1.ics ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example1.ics b/test-resources/src/test/resources/calendar/text/rfc5545-example1.ics new file mode 100755 index 0000000..34ba23e --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example1.ics @@ -0,0 +1,17 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//xyz Corp//NONSGML PDA Calendar Version 1.0//EN +BEGIN:VEVENT +DTSTAMP:19960704T120000Z +UID:[email protected] +ORGANIZER:mailto:[email protected] +DTSTART:19960918T143000Z +DTEND:19960920T220000Z +STATUS:CONFIRMED +CATEGORIES:CONFERENCE +SUMMARY:Networld+Interop Conference +DESCRIPTION:Networld+Interop Conference + and Exhibit\nAtlanta World Congress Center\n + Atlanta\, Georgia +END:VEVENT +END:VCALENDAR http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example2-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example2-expected.nquads b/test-resources/src/test/resources/calendar/text/rfc5545-example2-expected.nquads new file mode 100644 index 0000000..fce9cd9 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example2-expected.nquads @@ -0,0 +1,56 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu1u3ipx2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//RDU Software//NONSGML HandCal//EN" <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu1u3ipx3 <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vtimezone> <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "America/New_York" <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#standard> _:node1clu1u3ipx4 <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1998-10-25T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-04:00" <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-05:00" <http://bob.example.com/> . +_:node1clu1u3ipx4 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EST" <http://bob.example.com/> . +_:node1clu1u3ipx3 <http://www.w3.org/2002/12/cal/icaltzd#daylight> _:node1clu1u3ipx5 <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1999-04-04T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-05:00" <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-04:00" <http://bob.example.com/> . +_:node1clu1u3ipx5 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EDT" <http://bob.example.com/> . +_:node1clu1u3ipx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu1u3ipx6 <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "1998-03-09T23:10:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#uid> "guid-1.example.com" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#organizer> _:node1clu1u3ipx1 <http://bob.example.com/> . +_:node1clu1u3ipx1 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#attendee> _:node1clu1u3ipx7 <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#cutype> "GROUP" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#rsvp> "TRUE" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#role> "REQ-PARTICIPANT" <http://bob.example.com/> . +_:node1clu1u3ipx7 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#description> "Project XYZ Review Meeting" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#categories> "MEETING" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#class> "PUBLIC" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#created> "1998-03-09T13:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#summary> "XYZ Project Review" <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> _:node1clu1u3ipx8 <http://bob.example.com/> . +_:node1clu1u3ipx8 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "America/New_York" <http://bob.example.com/> . +_:node1clu1u3ipx8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "1998-03-12T08:30:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#dtend> _:node1clu1u3ipx9 <http://bob.example.com/> . +_:node1clu1u3ipx9 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "America/New_York" <http://bob.example.com/> . +_:node1clu1u3ipx9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "1998-03-12T09:30:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu1u3ipx6 <http://www.w3.org/2002/12/cal/icaltzd#location> "1CP Conference Room 4350" <http://bob.example.com/> . + http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example2.ics ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example2.ics b/test-resources/src/test/resources/calendar/text/rfc5545-example2.ics new file mode 100755 index 0000000..0bb0c27 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example2.ics @@ -0,0 +1,34 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//RDU Software//NONSGML HandCal//EN +BEGIN:VTIMEZONE +TZID:America/New_York +BEGIN:STANDARD +DTSTART:19981025T020000 +TZOFFSETFROM:-0400 +TZOFFSETTO:-0500 +TZNAME:EST +END:STANDARD +BEGIN:DAYLIGHT +DTSTART:19990404T020000 +TZOFFSETFROM:-0500 +TZOFFSETTO:-0400 +TZNAME:EDT +END:DAYLIGHT +END:VTIMEZONE +BEGIN:VEVENT +DTSTAMP:19980309T231000Z +UID:guid-1.example.com +ORGANIZER:mailto:[email protected] +ATTENDEE;CUTYPE=GROUP;RSVP=TRUE;ROLE=REQ-PARTICIPANT: + mailto:[email protected] +DESCRIPTION:Project XYZ Review Meeting +CATEGORIES:MEETING +CLASS:PUBLIC +CREATED:19980309T130000Z +SUMMARY:XYZ Project Review +DTSTART;TZID=America/New_York:19980312T083000 +DTEND;TZID=America/New_York:19980312T093000 +LOCATION:1CP Conference Room 4350 +END:VEVENT +END:VCALENDAR http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example3-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example3-expected.nquads b/test-resources/src/test/resources/calendar/text/rfc5545-example3-expected.nquads new file mode 100644 index 0000000..1f0b164 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example3-expected.nquads @@ -0,0 +1,41 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu24refx2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu24refx2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//ABC Corporation//NONSGML My Product//EN" <http://bob.example.com/> . +_:node1clu24refx2 <http://www.w3.org/2002/12/cal/icaltzd#method> "xyz" <http://bob.example.com/> . +_:node1clu24refx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu24refx3 <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "1997-03-24T12:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#sequence> "0"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#uid> "[email protected]" <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#organizer> _:node1clu24refx6 <http://bob.example.com/> . +_:node1clu24refx6 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#attendee> _:node1clu24refx4 <http://bob.example.com/> . +_:node1clu24refx4 <http://www.w3.org/2002/12/cal/icaltzd#rsvp> "TRUE" <http://bob.example.com/> . +_:node1clu24refx4 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1997-03-24T12:30:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#dtend> "1997-03-24T21:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#categories> "MEETING" <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#categories> "PROJECT" <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#class> "PUBLIC" <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#summary> "Calendaring Interoperability Planning Meeting" <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#description> "Discuss how we can test c&s interoperability\nusing iCalendar and other IETF standards." <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#location> "LDB Lobby" <http://bob.example.com/> . +_:node1clu24refx3 <http://www.w3.org/2002/12/cal/icaltzd#attach> _:node1clu24refx5 <http://bob.example.com/> . +_:node1clu24refx5 <http://www.w3.org/2002/12/cal/icaltzd#fmttype> "application/postscript" <http://bob.example.com/> . +_:node1clu24refx5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <ftp://example.com/pub/conf/bkgrnd.ps> <http://bob.example.com/> . http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example3.ics ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example3.ics b/test-resources/src/test/resources/calendar/text/rfc5545-example3.ics new file mode 100755 index 0000000..da83a1b --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example3.ics @@ -0,0 +1,22 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//ABC Corporation//NONSGML My Product//EN +METHOD:xyz +BEGIN:VEVENT +DTSTAMP:19970324T120000Z +SEQUENCE:0 +UID:[email protected] +ORGANIZER:mailto:[email protected] +ATTENDEE;RSVP=TRUE:mailto:[email protected] +DTSTART:19970324T123000Z +DTEND:19970324T210000Z +CATEGORIES:MEETING,PROJECT +CLASS:PUBLIC +SUMMARY:Calendaring Interoperability Planning Meeting +DESCRIPTION:Discuss how we can test c&s interoperability\n + using iCalendar and other IETF standards. +LOCATION:LDB Lobby +ATTACH;FMTTYPE=application/postscript:ftp://example.com/pub/ + conf/bkgrnd.ps +END:VEVENT +END:VCALENDAR http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example4-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example4-expected.nquads b/test-resources/src/test/resources/calendar/text/rfc5545-example4-expected.nquads new file mode 100644 index 0000000..3fe4510 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example4-expected.nquads @@ -0,0 +1,41 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu27ji5x2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu27ji5x2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//ABC Corporation//NONSGML My Product//EN" <http://bob.example.com/> . +_:node1clu27ji5x2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu27ji5x3 <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vtodo> <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "1998-01-30T13:45:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#sequence> "2"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#uid> "[email protected]" <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#organizer> _:node1clu27ji5x7 <http://bob.example.com/> . +_:node1clu27ji5x7 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#attendee> _:node1clu27ji5x4 <http://bob.example.com/> . +_:node1clu27ji5x4 <http://www.w3.org/2002/12/cal/icaltzd#partstat> "ACCEPTED" <http://bob.example.com/> . +_:node1clu27ji5x4 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#due> "1998-04-15T00:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#status> "NEEDS-ACTION" <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#summary> "Submit Income Taxes" <http://bob.example.com/> . +_:node1clu27ji5x3 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu27ji5x5 <http://bob.example.com/> . +_:node1clu27ji5x5 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Valarm> <http://bob.example.com/> . +_:node1clu27ji5x5 <http://www.w3.org/2002/12/cal/icaltzd#action> "AUDIO" <http://bob.example.com/> . +_:node1clu27ji5x5 <http://www.w3.org/2002/12/cal/icaltzd#trigger> "1998-04-03T12:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu27ji5x5 <http://www.w3.org/2002/12/cal/icaltzd#attach> _:node1clu27ji5x6 <http://bob.example.com/> . +_:node1clu27ji5x6 <http://www.w3.org/2002/12/cal/icaltzd#fmttype> "audio/basic" <http://bob.example.com/> . +_:node1clu27ji5x6 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> <http://example.com/pub/audio-files/ssbanner.aud> <http://bob.example.com/> . +_:node1clu27ji5x5 <http://www.w3.org/2002/12/cal/icaltzd#repeat> "4"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu27ji5x5 <http://www.w3.org/2002/12/cal/icaltzd#duration> "PT1H"^^<http://www.w3.org/2001/XMLSchema#duration> <http://bob.example.com/> . http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example4.ics ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example4.ics b/test-resources/src/test/resources/calendar/text/rfc5545-example4.ics new file mode 100755 index 0000000..18d53df --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example4.ics @@ -0,0 +1,22 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//ABC Corporation//NONSGML My Product//EN +BEGIN:VTODO +DTSTAMP:19980130T134500Z +SEQUENCE:2 +UID:[email protected] +ORGANIZER:mailto:[email protected] +ATTENDEE;PARTSTAT=ACCEPTED:mailto:[email protected] +DUE:19980415T000000 +STATUS:NEEDS-ACTION +SUMMARY:Submit Income Taxes +BEGIN:VALARM +ACTION:AUDIO +TRIGGER;VALUE=DATE-TIME:19980403T120000Z +ATTACH;FMTTYPE=audio/basic:http://example.com/pub/audio- + files/ssbanner.aud +REPEAT:4 +DURATION:PT1H +END:VALARM +END:VTODO +END:VCALENDAR http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example5-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example5-expected.nquads b/test-resources/src/test/resources/calendar/text/rfc5545-example5-expected.nquads new file mode 100644 index 0000000..156585f --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example5-expected.nquads @@ -0,0 +1,31 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu28m86x2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu28m86x2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//ABC Corporation//NONSGML My Product//EN" <http://bob.example.com/> . +_:node1clu28m86x2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu28m86x3 <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vjournal> <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "1997-03-24T12:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#uid> "[email protected]" <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#organizer> _:node1clu28m86x4 <http://bob.example.com/> . +_:node1clu28m86x4 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#status> "DRAFT" <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#class> "PUBLIC" <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#categories> "Project Report" <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#categories> "XYZ" <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#categories> "Weekly Meeting" <http://bob.example.com/> . +_:node1clu28m86x3 <http://www.w3.org/2002/12/cal/icaltzd#description> "Project xyz Review Meeting Minutes\nAgenda\n1. Review of project version 1.0 requirements.\n2.Definitionof project processes.\n3. Review of project schedule.\nParticipants: John Smith, Jane Doe, Jim Dandy\n-It wasdecided that the requirements need to be signed off byproduct marketing.\n-Project processes were accepted.\n-Project schedule needs to account for scheduled holidaysand employee vacation time. Check with HR for specificdates.\n-New schedule will be distributed by Friday.\n-Next weeks meeting is cancelled. No meeting until 3/23." <http://bob.example.com/> . http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example5.ics ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example5.ics b/test-resources/src/test/resources/calendar/text/rfc5545-example5.ics new file mode 100755 index 0000000..2dfa4a6 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example5.ics @@ -0,0 +1,23 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//ABC Corporation//NONSGML My Product//EN +BEGIN:VJOURNAL +DTSTAMP:19970324T120000Z +UID:[email protected] +ORGANIZER:mailto:[email protected] +STATUS:DRAFT +CLASS:PUBLIC +CATEGORIES:Project Report,XYZ,Weekly Meeting +DESCRIPTION:Project xyz Review Meeting Minutes\n + Agenda\n1. Review of project version 1.0 requirements.\n2. + Definition + of project processes.\n3. Review of project schedule.\n + Participants: John Smith\, Jane Doe\, Jim Dandy\n-It was + decided that the requirements need to be signed off by + product marketing.\n-Project processes were accepted.\n + -Project schedule needs to account for scheduled holidays + and employee vacation time. Check with HR for specific + dates.\n-New schedule will be distributed by Friday.\n- + Next weeks meeting is cancelled. No meeting until 3/23. +END:VJOURNAL +END:VCALENDAR http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example6-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example6-expected.nquads b/test-resources/src/test/resources/calendar/text/rfc5545-example6-expected.nquads new file mode 100644 index 0000000..c3eebd7 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example6-expected.nquads @@ -0,0 +1,29 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu29scrx2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu29scrx2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//RDU Software//NONSGML HandCal//EN" <http://bob.example.com/> . +_:node1clu29scrx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu29scrx3 <http://bob.example.com/> . +_:node1clu29scrx3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vfreebusy> <http://bob.example.com/> . +_:node1clu29scrx3 <http://www.w3.org/2002/12/cal/icaltzd#organizer> _:node1clu29scrx7 <http://bob.example.com/> . +_:node1clu29scrx7 <http://www.w3.org/2002/12/cal/icaltzd#calAddress> <mailto:[email protected]> <http://bob.example.com/> . +_:node1clu29scrx3 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "1998-03-13T14:17:11Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu29scrx3 <http://www.w3.org/2002/12/cal/icaltzd#dtend> "1998-04-10T14:17:11Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu29scrx3 <http://www.w3.org/2002/12/cal/icaltzd#freebusy> "1998-03-14T23:30:00Z/1998-03-15T00:30:00Z" <http://bob.example.com/> . +_:node1clu29scrx3 <http://www.w3.org/2002/12/cal/icaltzd#freebusy> "1998-03-16T15:30:00Z/1998-03-16T16:30:00Z" <http://bob.example.com/> . +_:node1clu29scrx3 <http://www.w3.org/2002/12/cal/icaltzd#freebusy> "1998-03-18T03:00:00Z/1998-03-18T04:00:00Z" <http://bob.example.com/> . +_:node1clu29scrx3 <http://www.w3.org/2002/12/cal/icaltzd#url> <http://www.example.com/calendar/busytime/jsmith.ifb> <http://bob.example.com/> . http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/text/rfc5545-example6.ics ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/text/rfc5545-example6.ics b/test-resources/src/test/resources/calendar/text/rfc5545-example6.ics new file mode 100755 index 0000000..2623678 --- /dev/null +++ b/test-resources/src/test/resources/calendar/text/rfc5545-example6.ics @@ -0,0 +1,13 @@ +BEGIN:VCALENDAR +VERSION:2.0 +PRODID:-//RDU Software//NONSGML HandCal//EN +BEGIN:VFREEBUSY +ORGANIZER:mailto:[email protected] +DTSTART:19980313T141711Z +DTEND:19980410T141711Z +FREEBUSY:19980314T233000Z/19980315T003000Z +FREEBUSY:19980316T153000Z/19980316T163000Z +FREEBUSY:19980318T030000Z/19980318T040000Z +URL:http://www.example.com/calendar/busytime/jsmith.ifb +END:VFREEBUSY +END:VCALENDAR http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/xml/rfc6321-example1-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/xml/rfc6321-example1-expected.nquads b/test-resources/src/test/resources/calendar/xml/rfc6321-example1-expected.nquads new file mode 100644 index 0000000..779b6de --- /dev/null +++ b/test-resources/src/test/resources/calendar/xml/rfc6321-example1-expected.nquads @@ -0,0 +1,26 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu4bdubx2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu4bdubx2 <http://www.w3.org/2002/12/cal/icaltzd#calscale> "GREGORIAN" <http://bob.example.com/> . +_:node1clu4bdubx2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//Example Inc.//Example Calendar//EN" <http://bob.example.com/> . +_:node1clu4bdubx2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu4bdubx3 <http://bob.example.com/> . +_:node1clu4bdubx3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu4bdubx3 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "2008-02-05T19:12:24Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu4bdubx3 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2008-10-06"^^<http://www.w3.org/2001/XMLSchema#date> <http://bob.example.com/> . +_:node1clu4bdubx3 <http://www.w3.org/2002/12/cal/icaltzd#summary> "Planning meeting" <http://bob.example.com/> . +_:node1clu4bdubx3 <http://www.w3.org/2002/12/cal/icaltzd#uid> "4088E990AD89CB3DBB484909" <http://bob.example.com/> . http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/xml/rfc6321-example1.xml ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/xml/rfc6321-example1.xml b/test-resources/src/test/resources/calendar/xml/rfc6321-example1.xml new file mode 100755 index 0000000..2c1f069 --- /dev/null +++ b/test-resources/src/test/resources/calendar/xml/rfc6321-example1.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0"> + <vcalendar> + <properties> + <calscale> + <text>GREGORIAN</text> + </calscale> + <prodid> + <text>-//Example Inc.//Example Calendar//EN</text> + </prodid> + <version> + <text>2.0</text> + </version> + </properties> + <components> + <vevent> + <properties> + <dtstamp> + <date-time>2008-02-05T19:12:24Z</date-time> + </dtstamp> + <dtstart> + <date>2008-10-06</date> + </dtstart> + <summary> + <text>Planning meeting</text> + </summary> + <uid> + <text>4088E990AD89CB3DBB484909</text> + </uid> + </properties> + </vevent> + </components> + </vcalendar> +</icalendar> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/xml/rfc6321-example2-expected.nquads ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/xml/rfc6321-example2-expected.nquads b/test-resources/src/test/resources/calendar/xml/rfc6321-example2-expected.nquads new file mode 100644 index 0000000..1cde7e5 --- /dev/null +++ b/test-resources/src/test/resources/calendar/xml/rfc6321-example2-expected.nquads @@ -0,0 +1,69 @@ +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +_:node1clu4e12ox2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vcalendar> <http://bob.example.com/> . +_:node1clu4e12ox2 <http://www.w3.org/2002/12/cal/icaltzd#prodid> "-//Example Inc.//Example Client//EN" <http://bob.example.com/> . +_:node1clu4e12ox2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu4e12ox3 <http://bob.example.com/> . +_:node1clu4e12ox3 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vtimezone> <http://bob.example.com/> . +_:node1clu4e12ox3 <http://www.w3.org/2002/12/cal/icaltzd#lastModified> "2004-01-10T03:28:45Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu4e12ox3 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu4e12ox3 <http://www.w3.org/2002/12/cal/icaltzd#daylight> _:node1clu4e12ox4 <http://bob.example.com/> . +_:node1clu4e12ox4 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2000-04-04T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu4e12ox4 <http://www.w3.org/2002/12/cal/icaltzd#rrule> _:node1clu4e12ox5 <http://bob.example.com/> . +_:node1clu4e12ox5 <http://www.w3.org/2002/12/cal/icaltzd#freq> "YEARLY" <http://bob.example.com/> . +_:node1clu4e12ox5 <http://www.w3.org/2002/12/cal/icaltzd#byday> "1SU" <http://bob.example.com/> . +_:node1clu4e12ox5 <http://www.w3.org/2002/12/cal/icaltzd#bymonth> "4"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu4e12ox4 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EDT" <http://bob.example.com/> . +_:node1clu4e12ox4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-05:00" <http://bob.example.com/> . +_:node1clu4e12ox4 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-04:00" <http://bob.example.com/> . +_:node1clu4e12ox3 <http://www.w3.org/2002/12/cal/icaltzd#standard> _:node1clu4e12ox6 <http://bob.example.com/> . +_:node1clu4e12ox6 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> "2000-10-26T02:00:00"^^<http://www.w3.org/2002/12/cal/icaltzd#dateTime> <http://bob.example.com/> . +_:node1clu4e12ox6 <http://www.w3.org/2002/12/cal/icaltzd#rrule> _:node1clu4e12ox7 <http://bob.example.com/> . +_:node1clu4e12ox7 <http://www.w3.org/2002/12/cal/icaltzd#freq> "YEARLY" <http://bob.example.com/> . +_:node1clu4e12ox7 <http://www.w3.org/2002/12/cal/icaltzd#byday> "-1SU" <http://bob.example.com/> . +_:node1clu4e12ox7 <http://www.w3.org/2002/12/cal/icaltzd#bymonth> "10"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu4e12ox6 <http://www.w3.org/2002/12/cal/icaltzd#tzname> "EST" <http://bob.example.com/> . +_:node1clu4e12ox6 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetfrom> "-04:00" <http://bob.example.com/> . +_:node1clu4e12ox6 <http://www.w3.org/2002/12/cal/icaltzd#tzoffsetto> "-05:00" <http://bob.example.com/> . +_:node1clu4e12ox2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu4e12ox8 <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "2006-02-06T00:11:21Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> _:node1clu4e12ox9 <http://bob.example.com/> . +_:node1clu4e12ox9 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu4e12ox9 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2006-01-02T12:00:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/2002/12/cal/icaltzd#duration> "PT1H"^^<http://www.w3.org/2001/XMLSchema#duration> <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/2002/12/cal/icaltzd#rrule> _:node1clu4e12ox10 <http://bob.example.com/> . +_:node1clu4e12ox10 <http://www.w3.org/2002/12/cal/icaltzd#freq> "DAILY" <http://bob.example.com/> . +_:node1clu4e12ox10 <http://www.w3.org/2002/12/cal/icaltzd#count> "5"^^<http://www.w3.org/2001/XMLSchema#int> <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/2002/12/cal/icaltzd#rdate> _:node1clu4e12ox11 <http://bob.example.com/> . +_:node1clu4e12ox11 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu4e12ox11 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2006-01-02T15:00:00-05:00/PT2H" <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/2002/12/cal/icaltzd#summary> "Event #2" <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/2002/12/cal/icaltzd#description> "We are having a meeting all this week at 12pm for one hour, with an additional meeting on the first day 2 hours long.\nPlease bring your own lunch for the 12 pm meetings." <http://bob.example.com/> . +_:node1clu4e12ox8 <http://www.w3.org/2002/12/cal/icaltzd#uid> "[email protected]" <http://bob.example.com/> . +_:node1clu4e12ox2 <http://www.w3.org/2002/12/cal/icaltzd#component> _:node1clu4e12ox13 <http://bob.example.com/> . +_:node1clu4e12ox13 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://www.w3.org/2002/12/cal/icaltzd#Vevent> <http://bob.example.com/> . +_:node1clu4e12ox13 <http://www.w3.org/2002/12/cal/icaltzd#dtstamp> "2006-02-06T00:11:21Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu4e12ox13 <http://www.w3.org/2002/12/cal/icaltzd#dtstart> _:node1clu4e12ox14 <http://bob.example.com/> . +_:node1clu4e12ox14 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu4e12ox14 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2006-01-04T14:00:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu4e12ox13 <http://www.w3.org/2002/12/cal/icaltzd#duration> "PT1H"^^<http://www.w3.org/2001/XMLSchema#duration> <http://bob.example.com/> . +_:node1clu4e12ox13 <http://www.w3.org/2002/12/cal/icaltzd#recurrenceId> _:node1clu4e12ox15 <http://bob.example.com/> . +_:node1clu4e12ox15 <http://www.w3.org/2002/12/cal/icaltzd#tzid> "US/Eastern" <http://bob.example.com/> . +_:node1clu4e12ox15 <http://www.w3.org/1999/02/22-rdf-syntax-ns#value> "2006-01-04T12:00:00-05:00"^^<http://www.w3.org/2001/XMLSchema#dateTime> <http://bob.example.com/> . +_:node1clu4e12ox13 <http://www.w3.org/2002/12/cal/icaltzd#summary> "Event #2 bis" <http://bob.example.com/> . +_:node1clu4e12ox13 <http://www.w3.org/2002/12/cal/icaltzd#uid> "[email protected]" <http://bob.example.com/> . http://git-wip-us.apache.org/repos/asf/any23/blob/1a58c248/test-resources/src/test/resources/calendar/xml/rfc6321-example2.xml ---------------------------------------------------------------------- diff --git a/test-resources/src/test/resources/calendar/xml/rfc6321-example2.xml b/test-resources/src/test/resources/calendar/xml/rfc6321-example2.xml new file mode 100755 index 0000000..adcc49e --- /dev/null +++ b/test-resources/src/test/resources/calendar/xml/rfc6321-example2.xml @@ -0,0 +1,149 @@ +<?xml version="1.0" encoding="utf-8" ?> +<icalendar xmlns="urn:ietf:params:xml:ns:icalendar-2.0"> + <vcalendar> + <properties> + <prodid> + <text>-//Example Inc.//Example Client//EN</text> + </prodid> + <version> + <text>2.0</text> + </version> + </properties> + <components> + <vevent> + <properties> + <dtstamp> + <date-time>2006-02-06T00:11:21Z</date-time> + </dtstamp> + <dtstart> + <parameters> + <tzid> + <text>US/Eastern</text> + </tzid> + </parameters> + <date-time>2006-01-02T12:00:00</date-time> + </dtstart> + <duration> + <duration>PT1H</duration> + </duration> + <rrule> + <recur> + <freq>DAILY</freq> + <count>5</count> + </recur> + </rrule> + <rdate> + <parameters> + <tzid> + <text>US/Eastern</text> + </tzid> + </parameters> + <period> + <start>2006-01-02T15:00:00</start> + <duration>PT2H</duration> + </period> + </rdate> + <summary> + <text>Event #2</text> + </summary> + <description> + <text>We are having a meeting all this week at 12pm for one hour, with an additional meeting on the first day 2 hours long.
Please bring your own lunch for the 12 pm meetings.</text> + </description> + <uid> + <text>[email protected]</text> + </uid> + </properties> + </vevent> + <vevent> + <properties> + <dtstamp> + <date-time>2006-02-06T00:11:21Z</date-time> + </dtstamp> + <dtstart> + <parameters> + <tzid> + <text>US/Eastern</text> + </tzid> + </parameters> + <date-time>2006-01-04T14:00:00</date-time> + </dtstart> + <duration> + <duration>PT1H</duration> + </duration> + <recurrence-id> + <parameters> + <tzid> + <text>US/Eastern</text> + </tzid> + </parameters> + <date-time>2006-01-04T12:00:00</date-time> + </recurrence-id> + <summary> + <text>Event #2 bis</text> + </summary> + <uid> + <text>[email protected]</text> + </uid> + </properties> + </vevent> + <vtimezone> + <properties> + <last-modified> + <date-time>2004-01-10T03:28:45Z</date-time> + </last-modified> + <tzid> + <text>US/Eastern</text> + </tzid> + </properties> + <components> + <daylight> + <properties> + <dtstart> + <date-time>2000-04-04T02:00:00</date-time> + </dtstart> + <rrule> + <recur> + <freq>YEARLY</freq> + <byday>1SU</byday> + <bymonth>4</bymonth> + </recur> + </rrule> + <tzname> + <text>EDT</text> + </tzname> + <tzoffsetfrom> + <utc-offset>-05:00</utc-offset> + </tzoffsetfrom> + <tzoffsetto> + <utc-offset>-04:00</utc-offset> + </tzoffsetto> + </properties> + </daylight> + <standard> + <properties> + <dtstart> + <date-time>2000-10-26T02:00:00</date-time> + </dtstart> + <rrule> + <recur> + <freq>YEARLY</freq> + <byday>-1SU</byday> + <bymonth>10</bymonth> + </recur> + </rrule> + <tzname> + <text>EST</text> + </tzname> + <tzoffsetfrom> + <utc-offset>-04:00</utc-offset> + </tzoffsetfrom> + <tzoffsetto> + <utc-offset>-05:00</utc-offset> + </tzoffsetto> + </properties> + </standard> + </components> + </vtimezone> + </components> + </vcalendar> +</icalendar> \ No newline at end of file
