Here you can find the source of toLocalDateTime(String date, int time)
public static LocalDateTime toLocalDateTime(String date, int time)
//package com.java2s; //License from project: Open Source License import java.time.LocalDateTime; public class Main { public static LocalDateTime toLocalDateTime(String date, int time) { String toParse = String.format("%sT%02d:%02d:00", date, time / 100, time % 100); return LocalDateTime.parse(toParse); }// ww w. ja va2s.c o m }