|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--ACMEDate
Questa classe rappresenta l'astrazione di Data in termini di giorno, mese, anno.
Constructor Summary | |
ACMEDate(int day,
int month,
int year)
Costruisce una data dato il giorno, mese ed anno |
Method Summary | |
int |
getDay()
Restituisce il giorno |
int |
getMonth()
Restituisce il mese |
int |
getYear()
restituisce l'anno |
java.lang.String |
toString()
Restituisce una rappresentazione testuale di questa data nel formato dd/mm/yyyy |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ACMEDate(int day, int month, int year)
day
- e' il giornomonth
- e' il meseyear
- e' l'annoMethod Detail |
public int getDay()
public int getMonth()
public int getYear()
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 |