org.gnu.pilotlink
Class DatebookRecord
java.lang.Object
org.gnu.pilotlink.Record
org.gnu.pilotlink.DatebookRecord
public class DatebookRecord
- extends Record
Methods inherited from class org.gnu.pilotlink.Record |
getAttribs, getCategory, getDateAt, getDateAt, getDateTimeAt, getDateTimeAt, getDoubleAt, getDoubleLongAt, getId, getIntAt, getIntAt, getLongAt, getSize, getStringAt, getStringAt, isArchived, isBusy, isDeleted, isDirty, isSecret, setArchived, setAttribs, setCategory, setDateAt, setDateTimeAt, setDirty, setDoubleAt, setDoubleLongAt, setId, setIntAt, setLongAt, setSecret, setSize, setStringAt |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notifyAll, notify, toString, wait, wait, wait |
REP_WEEKLY
public static final int REP_WEEKLY
- See Also:
- Constant Field Values
REP_DAYLY
public static final int REP_DAYLY
- See Also:
- Constant Field Values
REP_MONTHLY_BY_DAY
public static final int REP_MONTHLY_BY_DAY
- See Also:
- Constant Field Values
REP_MONTHLY_BY_DATE
public static final int REP_MONTHLY_BY_DATE
- See Also:
- Constant Field Values
REP_YEARLY
public static final int REP_YEARLY
- See Also:
- Constant Field Values
REP_NONE
public static final int REP_NONE
- See Also:
- Constant Field Values
NO_REP
public static final int NO_REP
- See Also:
- Constant Field Values
ALARM_MINUTES
public static final int ALARM_MINUTES
- See Also:
- Constant Field Values
ALARM_HOURS
public static final int ALARM_HOURS
- See Also:
- Constant Field Values
ALARM_DAYS
public static final int ALARM_DAYS
- See Also:
- Constant Field Values
ALARM_NONE
public static final int ALARM_NONE
- See Also:
- Constant Field Values
DatebookRecord
public DatebookRecord(java.util.Date sd,
java.util.Date ed,
java.lang.String descr,
java.lang.String n)
DatebookRecord
public DatebookRecord(Record raw)
DatebookRecord
public DatebookRecord()
hasNote
public boolean hasNote()
hasTime
public boolean hasTime()
hasAlarm
public boolean hasAlarm()
isRepeated
public boolean isRepeated()
hasDescription
public boolean hasDescription()
hasExceptions
public boolean hasExceptions()
repeatForever
public boolean repeatForever()
setBuffer
public void setBuffer(byte[] arr)
- Description copied from class:
Record
- Sets the buffer attribute of the Record object
- Specified by:
setBuffer
in class Record
- Parameters:
arr
- The new buffer value
getBuffer
public byte[] getBuffer()
- Description copied from class:
Record
- Gets the buffer attribute of the Record object
- Specified by:
getBuffer
in class Record
- Returns:
- The buffer value
getStartDate
public java.util.Date getStartDate()
getEndDate
public java.util.Date getEndDate()
repeatUntil
public java.util.Date repeatUntil()
getDescription
public java.lang.String getDescription()
getNote
public java.lang.String getNote()
getRepeatEnd
public java.util.Date getRepeatEnd()
getRepExceptions
public java.util.Date[] getRepExceptions()
getRepWeekstart
public int getRepWeekstart()
getRepDay
public int getRepDay()
getRepType
public int getRepType()
getRepAdvance
public int getRepAdvance()
getAlarmAdvance
public int getAlarmAdvance()
getAlarmUnits
public int getAlarmUnits()
getRepDays
public boolean[] getRepDays()
setStartDate
public void setStartDate(java.util.Date startDate)
setEndDate
public void setEndDate(java.util.Date endDate)
setRepeated
public void setRepeated(boolean r)
setRepeatForever
public void setRepeatForever(boolean r)
setRepeatEnd
public void setRepeatEnd(java.util.Date repeatEnd)
setDescription
public void setDescription(java.lang.String description)
setNote
public void setNote(java.lang.String note)
setAlarm
public void setAlarm(boolean a)
setAlarmAdvance
public void setAlarmAdvance(int alarmAdvance)
setAlarmUnits
public void setAlarmUnits(int alarmUnits)
setRepAdvance
public void setRepAdvance(int repAdvance)
setRepType
public void setRepType(int repType)
setRepDay
public void setRepDay(int repDay)
setRepWeekstart
public void setRepWeekstart(int repWeekstart)
setRepExceptions
public void setRepExceptions(java.util.Date[] repExceptions)
setRepDays
public void setRepDays(boolean[] repDays)