iCal4j Command Line
A command framework for managing iCalendar and vCard data.
Overview
iCal4j Command is a framework that implements common actions and transformations with respect to iCalendar and vCard data. A command line tool is included that allows you to experiment with commands and integrate with your existing processes and workflows.
Command Line Usage
Publish a collection of events
ical4j/bin/ical4j publish -F ./Australian32Holidays.ics
Result:
BEGIN:VCALENDAR
PRODID:iCal4j User Agent
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
UID:D416469E-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:Australia Day
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=1
DTSTART;VALUE=DATE:20020126
DTEND;VALUE=DATE:20020127
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D4164CA4-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:Good Friday
DTSTART;VALUE=DATE:20020329
DTEND;VALUE=DATE:20020330
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D416509A-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:Easter Monday
DTSTART;VALUE=DATE:20020401
DTEND;VALUE=DATE:20020402
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D41654CC-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:ANZAC Day
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=4
DTSTART;VALUE=DATE:20020425
DTEND;VALUE=DATE:20020426
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D41658EB-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:Queen's Birthday
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=6
DTSTART;VALUE=DATE:20020610
DTEND;VALUE=DATE:20020611
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D41661F7-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:Christmas
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=12
DTSTART;VALUE=DATE:20021225
DTEND;VALUE=DATE:20021226
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D41666AF-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:Boxing Day
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=12
DTSTART;VALUE=DATE:20021226
DTEND;VALUE=DATE:20021227
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D4166AA4-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:Good Friday
DTSTART;VALUE=DATE:20030418
DTEND;VALUE=DATE:20030419
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D4166EA4-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094459Z
SUMMARY:Easter Monday
DTSTART;VALUE=DATE:20030421
DTEND;VALUE=DATE:20030422
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D41658EB-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094500Z
RECURRENCE-ID;TZID=Asia/Hong_Kong:20030610T000000
DTSTART;VALUE=DATE:20030609
DTEND;VALUE=DATE:20030610
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
BEGIN:VEVENT
UID:D41672C8-C414-11D6-BA97-003065F198AC
DTSTAMP:20020906T094500Z
SUMMARY:New Year
RRULE:FREQ=YEARLY;INTERVAL=1;BYMONTH=1
DTSTART;VALUE=DATE:20020101
DTEND;VALUE=DATE:20020102
ORGANIZER:[email protected]
SEQUENCE:0
END:VEVENT
END:VCALENDAR