本文整理了Java中com.google.api.services.calendar.model.Event.setDescription()
方法的一些代码示例,展示了Event.setDescription()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.setDescription()
方法的具体详情如下:
包路径:com.google.api.services.calendar.model.Event
类名称:Event
方法名:setDescription
暂无
代码示例来源:origin: google/data-transfer-project
static Event convertToGoogleCalendarEvent(CalendarEventModel eventModel) {
Event event = new Event()
.setLocation(eventModel.getLocation())
.setDescription(eventModel.getTitle())
.setSummary(eventModel.getNotes())
.setStart(getEventDateTime(eventModel.getStartTime()))
.setEnd(getEventDateTime(eventModel.getEndTime()));
if (eventModel.getAttendees() != null) {
event.setAttendees(eventModel.getAttendees().stream()
.map(GoogleCalendarImporter::transformToEventAttendee)
.collect(Collectors.toList()));
}
return event;
}
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setVisibility("public");
event.setSummary(body.getString("summary"));
event.setDescription(body.getString("description"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setVisibility("public");
event.setSummary(body.getString("summary"));
event.setDescription(body.getString("description"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setVisibility("public");
event.setSummary(body.getString("summary"));
event.setDescription(body.getString("description"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setVisibility("public");
event.setSummary(body.getString("summary"));
event.setDescription(body.getString("description"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setVisibility("public");
event.setSummary(body.getString("summary"));
event.setDescription(body.getString("description"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setVisibility("public");
event.setSummary(body.getString("summary"));
event.setDescription(body.getString("description"));
代码示例来源:origin: io.syndesis.connector/connector-google-calendar
Event event = new Event();
event.setSummary(summary);
event.setDescription(description);
event.setAttendees(getAttendeesList(attendees));
String composedTime;
代码示例来源:origin: io.syndesis.connector/connector-google-calendar
Event event = new Event();
event.setSummary(summary);
event.setDescription(description);
event.setAttendees(getAttendeesList(attendees));
String composedTime;
代码示例来源:origin: gdenning/exchange-sync
private void populateEventFromAppointmentDto(final AppointmentDto appointmentDto, final Event event) {
event.setSummary(appointmentDto.getSummary());
event.setDescription(appointmentDto.getDescription());
event.setStart(convertToEventDateTime(appointmentDto.getStart(), appointmentDto.isAllDay(), calendarTimeZone));
event.setEnd(convertToEventDateTime(appointmentDto.getEnd(), appointmentDto.isAllDay(), calendarTimeZone));
内容来源于网络,如有侵权,请联系作者删除!