[fix] java: incompatible types: double cannot be converted to java.lang.Integer Generics
How to fix Java: incompatible types: double cannot be converted to java.lang.Integer/Float/Double/Boolean/Character.
[Fix] Java: Type argument cannot be of primitive type generics
How to fix Java: The type argument cannot be of the primitive type in generics code.
Java 8: Get First and Last Date of the Week for Given Date
In this tutorial, we will take a look at how to get the First and Last Date of the Week using Java 8 TemporalAdjusters.
[Fix] java.time.zone.ZoneRulesException: Unknown time-zone ID
How to fix java.time.zone.ZoneRulesException: Unknown time-zone ID error.
Best way to calculate elapsed time in Java using Java 8 Duration & Instant Class with Nanoseconds precision
In this article, we will take a look at the best way to calculate elapsed time in Java using Java 8 Duration & Instant Class with Nanoseconds precision.
Java java.time.Clock class code examples [Java Date Time API]
In this tutorial, we will take a look at the java.time.Clock class with code examples.
Add days/weeks/months/years to LocalDate in Java 8 and above examples
How to add days/weeks/months/years to LocalDate in Java 8 and above with code examples
Java Date Time API: LocalDateTime get(TemporalField field) examples
In this tutorial, we will take a look at how to make use of the Java Date Time API: LocalDateTime get(TemporalField field) with examples
Java get day of the week as an int using DayOfWeek
In this example, take a look at how to get the day of the week as an int using DayOfWeek.
Java 8+ get Day of the Week Examples with LocalDateTime, DateTime, ZonalDateTime and Instant classes
In this article, we will take a look at how to get Day of the Week Examples with LocalDateTime, DateTime and ZonalDateTime classes.
Convert Instant timestamp into LocalDateTime Java Code Example
In this code example, we will take a look at how to convert Instant timestamp into LocalDateTime Java Code Example.
[Fix] java: integer number too large compilation error
In this example, we will see how to fix java: integer number too large compilation error
[Fix] Instant java.time.temporal.UnsupportedTemporalTypeException: Unsupported unit: Years
How to fix java.time.temporal.UnsupportedTemporalTypeException: Unsupported unit: Years
How to add hours and minutes to Java Instant
In this example, we will take a look at how we can add hours and minutes to the Java Instant Class object.
Java 8 Display time in 12 hour AM PM format
In this Java 8 example, we will take a look at how to display time in 12-hour AM PM format.
Java 8 Format Date and Time Examples
In this example, we will take a deeper look at how to format Date and Time in Java 8.
Get Current Local Date and Time using Java 8 DateTime API
In the article, let us take a look at getting the current Local Date and Time using Java 8 DateTime API.
Iterate over an Array using Java 8 Stream and foreach
In this Java 8 example, we will take a look at how to iterate over an Array using Java 8 Stream and foreach method.
Exception in thread main java.nio.file.NoSuchFileException
How to fix: Exception in thread main java.nio.file.NoSuchFileException exception.
Read a file using Java 8 Stream
In this tutorial, we will take a look at how to read a file using Java 8 Stream.