Package org.jical

Examples of org.jical.ICalendar


    DBSubset oRooms = new DBSubset(DB.k_x_meeting_room+" x,"+DB.k_rooms+" r",
                                   "r."+DB.gu_workarea+",r."+DB.tp_room+",r."+DB.nm_room+","+"r."+DB.tx_location,
                                   "x."+DB.gu_meeting+"=? AND "+"x."+DB.nm_room+"=r."+DB.nm_room,2);
    int iRooms;

    ICalendar oCal = new ICalendar();
    oCal.setProdId("JICAL");
    oCal.setVersion("2.0");
    for (int m=0; m<iMeetings; m++) {
      if (DebugFile.trace) DebugFile.writeln("Loading meeting "+oMeetings.getStringNull(7,m,""));
      oEvt = new ICalendarVEvent(oMeetings.getDate(1,m),oMeetings.getDate(2,m),
                                 oMeetings.getStringNull(8,m,""),
                                 duration(oMeetings.getDate(1,m),oMeetings.getDate(2,m)),
View Full Code Here


    Room oRoom = new Room();
    oRoom.put(DB.gu_workarea, oFllw.getString(DB.gu_workarea));

    ICalendarVEvent oEvnt;
    ICalendarParser oPrsr = new ICalendarParser();
    ICalendar oCal = oPrsr.parse(oCalFile, sEncoding);
    Iterator oIter = oCal.icalEventCollection.iterator();
    while (oIter.hasNext()) {
      oEvnt = (ICalendarVEvent) oIter.next();
      // remove - from Mozilla UIDs
      sGuid = Gadgets.removeChar(oEvnt.getUid(),'-').trim();
View Full Code Here

TOP

Related Classes of org.jical.ICalendar

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.