|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.moneydance.apps.md.model.Reminder
public abstract class Reminder
Basic superclass of all types of reminders - items that can be scheduled to occur on a specific date or recurring series of dates.
Field Summary | |
---|---|
static int |
BASIC_REMINDER_TYPE
|
static int |
LAST_DAY_OF_MONTH
|
static int |
MONTHLY_EVERY
|
static int |
MONTHLY_EVERY_FOURTH
|
static int |
MONTHLY_EVERY_OTHER
|
static int |
MONTHLY_EVERY_SIXTH
|
static int |
MONTHLY_EVERY_THIRD
|
static int |
REPEAT_BY_DAY_OF_MONTH
|
static int |
REPEAT_BY_DAY_OF_WEEK
|
static int |
REPEAT_BY_EVERY_YEAR
|
static int |
REPEAT_BY_NDAYS
|
static int |
REPEAT_BY_NONE
|
static int |
TXN_REMINDER_TYPE
|
static int |
WEEKLY_EVERY
|
static int |
WEEKLY_EVERY_FIFTH
|
static int |
WEEKLY_EVERY_FIRST
|
static int |
WEEKLY_EVERY_FOURTH
|
static int |
WEEKLY_EVERY_LAST
|
static int |
WEEKLY_EVERY_SECOND
|
static int |
WEEKLY_EVERY_THIRD
|
Constructor Summary | |
---|---|
Reminder(long id,
java.lang.String description,
int initialDate,
int dateAcked,
int lastDate,
int[] daysOfWeek,
int daysOfWeekModifier,
int[] daysOfMonth,
int everyNDays,
boolean everyYear)
|
Method Summary | |
---|---|
long |
getDateAcknowledged()
Deprecated. use getAcknowledgedInt() instead |
int |
getDateAcknowledgedInt()
Get the last date that this reminder was acknowledged/accepted. |
java.lang.String |
getDescription()
|
long |
getId()
|
long |
getInitialDate()
Deprecated. use getInitialDateInt() instead |
int |
getInitialDateInt()
Get the first date that the reminder will occur. |
long |
getLastDate()
Deprecated. use getLastDateInt() instead |
int |
getLastDateInt()
Set a date after which this reminder should no longer occur. |
int |
getNextOccurance(int maximumDate)
Calculates the next date on which the reminder will occur (ie that is greater than the acknowledgement date) and that is equal to or below the given date. |
java.util.Vector |
getPastDueDates(java.util.Calendar today)
Return a Vector containing a list off Date objects for which this Reminder has been scheduled but not yet acknowledged. |
abstract int |
getReminderType()
|
int |
getRepeatDaily()
|
int[] |
getRepeatMonthly()
|
int |
getRepeatMonthlyModifier()
|
int[] |
getRepeatWeeklyDays()
|
int |
getRepeatWeeklyModifier()
|
boolean |
getRepeatYearly()
|
TagSet |
getTags()
|
boolean |
hasBeenAcknowledged(java.util.Date asOfDate)
Deprecated. use hasBeenAcknowledgedInt(int) instead |
boolean |
hasBeenAcknowledgedInt(int asOfDate)
Returns true if this reminder has been acknowledged as of the given date. |
boolean |
isDirty()
|
boolean |
occursOnDate(java.util.Calendar cal)
|
void |
resetDirty()
|
void |
setAcknowledged(java.util.Date date)
Deprecated. use setAcknowledgedInt(int) instead |
void |
setAcknowledgedInt(int date)
Set the last date that this reminder was acknowledged/accepted. |
void |
setDescription(java.lang.String description)
|
void |
setDirty()
|
void |
setId(long id)
|
void |
setInitialDate(long date)
Deprecated. use setInitialDateInt(int) instead |
void |
setInitialDateInt(int date)
Set the first date that the reminder will occur. |
void |
setLastDate(long date)
Deprecated. use setLastDateInt() instead |
void |
setLastDateInt(int date)
Set a date after which this reminder should no longer occur. |
void |
setRepeatDaily(int everyNDays)
|
void |
setRepeatMonthly(int daysOfMonthModifier,
int[] daysOfMonth)
|
void |
setRepeatWeekly(int daysOfWeekModifier,
int[] daysOfWeek)
|
void |
setRepeatYearly(boolean yearly)
|
void |
setTags(TagSet newTags)
Set the TagSet associated with this object. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int TXN_REMINDER_TYPE
public static final int BASIC_REMINDER_TYPE
public static final int REPEAT_BY_NONE
public static final int REPEAT_BY_DAY_OF_WEEK
public static final int REPEAT_BY_DAY_OF_MONTH
public static final int REPEAT_BY_NDAYS
public static final int REPEAT_BY_EVERY_YEAR
public static final int MONTHLY_EVERY
public static final int MONTHLY_EVERY_OTHER
public static final int MONTHLY_EVERY_THIRD
public static final int MONTHLY_EVERY_FOURTH
public static final int MONTHLY_EVERY_SIXTH
public static final int WEEKLY_EVERY
public static final int WEEKLY_EVERY_FIRST
public static final int WEEKLY_EVERY_SECOND
public static final int WEEKLY_EVERY_THIRD
public static final int WEEKLY_EVERY_FOURTH
public static final int WEEKLY_EVERY_FIFTH
public static final int WEEKLY_EVERY_LAST
public static final int LAST_DAY_OF_MONTH
Constructor Detail |
---|
public Reminder(long id, java.lang.String description, int initialDate, int dateAcked, int lastDate, int[] daysOfWeek, int daysOfWeekModifier, int[] daysOfMonth, int everyNDays, boolean everyYear)
Method Detail |
---|
public abstract int getReminderType()
public void resetDirty()
public void setDirty()
public boolean isDirty()
public long getId()
public void setId(long id)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public long getInitialDate()
public void setInitialDate(long date)
public int getInitialDateInt()
public void setInitialDateInt(int date)
public long getLastDate()
public void setLastDate(long date)
public int getLastDateInt()
public void setLastDateInt(int date)
public long getDateAcknowledged()
public void setAcknowledged(java.util.Date date)
public int getDateAcknowledgedInt()
public void setAcknowledgedInt(int date)
public int getRepeatWeeklyModifier()
public int[] getRepeatWeeklyDays()
public void setRepeatWeekly(int daysOfWeekModifier, int[] daysOfWeek)
public int getRepeatMonthlyModifier()
public int[] getRepeatMonthly()
public void setRepeatMonthly(int daysOfMonthModifier, int[] daysOfMonth)
public int getRepeatDaily()
public void setRepeatDaily(int everyNDays)
public boolean getRepeatYearly()
public void setRepeatYearly(boolean yearly)
public java.util.Vector getPastDueDates(java.util.Calendar today)
public boolean hasBeenAcknowledged(java.util.Date asOfDate)
public boolean hasBeenAcknowledgedInt(int asOfDate)
public int getNextOccurance(int maximumDate)
public boolean occursOnDate(java.util.Calendar cal)
public TagSet getTags()
public void setTags(TagSet newTags)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |