Stay organized with collections
Save and categorize content based on your preferences.
java.time.temporal
Interfaces
Temporal |
Framework-level interface defining read-write access to a temporal object, such as a date, time, offset or some combination of these.
|
TemporalAccessor |
Framework-level interface defining read-only access to a temporal object, such as a date, time, offset or some combination of these.
|
TemporalAdjuster |
Strategy for adjusting a temporal object.
|
TemporalAmount |
Framework-level interface defining an amount of time, such as "6 hours", "8 days" or "2 years and 3 months".
|
TemporalField |
A field of date-time, such as month-of-year or minute-of-hour.
|
TemporalQuery |
Strategy for querying a temporal object.
|
TemporalUnit |
A unit of date-time, such as Days or Hours.
|
Classes
IsoFields |
Fields and units specific to the ISO-8601 calendar system, including quarter-of-year and week-based-year.
|
JulianFields |
A set of date fields that provide access to Julian Days.
|
TemporalAdjusters |
Common and useful TemporalAdjusters.
|
TemporalQueries |
Common implementations of TemporalQuery .
|
ValueRange |
The range of valid values for a date-time field.
|
WeekFields |
Localized definitions of the day-of-week, week-of-month and week-of-year fields.
|
Exceptions
Enums
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2025-02-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-10 UTC."],[],[],null,["# java.time.temporal\n==================\n\nInterfaces\n----------\n\n|---------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|\n| [Temporal](/reference/kotlin/java/time/temporal/Temporal) | Framework-level interface defining read-write access to a temporal object, such as a date, time, offset or some combination of these. |\n| [TemporalAccessor](/reference/kotlin/java/time/temporal/TemporalAccessor) | Framework-level interface defining read-only access to a temporal object, such as a date, time, offset or some combination of these. |\n| [TemporalAdjuster](/reference/kotlin/java/time/temporal/TemporalAdjuster) | Strategy for adjusting a temporal object. |\n| [TemporalAmount](/reference/kotlin/java/time/temporal/TemporalAmount) | Framework-level interface defining an amount of time, such as \"6 hours\", \"8 days\" or \"2 years and 3 months\". |\n| [TemporalField](/reference/kotlin/java/time/temporal/TemporalField) | A field of date-time, such as month-of-year or minute-of-hour. |\n| [TemporalQuery](/reference/kotlin/java/time/temporal/TemporalQuery) | Strategy for querying a temporal object. |\n| [TemporalUnit](/reference/kotlin/java/time/temporal/TemporalUnit) | A unit of date-time, such as Days or Hours. |\n\nClasses\n-------\n\n|-----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------|\n| [IsoFields](/reference/kotlin/java/time/temporal/IsoFields) | Fields and units specific to the ISO-8601 calendar system, including quarter-of-year and week-based-year. |\n| [JulianFields](/reference/kotlin/java/time/temporal/JulianFields) | A set of date fields that provide access to Julian Days. |\n| [TemporalAdjusters](/reference/kotlin/java/time/temporal/TemporalAdjusters) | Common and useful TemporalAdjusters. |\n| [TemporalQueries](/reference/kotlin/java/time/temporal/TemporalQueries) | Common implementations of `TemporalQuery`. |\n| [ValueRange](/reference/kotlin/java/time/temporal/ValueRange) | The range of valid values for a date-time field. |\n| [WeekFields](/reference/kotlin/java/time/temporal/WeekFields) | Localized definitions of the day-of-week, week-of-month and week-of-year fields. |\n\nExceptions\n----------\n\n|-----------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------|\n| [UnsupportedTemporalTypeException](/reference/kotlin/java/time/temporal/UnsupportedTemporalTypeException) | UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class. |\n\nEnums\n-----\n\n|-----------------------------------------------------------------|---------------------------------------|\n| [ChronoField](/reference/kotlin/java/time/temporal/ChronoField) | A standard set of fields. |\n| [ChronoUnit](/reference/kotlin/java/time/temporal/ChronoUnit) | A standard set of date periods units. |"]]