In this tutorial, we learn how to convert a protobuf Timestamp instance to a Java LocalDate.
Search Results for: local
Convert TemporalAccessor to LocalDate
Explore different options to convert a TemporalAccessor object to a LocalDate object 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 Long Timestamp to LocalDateTime in Java
Learn how to convert a Long timеstamp to a LocalDatеTimе objеct in Java.
Localized Validation Messages in REST
Learn to localize validation messages in a REST web service.
What Is a TLAB or Thread-Local Allocation Buffer in Java?
A quick and practical guide to TLAB in Java.
Convert Between Java LocalDate and Epoch
Learn how to convert from Java’s LocalDate to Epoch and vice versa.
Convert Epoch Time to LocalDate and LocalDateTime
A quick and practical guide to converting epoch time to LocalDate and LocalDateTime in Java.
Difference Between Instant and LocalDateTime
Learn about the difference between the Instant and LocalDateTime classes introduced with Java 8.
How to Determine Date of the First Day of the Week Using LocalDate in Java
Learn about the date of the first day of the week from LocalDate in Java.
Convert Between LocalDateTime and ZonedDateTime
Learn how to convert an instance of LocalDateTime to ZonedDateTime and vice versa.
Local JAR Files as Gradle Dependencies
Learn how we can add local JAR files to our Gradle dependencies.
Localizing Exception Messages in Java
Learn how to use the getLocalizedMessage() method to provide localized exception messages
Why Are Local Variables Thread-Safe in Java
Learn why local variables are thread-safe in Java.
Creating a LocalDate with Values in Java
Explore all the variants of creating a LocalDate with values in Java.
Skipping Weekends While Adding Days to LocalDate in Java 8
Learn how to add days to Java 8’s LocalDate whilst skipping weekends
Java Localization – Formatting Messages
Learn how to localize and format the messages in Java language.
Why Do Local Variables Used in Lambdas Have to Be Final or Effectively Final?
Learn why Java requires local variables to be effectively final when used in a lambda.
Converting Between LocalDate and XMLGregorianCalendar
Learn how to convert between Java’s LocalDate and XMLGregorianCalendar
Converting Between LocalDate and SQL Date
Learn how to convert between java.sql.Date and java.time.LocalDate