src/event.js
function CalEvent(name, startDate, endDate, description, location, uid) {
    if (startDate instanceof Date) { this.startDate = startDate; } else { return null; }
    if (endDate instanceof Date) { this.endDate = endDate; } else { return null; }
    this.uid = uid == null ? (util.guid() + '@node-cal-event.js') : uid;
    this.summary = name;
    this.location = location;
    this.description = description;
}
function CalEvent(name, startDate, endDate, description, location, uid) {
    if (startDate instanceof Date) { this.startDate = startDate; } else { return null; }
    if (endDate instanceof Date) { this.endDate = endDate; } else { return null; }
    this.uid = uid == null ? (util.guid() + '@node-cal-event.js') : uid;
    this.summary = name;
    this.location = location;
    this.description = description;
}
function CalEvent ( name , startDate , endDate , description , location , uid ) { if ( startDate instanceof Date ) { this . startDate = startDate ; } else { return null ; } if ( endDate instanceof Date ) { this . endDate = endDate ; } else { return null ; } this . uid = uid == null ? ( util . guid ( ) + '@node-cal-event.js' ) : uid ; this . summary = name ; this . location = location ; this . description = description ; }
CalEvent object
CalEvent object