|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
com.std.util.Stateful<java.util.Date>
com.std.util.StatefulDate
public class StatefulDate
an observable wrapper for a Date, that also provides some convenience functions for changing the date in relation to itself and its calendar
| Constructor Summary | |
|---|---|
StatefulDate()
creates a new wrapper with target = new Date() |
|
| Method Summary | |
|---|---|
void |
nextDay()
advances the target by one day |
void |
nextMonth()
advances the target by one month |
void |
nextWeek()
advances the target by 7 days |
void |
nextYear()
advances the target by one year |
void |
previousDay()
regresses the target by one day |
void |
previousMonth()
regresses the target by one month |
void |
previousWeek()
regresses the target by 7 days |
void |
previousYear()
regresses the target by one day |
| Methods inherited from class com.std.util.Stateful |
|---|
getTarget, onChanged, setTarget |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StatefulDate()
| Method Detail |
|---|
public void nextDay()
public void nextMonth()
public void nextWeek()
public void nextYear()
public void previousDay()
public void previousMonth()
public void previousWeek()
public void previousYear()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||