|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.ifremer.isisfish.types.TimeStep
public class TimeStep
This object can't be modified. If this behavior is modified pay attention if you used TimeStep as key in Map, in this case you will have error
| Field Summary | |
|---|---|
protected int |
step
|
| Constructor Summary | |
|---|---|
TimeStep()
|
|
TimeStep(int step)
|
|
| Method Summary | |
|---|---|
boolean |
after(TimeStep t)
compare 2 dates. |
boolean |
afterOrEquals(TimeStep d)
|
boolean |
before(TimeStep t)
compare 2 dates. |
boolean |
beforeOrEquals(TimeStep t)
|
int |
compareTo(TimeStep t)
|
boolean |
equals(Object o)
|
int |
getDate()
Deprecated. since 4.0.0.0, use getStep() instead |
Month |
getMonth()
|
Month[] |
getMonthBetweenDate(TimeStep timeStep2)
|
int |
getStep()
|
int |
getYear()
|
int |
hashCode()
|
TimeStep |
next()
Method next retourne une nouvelle date qui est la date suivante de la date courante. |
TimeStep |
nextYear()
Method next retourne une nouvelle date qui est le meme mois de l'annee suivante de la date courante. |
TimeStep |
previous()
Method preview retourne une nouvelle date qui est la date precedente de la date courante la date courante n'est pas modifier. |
TimeStep |
previousYear()
Method preview retourne une nouvelle date qui est le meme mois de l'annee precedente de la date courante la date courante n'est pas modifier. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected int step
| Constructor Detail |
|---|
public TimeStep()
public TimeStep(int step)
| Method Detail |
|---|
public int compareTo(TimeStep t)
compareTo in interface Comparable<TimeStep>public int getYear()
public Month getMonth()
@Deprecated public int getDate()
getStep() instead
public int getStep()
public TimeStep next()
public TimeStep previous()
public TimeStep nextYear()
public TimeStep previousYear()
public boolean before(TimeStep t)
public boolean beforeOrEquals(TimeStep t)
public boolean after(TimeStep t)
public boolean afterOrEquals(TimeStep d)
public boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Month[] getMonthBetweenDate(TimeStep timeStep2)
timeStep2 -
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||