Learn how to find the number of days in a particular month of a given year when programming 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 (4)
- Java String (3)
- Java Array (3)
- Algorithms (3)
- Java (2)
- JVM (2)
- REST (1)
- Java Streams (1)
- Java List (1)
- Jakarta EE (1)
- Jackson (1)
- JSON (1)
- IDE (1)
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 and Min Date in List Using Streams
Filed under Java Dates, Java List, Java Streams
Learn how to find the maximal date in a list of objects using Streams.
Baeldung on Ops
- All
- Git (3)
- Kubernetes (1)
- Jenkins (1)
Recover a Git Branch After Its Deletion
Filed under Git
Accidentally deleted a Git branch? Don’t panic! This tutorial shows you how to recover it using the reflog and git fsck. Even if the branch is gone, its commits might still be recoverable.
Delete All Git Branches Which Have Been Merged
Filed under Git
Learn how to delete all merged branches for an appropriate clean-up
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.