|
@ -24,12 +24,18 @@ public class Birthdate { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @return Date Format TT.DD.YYYY |
|
|
|
|
|
|
|
|
* @return Date Format DD.MM.YYYY |
|
|
*/ |
|
|
*/ |
|
|
public String toString() { |
|
|
public String toString() { |
|
|
return day + "." + month + "." + year; |
|
|
return day + "." + month + "." + year; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* |
|
|
|
|
|
* @param d Day |
|
|
|
|
|
* @param m Month |
|
|
|
|
|
* @param y Year |
|
|
|
|
|
*/ |
|
|
public void changeBirthdate(int d, int m, int y) { |
|
|
public void changeBirthdate(int d, int m, int y) { |
|
|
day = d; |
|
|
day = d; |
|
|
month = m; |
|
|
month = m; |
|
|