Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

nicolai86/as3.iCal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

as3-ical

as3-ical is an iCal parser written in ActionScript 3. Parsing works as specified in RFC2445.

Usage

import com.rra.ical.VCalendar;
// ...
var calendar: VCalendar = new VCalendar();
calendar.addEventListener(Event.COMPLETE, onComplete);
calendar.load("http://path/to/my/calendar.ics");
// ...
function onComplete(e: Event): void {
	var calendar: VCalendar = e.currentTarget as VCalendar;
	for (var i: int = 0; i < calendar.Events.length; ++i) {
		var event: VEvent = calendar.Events[i];
		// do something with event.
	}
}

Features

  • Parses ics files, both remote & local
  • Handles recurrences

Still missing

  • tests! The test coverage is horrible
  • as3doc! The code is barely documented
  • optimizations! There's plenty of room for improvements.

TODO complete the what's-missing-list

About

iCal parser written in ActionScript 3

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages