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