BoxLang 🚀 A New JVM Dynamic Language Learn More...

CFWheels iCal4j

v2.0.0 CFWheels Plugins

cfwheels-ical4j

Build Status

CFWheels Plugin Date Repeats Methods via iCal4J Java Lib

Use to create repeating date ranges against the iCal standard; Note this plugin doesn't try to be an entire iCal wrapper - this is just to get the RRULE logic.

Useage

// Get array of dates
myDates = getRecurringDates(
		     pattern="RRULE:FREQ=MONTHLY;INTERVAL=2;BYMONTHDAY=2",
		     seed="2017-03-27 10:00:   00",
		     from="2017-03-27 10:00:   00",
		     to="2017-03-27 10:00:   00");

See tests/ICal4J.cfc for more examples

Requirements

  • Requires wheels 2.x which loads Java libs dynamically for plugins
  • You could backport to 1.4 by manually adding plugins/ical4j to your this.javaSettings.Loadpaths
  •   Tom King
  • Published
  • 2.0.0 is the latest of 5 release(s)
    Published
  • Published on {{ getFullDate("2019-04-12T04:22:00Z") }}

$ box install cfwheels-ical4j

 
  • {{ getFullDate("2017-05-03T04:43:21Z") }}
  • {{ getFullDate("2019-04-12T04:22:00Z") }}
  • 2,681
  • 16