// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov. // Jad home page: http://www.geocities.com/kpdus/jad.html // Decompiler options: braces fieldsfirst space lnc package com.olio.phone_state; import java.io.Serializable; import java.util.Date; import org.apache.commons.lang3.builder.EqualsBuilder; import org.apache.commons.lang3.builder.HashCodeBuilder; public class CalendarEvent implements Serializable { public String description; public Date endTime; public Date startTime; public String title; public CalendarEvent() { } public CalendarEvent(Date date, Date date1) { this(date, date1, "", ""); } public CalendarEvent(Date date, Date date1, String s, String s1) { startTime = date; endTime = date1; title = s; description = s1; } public boolean equals(Object obj) { if (obj != null) { if (obj == this) { return true; } if (obj.getClass() == getClass()) { obj = (CalendarEvent)obj; return (new EqualsBuilder()).append(startTime, ((CalendarEvent) (obj)).getStartTime()).append(endTime, ((CalendarEvent) (obj)).getEndTime()).append(title, ((CalendarEvent) (obj)).getTitle()).append(description, ((CalendarEvent) (obj)).getDescription()).isEquals(); } } return false; } public String getDescription() { return description; } public Date getEndTime() { return endTime; } public Date getStartTime() { return startTime; } public String getTitle() { return title; } public int hashCode() { return (new HashCodeBuilder(91, 13)).append(startTime).append(endTime).append(title).append(description).toHashCode(); } public void setDescription(String s) { description = s; } public void setEndTime(Date date) { endTime = date; } public void setStartTime(Date date) { startTime = date; } public void setTitle(String s) { title = s; } }