Package com.google.gdata.data.extensions

Examples of com.google.gdata.data.extensions.Recurrence


            entry.setContent( new PlainTextConstruct( "Birthday Celebration " + contact.getName().getFullName().getValue() + " (" + sdf.format(date) + ")") );
              sdf.applyPattern( DATE_FORMAT_GCAL_SET_EVENT );
            String recurData = "DTSTART;VALUE=DATE:" + sdf.format(date) + "\n"
                       + "DTEND;VALUE=DATE:" + sdf.format(date) + "\n"
                       + "RRULE:FREQ=YEARLY";
              Recurrence recur = new Recurrence();
              recur.setValue(recurData);
              entry.setRecurrence(recur);

              entry.getReminder().add(reminder);

            batchid++;
View Full Code Here


      When eventTimes = new When();
      eventTimes.setStartTime(startTime);
      eventTimes.setEndTime(endTime);
      myEntry.addTime(eventTimes);
    } else {
      Recurrence recur = new Recurrence();
      recur.setValue(recurData);
      myEntry.setRecurrence(recur);
    }

    // Send the request and receive the response:
    return service.insert(eventFeedUrl, myEntry);
View Full Code Here

TOP

Related Classes of com.google.gdata.data.extensions.Recurrence

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.