Tag

TimeAPI

1 views collected around this technical thread.

Selected Java Interview Questions
Selected Java Interview Questions
Feb 12, 2023 · Backend Development

Comprehensive Guide to Java 8 Date and Time API

This article provides a thorough walkthrough of Java 8's date‑time API, covering formatting patterns, obtaining current dates and times, extracting components, creating specific dates, comparing dates, handling periodic events, timezone offsets, timestamps, custom parsing, common pitfalls, and thread‑safety considerations, all illustrated with clear code examples.

DateTimeDateTimeFormatterJava
0 likes · 24 min read
Comprehensive Guide to Java 8 Date and Time API
Top Architect
Top Architect
Aug 11, 2022 · Backend Development

18 Practical Java 8 Date/Time Handling Examples

This article presents 18 practical techniques for using Java 8’s new date‑time API, demonstrating how to obtain, manipulate, compare, format, and calculate dates and times with immutable, thread‑safe classes such as LocalDate, LocalTime, ZonedDateTime, and Instant, while providing full code examples for each use case.

BackendDateTimeJava
0 likes · 11 min read
18 Practical Java 8 Date/Time Handling Examples