public class PersonalData extends Object implements IPersonalData
| Modifier and Type | Field and Description |
|---|---|
private java.time.LocalDateTime |
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(java.time.LocalDateTime 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 java.time.LocalDateTime birthDate
public int getAge(java.time.LocalDateTime now)
IPersonalDatagetAge in interface IPersonalDatanow - dateCopyright © 2011-2018 Sahits GmbH. All Rights Reserved.