diff --git a/DateFormatConverter.java b/DateFormatConverter.java new file mode 100644 index 0000000..0593683 --- /dev/null +++ b/DateFormatConverter.java @@ -0,0 +1,22 @@ +package Date; + +import java.text.SimpleDateFormat; +import java.util.Date; + +public class DateFormatConverter { + public static String convertDate(String inputDate) { + // Implementiere deine Lösung hier + + return null; // Ersetze diese Zeile mit deinem Ergebnis + } + + public static void main(String[] args) { + // Teste deine Lösung hier + String inputDate = "25.04.2024"; + String convertedDate = convertDate(inputDate); + if (convertedDate != null) { + System.out.println("Ursprüngliches Datum: " + inputDate); + System.out.println("Konvertiertes Datum: " + convertedDate); + } + } +}