public class DateTestBean extends Object implements Serializable
Constructor and Description |
---|
DateTestBean()
Initializes the dates.
|
Modifier and Type | Method and Description |
---|---|
Date |
getEinsteinsDateOfBirth()
Gets Einstein's date of birth.
|
Date |
getInitiallyNullDate()
Gets a date that is initially null.
|
Date |
getToday()
Gets todays date.
|
void |
setEinsteinsDateOfBirth(Date einsteinsDateOfBirth)
Sets Einstein's date of birth.
|
void |
setInitiallyNullDate(Date initiallyNullDate)
Sets a date that initially was null.
|
void |
setToday(Date today)
Sets todays date.
|
public Date getEinsteinsDateOfBirth()
public void setEinsteinsDateOfBirth(Date einsteinsDateOfBirth)
einsteinsDateOfBirth
- Einstein's date of birth.public Date getInitiallyNullDate()
public void setInitiallyNullDate(Date initiallyNullDate)
initiallyNullDate
- The date.public Date getToday()
public void setToday(Date today)
today
- Todays date.Copyright © 2008–2018. All rights reserved.