Part VI — Date-Time and Internationalization
Master temporal operations and global application support with modern date-time APIs and localization frameworks.
What You'll Learn
Leave behind the chaos of legacy date APIs. Use java.time to handle instants, durations, periods, and time zones with clarity and precision. Build applications that serve global audiences through proper formatting, parsing, and resource bundle management.
Chapters in This Part
Chapter 19. java.time
Understand the comprehensive java.time package: Instant for absolute moments, LocalDateTime for human time, ZonedDateTime for global awareness. Learn immutability-first design, arithmetic operations, and when to use each type.
Chapter 20. Temporal and Formatter
Master the Temporal interface hierarchy and powerful DateTimeFormatter for custom, locale-aware formatting and parsing. See how to build formatters compositionally and handle edge cases like ambiguous times during DST transitions.
Chapter 21. Localization and Resource Bundles
Build truly international applications with resource bundles for language-specific content. Learn message formatting, number and currency localization, and the PropertyResourceBundle system for managing translations and region-specific data.