本文整理了Java中com.google.api.services.calendar.model.Event.setLocation()
方法的一些代码示例,展示了Event.setLocation()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.setLocation()
方法的具体详情如下:
包路径:com.google.api.services.calendar.model.Event
类名称:Event
方法名:setLocation
暂无
代码示例来源: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.setLocation(body.getString("location"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setLocation(body.getString("location"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setLocation(body.getString("location"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setLocation(body.getString("location"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setLocation(body.getString("location"));
代码示例来源:origin: NovaFox161/DisCal-Discord-Bot
event.setLocation(body.getString("location"));
代码示例来源:origin: io.syndesis.connector/connector-google-calendar
event.setEnd(endEventDateTime);
event.setLocation(location);
return event;
代码示例来源:origin: io.syndesis.connector/connector-google-calendar
event.setEnd(endEventDateTime);
event.setLocation(location);
return event;
代码示例来源:origin: gdenning/exchange-sync
event.setStart(convertToEventDateTime(appointmentDto.getStart(), appointmentDto.isAllDay(), calendarTimeZone));
event.setEnd(convertToEventDateTime(appointmentDto.getEnd(), appointmentDto.isAllDay(), calendarTimeZone));
event.setLocation(appointmentDto.getLocation());
if (syncOrganizerAndAttendees) {
if (appointmentDto.getOrganizer() != null && appointmentDto.getOrganizer().getEmail() != null) {
内容来源于网络,如有侵权,请联系作者删除!