diff --git a/src/geburtstag/Geburtstag.java b/src/geburtstag/Geburtstag.java index 9d5066e..ca04a1d 100644 --- a/src/geburtstag/Geburtstag.java +++ b/src/geburtstag/Geburtstag.java @@ -21,7 +21,8 @@ public class Geburtstag { myBirthday = setMyBirthday(); System.out.println("Mein Geburtsdatum mit Geburtszeit ist:"); - System.out.println(myBirthday); + System.out.println(myBirthday.getDayOfMonth() + "." + myBirthday.getMonthValue() + "." + myBirthday.getYear() + ", " + + myBirthday.getHour() + ":" + myBirthday.getMinute() + " Uhr"); /* Aufgabe c)