};
/** Calendar ID */
- public final int _id;
+ public final long _id;
/** Calendar name */
public final String name;
/** Calendar display name */
/** Type of the calendar used to sync this calendar */
public final String accountType;
- private Calendar(final int _id, final String name, final String displayName, final boolean visible, final String accountName, final String accountType) {
+ private Calendar(final long _id, final String name, final String displayName, final boolean visible, final String accountName, final String accountType) {
this._id=_id;
this.name=name;
this.displayName=displayName;
public static final Parcelable.Creator<Event> CREATOR = new Parcelable.Creator<Event>() {
@Override
public Event createFromParcel(Parcel source) {
- return new Event(source.readInt(), source.readString(), source.readString(), source.readString(), source.readString(), source.readInt(), source.readLong(), source.readLong());
+ return new Event(source.readLong(), source.readString(), source.readString(), source.readString(), source.readString(), source.readInt(), source.readLong(), source.readLong());
}
@Override
};
/** Event ID */
- public final int _id;
+ public final long _id;
/** Event owner */
public final String organizer;
/** Event title */
/** Event end time (UTC milliseconds since epoch) */
public final long dtend;
- private Event(final int _id, final String organizer, final String title, final String eventLocation, final String description, final int eventColor, final long dtstart, final long dtend) {
+ private Event(final long _id, final String organizer, final String title, final String eventLocation, final String description, final int eventColor, final long dtstart, final long dtend) {
this._id=_id;
this.organizer=organizer;
this.title=title;
@Override
public void writeToParcel(Parcel dest, int flags) {
- dest.writeInt(_id);
+ dest.writeLong(_id);
dest.writeString(organizer);
dest.writeString(title);
dest.writeString(eventLocation);