deutsche Datums-Pattern
This commit is contained in:
parent
ad0b5d4d05
commit
ccd228fd3d
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue