public class PersonalData extends Object implements IPersonalData
| Modifier and Type | Field and Description |
|---|---|
private org.joda.time.DateTime |
birthDate |
private ICity |
birthPlace |
private String |
lastName |
private boolean |
male |
private String |
name |
| Constructor and Description |
|---|
PersonalData() |
| Modifier and Type | Method and Description |
|---|---|
int |
getAge(org.joda.time.DateTime now)
Compute the current age
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBirthDate, getBirthPlace, getLastName, getName, isMaleprivate final String name
private final String lastName
private final boolean male
private final ICity birthPlace
private final org.joda.time.DateTime birthDate
public int getAge(org.joda.time.DateTime now)
IPersonalDatagetAge in interface IPersonalDatanow - dateCopyright © 2011-2016 Sahits GmbH. All Rights Reserved.