|
@ -11,30 +11,6 @@ public class Birthdate { |
|
|
year = y; |
|
|
year = y; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
public int getDay() { |
|
|
|
|
|
return day; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setDay(int day) { |
|
|
|
|
|
this.day = day; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getMonth() { |
|
|
|
|
|
return month; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setMonth(int month) { |
|
|
|
|
|
this.month = month; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public int getYear() { |
|
|
|
|
|
return year; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void setYear(int year) { |
|
|
|
|
|
this.year = year; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @return Date Format TT.DD.YYYY |
|
|
* @return Date Format TT.DD.YYYY |
|
|
*/ |
|
|
*/ |
|
@ -42,4 +18,10 @@ public class Birthdate { |
|
|
return day + "." + month + "." + year; |
|
|
return day + "." + month + "." + year; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
public void changeBirthdate(int d, int m, int y) { |
|
|
|
|
|
day = d; |
|
|
|
|
|
month = m; |
|
|
|
|
|
year = y; |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |