Learn how to find the date of Easter Sunday for the given year using three algorithms in Java.
Also find me here:
Baeldung Author
Thibault Faure
I am a passionate French developer, currently living in Marseille. I enjoy a lot to share knowledge with others. I write mostly about Java&Spring, but also about Maven, Git, Docker, Kubernetes and others.
Here's what I've written (so far):
Baeldung on Java
- All
- Testing (5)
- Java Dates (5)
- Maven (3)
- Java String (3)
- Java Array (2)
- Java (2)
- Algorithms (2)
- REST (1)
- Java Streams (1)
- Jackson (1)
- JVM (1)
- JSON (1)
- IDE (1)
Fix Ambiguous Method Call Error in Mockito
Filed under Testing
Learn how to avoid ambiguous method calls in the specific context of the Mockito framework.
Find the Equilibrium Indexes of an Array in Java
Filed under Algorithms, Java Array
Learn what an equilibrium index of an array is and how to identify it.
Injecting @Mock and @Captor in JUnit 5 Method Parameters
Filed under Testing
Learn how to inject the @Mock and @Captor annotations in unit test method parameters.
Simple Morse Code Translation in Java
Filed under Java String
Learn how to translate from English to Morse code and vice versa.
Unreachable Statements in Java
Filed under Java
Learn about unreachable statements in Java.
Arrays mismatch() Method in Java
Filed under Java Array
Learn about the Arrays mismatch() method.
Wrapping a String After a Number of Characters Word-Wise
Filed under Java String
Learn to wrap a sentence automatically after a given number of characters.
Maven Multi-Module Project Coverage With Jacoco
Filed under Maven
Learn how to build a Maven multi-module project with Jacoco coverage.
How to Speed Up Maven Build
Filed under Maven
Learn how to speed up Maven builds.
Starting the Maven Build From the Point Where It Failed
Filed under Maven
Learn how to resume a Maven build after failure.
Throw Exception for Unexpected Input for Enum With MapStruct
Filed under Java
Learn how to map one enum to another with MapStruct.
Read Date in Java Using Scanner
Filed under Java Dates
Learn how to read a Date from a Scanner.
Matching Null With Mockito
Filed under Testing
Learn how to use Mockito to check if null is passed as an argument to a method.
Resolving Mockito Exception: Wanted But Not Invoked
Filed under Testing
Learn how to resolve Mockito Exception: Wanted But Not Invoked.
How Many Days Are There in a Particular Month of a Given Year?
Filed under Java Dates
Learn how to find the number of days in a particular month of a given year when programming in Java.
Solving Gson Parsing Errors
Filed under JSON
Learn about some common Gson errors and how to fix them.
Send MultipartFile Request With RestAssured
When testing, we may wish to send uploads to endpoints that use Multipart data. We look at how RestAssured can help us with these tests and how to mock those services with Wiremock.
Find the Longest Word in a Given String in Java
Filed under Java String
Learn how to find the longest words in a sentence.
JetBrains @Contract Annotation
Filed under IDE
Learn how to use the JetBrains @Contract annotation.
Map Date Types With OpenAPI Generator
Filed under Java Dates
Learn how to map dates in various formats with OpenAPI
The JVM Run-Time Data Areas
Filed under JVM
Explore different types of runtime data areas and their purpose.
Object Validation After Deserialization
Filed under Jackson
Learn how to use Java’s Validation API to validate objects after deserialization.
Finding Max Date in List Using Streams
Filed under Java Dates, Java Streams
Learn how to find the maximal date in a list of objects using Streams.
Baeldung on Ops
- All
- Kubernetes (1)
- Jenkins (1)
- Git (1)
Understanding Pod Lifecycle in Kubernetes
Filed under Kubernetes
Dive deep into the Kubernetes pod lifecycle.
Configure Git Branch Selection in Jenkins
Learn how to configure a Git branch selection in Jenkins.