|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.monad.homerun.action.Binding
com.monad.homerun.action.DateBinding
public class DateBinding
DateBinding represents an action bound to a specific date/time. Used as entries in calendars.
Field Summary |
---|
Fields inherited from class com.monad.homerun.action.Binding |
---|
RUN_MODE, RUN_MODE_STR, START_MODE, START_MODE_STR, STOP_MODE, STOP_MODE_STR |
Constructor Summary | |
---|---|
DateBinding()
|
|
DateBinding(DateBinding entry)
|
|
DateBinding(int day,
int minutes,
int actionMode,
java.lang.String actionName,
java.lang.String actionCategory)
|
Method Summary | |
---|---|
int |
compareTo(java.lang.Object obj)
Comparable method |
short |
getDay()
Returns the binding day of month |
short |
getMinutes()
Returns the time in minute of the week |
boolean |
sameButDay(DateBinding binding)
Tests for equality of entries that differ only by day |
void |
setDay(short day)
Sets the binding day of month |
void |
setMinutes(short minutes)
Sets the time in minute of the week |
Methods inherited from class com.monad.homerun.action.Binding |
---|
getActionCategory, getActionMode, getActionName, getMode, getModeIconName, getModes, getNote, getProperties, getProperty, modeFor, setNote, setProperties, setProperty |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DateBinding()
public DateBinding(int day, int minutes, int actionMode, java.lang.String actionName, java.lang.String actionCategory)
public DateBinding(DateBinding entry)
Method Detail |
---|
public short getDay()
public void setDay(short day)
day
- - from 1 to last day of monthpublic short getMinutes()
public void setMinutes(short minutes)
minutes
- - from 1 to last minute of monthpublic boolean sameButDay(DateBinding binding)
binding
- the DateBinding to compare
public int compareTo(java.lang.Object obj)
compareTo
in interface java.lang.Comparable
obj
- the TimeBinding to compare with this one
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |