com.google.api.services.calendar.model.Event.getLocation()方法的使用及代码示例

x33g5p2x  于2022-01-19 转载在 其他  
字(3.0k)|赞(0)|评价(0)|浏览(210)

本文整理了Java中com.google.api.services.calendar.model.Event.getLocation()方法的一些代码示例,展示了Event.getLocation()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Event.getLocation()方法的具体详情如下:
包路径:com.google.api.services.calendar.model.Event
类名称:Event
方法名:getLocation

Event.getLocation介绍

暂无

代码示例

代码示例来源:origin: google/data-transfer-project

  1. private static CalendarEventModel convertToCalendarEventModel(String id, Event eventData) {
  2. List<EventAttendee> attendees = eventData.getAttendees();
  3. List<String> recurrenceRulesStrings = eventData.getRecurrence();
  4. return new CalendarEventModel(
  5. id,
  6. eventData.getDescription(),
  7. eventData.getSummary(),
  8. attendees == null
  9. ? null
  10. : attendees
  11. .stream()
  12. .map(GoogleCalendarExporter::transformToModelAttendee)
  13. .collect(Collectors.toList()),
  14. eventData.getLocation(),
  15. getEventTime(eventData.getStart()),
  16. getEventTime(eventData.getEnd()),
  17. recurrenceRulesStrings == null ? null : getRecurrenceRule(recurrenceRulesStrings));
  18. }

代码示例来源:origin: io.syndesis.connector/connector-google-calendar

  1. if (ObjectHelper.isNotEmpty(event.getLocation())) {
  2. model.setLocation(event.getLocation());

代码示例来源:origin: io.syndesis.connector/connector-google-calendar

  1. if (ObjectHelper.isNotEmpty(event.getLocation())) {
  2. model.setLocation(event.getLocation());

代码示例来源:origin: io.syndesis.connector/connector-google-calendar

  1. if (ObjectHelper.isNotEmpty(event.getLocation())) {
  2. model.setLocation(event.getLocation());

代码示例来源:origin: io.syndesis.connector/connector-google-calendar

  1. if (ObjectHelper.isNotEmpty(event.getLocation())) {
  2. model.setLocation(event.getLocation());

代码示例来源:origin: NovaFox161/DisCal-Discord-Bot

  1. jo.put("description", e.getDescription());
  2. if (e.getLocked() != null)
  3. jo.put("location", e.getLocation());
  4. else
  5. jo.put("location", "N/a");

代码示例来源:origin: NovaFox161/DisCal-Discord-Bot

  1. jo.put("description", e.getDescription());
  2. if (e.getLocked() != null)
  3. jo.put("location", e.getLocation());
  4. else
  5. jo.put("location", "N/a");

代码示例来源:origin: NovaFox161/DisCal-Discord-Bot

  1. jo.put("description", e.getDescription());
  2. if (e.getLocked() != null)
  3. jo.put("location", e.getLocation());
  4. else
  5. jo.put("location", "N/a");

代码示例来源:origin: NovaFox161/DisCal-Discord-Bot

  1. public static PreEvent copyEvent(long guildId, Event event) {
  2. PreEvent pe = new PreEvent(guildId);
  3. pe.setSummary(event.getSummary());
  4. pe.setDescription(event.getDescription());
  5. pe.setLocation(event.getLocation());
  6. if (event.getColorId() != null)
  7. pe.setColor(EventColor.fromNameOrHexOrID(event.getColorId()));
  8. else
  9. pe.setColor(EventColor.RED);
  10. pe.setEventData(DatabaseManager.getManager().getEventData(guildId, event.getId()));
  11. return pe;
  12. }
  13. }

代码示例来源:origin: NovaFox161/DisCal-Discord-Bot

  1. description = e.getDescription();
  2. if (e.getLocation() != null)
  3. location = e.getLocation();

代码示例来源:origin: gdenning/exchange-sync

  1. result.setAllDay(event.getEnd().getDateTime().isDateOnly());
  2. result.setLocation(event.getLocation());
  3. if (event.getOrganizer() != null) {
  4. final PersonDto person = new PersonDto();

相关文章