Package net.fortuna.ical4j.model.property

Examples of net.fortuna.ical4j.model.property.Location


      default: vEventProperties.add(ICAL_CLASS_PRIVATE); break;
    }

    // location
    if (kEvent.getLocation() != null) {
      vEventProperties.add(new Location(kEvent.getLocation()));
    }
   
    // event links
    List kalendarEventLinks = kEvent.getKalendarEventLinks();
    if ((kalendarEventLinks != null) && !kalendarEventLinks.isEmpty()) {
View Full Code Here


    if (lastModified != null) {
      calEvent.setLastModified(lastModified.getDate().getTime());
    }
   
    // location
    Location location = event.getLocation();
    if (location != null) {
      calEvent.setLocation(location.getValue());
    }
   
    // links if any
    List linkProperties = event.getProperties(ICAL_X_OLAT_LINK);
    List kalendarEventLinks = new ArrayList();
View Full Code Here

        Date date = iCalObj.getDate();
        return new Timestamp(date.getTime());
    }

    protected static String fromLocation(PropertyList propertyList) {
        Location iCalObj = (Location) propertyList.getProperty(Location.LOCATION);
        if (iCalObj == null) {
            return null;
        }
        return iCalObj.getValue();
    }
View Full Code Here

    protected static Location toLocation(String javaObj) {
        if (javaObj == null) {
            return null;
        }
        return new Location(javaObj);
    }
View Full Code Here

        pl.add(new Description(course.getCourseName() + "("
                + course.getIndexNum() + ", " + ct.getGroup() + ")\n"
                + course.getCourseType()
                + (course.getCourseType().isPrescribed()
                ? " " + course.getGeneralPEType() : "")));
        pl.add(new Location(ct.getVenue()));
        pl.add(new Summary(course.getCourseName() + " " + ct.getClassType()
                + " " + ct.getRemark()));
        String[] split = ct.getSemesterTimetable().getStartExam().split("-");
        String str = split[0] + split[1] + split[2];
        try {
View Full Code Here

   
    VEvent meeting = new VEvent(start, end, name);

    meeting.getProperties().add(new Description(description));
    meeting.getProperties().add(new Sequence(0));
    meeting.getProperties().add(new Location(""));
    meeting.getProperties().add(Transp.OPAQUE);

    // generate unique identifier (if not submitted)
    Uid ui = null;
    if (uid == null || uid.length() < 1) {
View Full Code Here

   
    VEvent meeting = new VEvent(start, end, name);

    meeting.getProperties().add(new Description(description));
    meeting.getProperties().add(new Sequence(0));
    meeting.getProperties().add(new Location(""));
    meeting.getProperties().add(Transp.OPAQUE);

    // generate unique identifier (if not submitted)
    Uid ui = null;
    if (uid == null || uid.length() < 1) {
View Full Code Here

        Date date = iCalObj.getDate();
        return new Timestamp(date.getTime());
    }

    protected static String fromLocation(PropertyList propertyList) {
        Location iCalObj = (Location) propertyList.getProperty(Location.LOCATION);
        if (iCalObj == null) {
            return null;
        }
        return iCalObj.getValue();
    }
View Full Code Here

    protected static Location toLocation(String javaObj) {
        if (javaObj == null) {
            return null;
        }
        return new Location(javaObj);
    }
View Full Code Here

   
    VEvent meeting = new VEvent(start, end, name);

    meeting.getProperties().add(new Description(description));
    meeting.getProperties().add(new Sequence(0));
    meeting.getProperties().add(new Location(""));
    meeting.getProperties().add(Transp.OPAQUE);

    // generate unique identifier (if not submitted)
    Uid ui = null;
    if (uid == null || uid.length() < 1) {
View Full Code Here

TOP

Related Classes of net.fortuna.ical4j.model.property.Location

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.