Let’s see how to declare dates in an OpenAPI file, in this case, implemented with Swagger.
Search Results for: dates and times
A Guide to False Sharing and @Contended
Learn how sometimes false sharing might cause counterproductive effects on the performance of multithreaded applications
CQRS and Event Sourcing in Java
Explore the basic concepts of the CQRS and Event Sourcing design patterns.
Generating Random Dates in Java
Learn how to generate random dates in Java
Comparing Dates in Java
Learn how to compare dates in Java.
Formatting JSON Dates in Spring Boot
Explore a number of different ways to format JSON dates in a Spring Boot application.
DB Integration Tests with Spring Boot and Testcontainers
Learn how to create powerful integration tests with Spring Boot and Testcontainers that connect to a dockerized database image
An Introduction to ZGC: A Scalable and Experimental Low-Latency JVM Garbage Collector
Explore how Z Garbage Collector manages to keep low pause times on even multi-terabyte heaps.
Differences Between ZonedDateTime and OffsetDateTime
Explore the differences between the ZonedDateTime and the OffsetDateTime classes in Java
What Is Thread-Safety and How to Achieve It?
Learn about the different use cases for thread-safety and concurrent access.
Internationalization and Localization in Java 8
Have a look at the Java 8 support for internationalizing and localization of an application.
Handling Daylight Savings Time in Java
Learn how to account for DST in Java.
Getting Started with Java and Zookeeper
Explore the Java API of Apache Zookeeper – a distributed coordination service which eases the development of distributed applications
Convert Date to LocalDate or LocalDateTime and Back
Learn about possible ways of converting the between old java.util.Date classes and new java.time API.
Display All Time Zones With GMT and UTC in Java
Take a look at displaying all time zones with GMT and UTC offsets.
Hibernate – Mapping Date and Time
Discover how to map Date/Time properly using Hibernate.
Difference Between Two Dates in Java
Learn how to calculate the difference between dates in Java, using native approach, as well as external libraries.
Converters, Listeners and Validators in Java EE 7
Learn about converters, listeners, and validators provided by Java EE 7.
How to Work with Dates in Thymeleaf
A quick and practical guide to working with dates in Thymeleaf
Auditing with JPA, Hibernate, and Spring Data JPA
This article demonstrates three approaches to introducing auditing into an application: JPA, Hibernate Envers, and Spring Data JPA.