|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.brickred.socialauth.util.BirthDate
public class BirthDate
Stores the BirthDate
| Constructor Summary | |
|---|---|
BirthDate()
|
|
| Method Summary | |
|---|---|
int |
getDay()
Retrieves the birth day. |
int |
getMonth()
Retrieves the birth month |
int |
getYear()
Retrieves the birth year |
void |
setDay(int day)
Updates the birth day |
void |
setMonth(int month)
Updates the birth month |
void |
setYear(int year)
Updates the birth year |
String |
toString()
Returns the birth date in mm/dd/yyyy format |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public BirthDate()
| Method Detail |
|---|
public int getDay()
public void setDay(int day)
day - the birth daypublic int getMonth()
public void setMonth(int month)
month - the birth monthpublic int getYear()
public void setYear(int year)
year - the birth yearpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||