Dateien nach "/" hochladen
parent
1aafb27609
commit
1d01cd7d9a
|
@ -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);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue