import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.Locale;

public class Main {
    public static void main(String[] args) {
        String strDateTime = "20240310-02.00";
        DateTimeFormatter dtf = DateTimeFormatter.ofPattern("uuuuMMdd-HH.mm", Locale.ENGLISH);
        LocalDateTime ldt = LocalDateTime.parse(strDateTime, dtf);
        LocalDateTime nextDate = ldt.plusDays(1);
        System.out.println(ldt);
        System.out.println(nextDate);

        // In case you need to format nextDate in the input format
        System.out.println(nextDate.format(dtf));
    }
}