{"id":1108,"date":"2011-09-04T11:23:21","date_gmt":"2011-09-04T09:23:21","guid":{"rendered":"http:\/\/www.tutego.de\/blog\/javainsel\/2011\/09\/tester-fr-einfache-icalendar-klasse-gesucht\/"},"modified":"2011-09-04T20:10:55","modified_gmt":"2011-09-04T18:10:55","slug":"tester-fr-einfache-icalendar-klasse-gesucht","status":"publish","type":"post","link":"https:\/\/www.tutego.de\/blog\/javainsel\/2011\/09\/tester-fr-einfache-icalendar-klasse-gesucht\/","title":{"rendered":"Tester f&uuml;r einfache iCalendar Klasse gesucht"},"content":{"rendered":"<p>F\u00fcr alles rund um iCal ist <a href=\"http:\/\/wiki.modularity.net.au\/ical4j\/index.php\">http:\/\/wiki.modularity.net.au\/ical4j\/index.php<\/a> die Standardl\u00f6sung. Allerdings ist mir das zu fett und hat auch noch diverse Abh\u00e4ngigkeiten. Daher habe ich mir eine einfache Klasse gebaut, die iCal-Dokumente f\u00fcr Events erzeugt.<\/p>\n<pre><pre style=\"background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 13px\">String s = <span style=\"color: #0000ff\">new<\/span> ICalendar()\n<\/pre>\n<pre style=\"background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 13px\">            .start( <span style=\"color: #0000ff\">new<\/span> Date() )\n<\/pre>\n<pre style=\"background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 13px\">            .end( <span style=\"color: #0000ff\">new<\/span> Date() )\n<\/pre>\n<pre style=\"background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 13px\">            .summary( &quot;<span style=\"color: #8b0000\">Ba,st;ille\\\\ Day Party\\n\u00e4\u00f6\u00df<\/span>&quot; )\n<\/pre>\n<pre style=\"background-color: #fbfbfb; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 13px\">            .toString();\n<\/pre>\n<pre style=\"background-color: #ffffff; margin: 0em; width: 100%; font-family: consolas,&#39;Courier New&#39;,courier,monospace; font-size: 13px\">System.out.print( s );<\/pre>\n<p>erzeugt:<\/p>\n<p>BEGIN:VCALENDAR<br \/>\n  <br \/>VERSION:2.0<\/p>\n<p>PRODID:-\/\/tutego\/\/NONSGML ICalendar\/\/DE<\/p>\n<p>BEGIN:VEVENT<\/p>\n<p>DTSTART:20110904T200944<\/p>\n<p>DTEND:20110904T200944<\/p>\n<p>SUMMARY:Ba\\,st\\;ille\\\\ Day Party\\n\u00e4\u00f6\u00df<\/p>\n<p>END:VEVENT<\/p>\n<p>END:VCALENDAR <\/p>\n<p><\/p>\n<p>M\u00f6chte das jmd. testen und mit Tipps geben?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>F\u00fcr alles rund um iCal ist http:\/\/wiki.modularity.net.au\/ical4j\/index.php die Standardl\u00f6sung. Allerdings ist mir das zu fett und hat auch noch diverse Abh\u00e4ngigkeiten. Daher habe ich mir eine einfache Klasse gebaut, die iCal-Dokumente f\u00fcr Events erzeugt. String s = new ICalendar() .start( new Date() ) .end( new Date() ) .summary( &quot;Ba,st;ille\\\\ Day Party\\n\u00e4\u00f6\u00df&quot; ) .toString(); System.out.print( s [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":"","_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"class_list":["post-1108","post","type-post","status-publish","format-standard","hentry","category-allgemein"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/posts\/1108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/comments?post=1108"}],"version-history":[{"count":1,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/posts\/1108\/revisions"}],"predecessor-version":[{"id":1111,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/posts\/1108\/revisions\/1111"}],"wp:attachment":[{"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/media?parent=1108"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/categories?post=1108"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tutego.de\/blog\/javainsel\/wp-json\/wp\/v2\/tags?post=1108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}