Dateien nach "/" hochladen

main
Nicholas Maximilian Gabriel Schmidtke 2024-04-13 13:15:51 +02:00
parent 1aafb27609
commit 1d01cd7d9a
1 changed files with 22 additions and 0 deletions

View File

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