Browse Source

Refactoring: Fixing Comments in Birthdate

feature-pr/user
Maxim Volkov 3 years ago
parent
commit
64fbd34031
  1. 8
      projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Birthdate.java

8
projjpn/src/main/java/de/hs_fulda/ciip/projjpn/Birthdate.java

@ -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;

Loading…
Cancel
Save