Learn how to query entities using their dates and times fields with Spring Data JPA.
Search Results for: dates and times
Check if a Given Time Lies Between Two Times Regardless of Date
Explore ways to determine if a particular time lies within the two times without considering dates.
Convert Date to Unix Timestamp in Java
Need Unix timestamps from dates in Java? Read further about the conversion in this short article.
Calculate Months Between Two Dates in Java
In this article, we learn how to calculate month intervals between dates in Java.
Format LocalDate to ISO 8601 With T and Z
Explore various techniques for formatting a LocalDate to the ISO 8601 format. This format includes the ‘T’ separator and the ‘Z’ indicating UTC time.
Convert Timestamp String to Long in Java
Learn how to convеrt a timеstamp string to a long valuе.
Convert Epoch Time to LocalDate and LocalDateTime
A quick and practical guide to converting epoch time to LocalDate and LocalDateTime in Java.
Difference Between implementation and compile in Gradle
Learn the difference between “implementation” and “compile” in Gradle and provide best practices for effective dependency management
Hibernate @CreationTimestamp and @UpdateTimestamp
This article explains how to use Hibernate annotations @CreationTimestamp and @UpdateTimestamp to track the creation and update timestamps of an entity in a Java application using the Hibernate framework.
Cassandra – Object Mapping with DataStax Java Driver
There are a few ways to map objects and operations to Cassandra. We look at how to use the DataStax driver to achieve object mapping, queries and native functions.
Create Date From Unix Timestamp in Java
Learn how to transform UNIX time to Date depending on the Java version.
A Guide to Java Source and Target Options
Learn how the -source and -target options work in Java 8 and how they’ve evolved from Java 9 onwards
Cassandra Batch in Cassandra Query Language and Java
Learn about the Cassandra batch query and how to apply it in Cqlsh and Java using BatchStatement.
Remote Monitoring with VisualVM and JMX
A practical guide to remote monitoring of Java applications with VisualVM.
Difference Between Gradle Test and Check
Learn the difference between the Gradle test and check tasks and identify exactly what each one does and when it makes sense to use them
Cassandra Frozen Keyword
Learn about the frozen keyword in Apache Cassandra and how to create frozen collections and user-defined types.
Build a Dashboard With Cassandra, Astra and CQL – Mapping Event Data
Learn how to display events on an interactive map, based on data stored in an Astra database.
Build a Dashboard With Cassandra, Astra, REST & GraphQL – Recording Status Updates
An example of using Cassandra to store time-series data.
Build a Dashboard Using Cassandra, Astra, and Stargate
Learn how to build a dashboard using DataStax Astra, a database-as-a-service powered by Apache Cassandra and Stargate APIs.
Dates in OpenAPI Files
Let’s see how to declare dates in an OpenAPI file, in this case, implemented with Swagger.