File indexing completed on 2024-11-24 04:42:06
0001 /* 0002 SPDX-FileCopyrightText: 2022 Volker Krause <vkrause@kde.org> 0003 SPDX-License-Identifier: LGPL-2.0-or-later 0004 */ 0005 0006 package org.kde.kcalendarcore; 0007 0008 /** Struct for transferring event data over JNI. */ 0009 public class EventData 0010 { 0011 public EventData() {} 0012 public int hashCode() { return (int)(id % 0xffff); } 0013 public boolean equals(java.lang.Object object) 0014 { 0015 EventData other = (EventData)object; 0016 return other != null && id == other.id; 0017 } 0018 0019 public long id; 0020 public java.lang.String organizer; 0021 public java.lang.String title; 0022 public java.lang.String location; 0023 public java.lang.String description; 0024 // EVENT_COLOR? 0025 public long dtStart; 0026 public long dtEnd; 0027 public java.lang.String startTimezone; 0028 public java.lang.String endTimezone; 0029 public java.lang.String duration; 0030 public boolean allDay; 0031 public java.lang.String rrule; 0032 public java.lang.String rdate; 0033 public java.lang.String exrule; 0034 public java.lang.String exdate; 0035 public java.lang.String originalId; 0036 public long instanceId; 0037 // ORIGINAL_ALL_DAY - exception events? 0038 public int accessLevel; 0039 public int availability; 0040 // GUEST_CAN_X 0041 // CUSTOM_APP_PACKAGE|CUSTOM_APP_URI 0042 public java.lang.String uid2445; 0043 0044 public AttendeeData[] attendees; 0045 public ExtendedPropertyData[] extendedProperties; 0046 public ReminderData[] reminders; 0047 }