Package com.logicaldoc.calendar
Class Reminder
- java.lang.Object
-
- com.logicaldoc.calendar.Reminder
-
- All Implemented Interfaces:
Cloneable
,Comparable<Reminder>
public class Reminder extends Object implements Comparable<Reminder>, Cloneable
Represents a reminder of a calendar event- Since:
- 8.7.1
- Author:
- Marco Meschieri - LogicalDOC
-
-
Field Summary
Fields Modifier and Type Field Description static String
TIME_UNIT_DAY
static String
TIME_UNIT_HOUR
static String
TIME_UNIT_MINUTE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(Reminder other)
Date
getDate()
int
getReminded()
String
getUnit()
int
getValue()
void
setDate(Date date)
void
setReminded(int reminded)
void
setUnit(String unit)
void
setValue(int value)
-
-
-
Field Detail
-
TIME_UNIT_MINUTE
public static final String TIME_UNIT_MINUTE
- See Also:
- Constant Field Values
-
TIME_UNIT_HOUR
public static final String TIME_UNIT_HOUR
- See Also:
- Constant Field Values
-
TIME_UNIT_DAY
public static final String TIME_UNIT_DAY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Reminder
public Reminder()
-
Reminder
public Reminder(int value, String unit)
-
-
Method Detail
-
getUnit
public String getUnit()
-
setUnit
public void setUnit(String unit)
-
getDate
public Date getDate()
-
setDate
public void setDate(Date date)
-
getReminded
public int getReminded()
-
setReminded
public void setReminded(int reminded)
-
getValue
public int getValue()
-
setValue
public void setValue(int value)
-
compareTo
public int compareTo(Reminder other)
- Specified by:
compareTo
in interfaceComparable<Reminder>
-
-