Month: July 2019

Java, DateTimeFormatter

To format Java 8 LocalDate, LocalTime or LocalDateTime. We can use DateTimeFormatter. Month Output Day Output Year Output Day Of […]

Read More

Java – Period

Suppose you’re assign a job to run a program started from 1st of January 2019 until end of April 2019. […]

Read More

Java Array, ArrayList Conversion

Convert List to Array List<String> list = new ArrayList<>();list.add(“man”);list.add(“women”);String[] arr = list.toArray(new String[list.size()]);System.out.println(Arrays.toString(arr)); Convert Array to List String[] arr = […]

Read More