Partager via


Java.Time.Temporal Namespace

Classes

ChronoField

A standard set of fields.

ChronoUnit

A standard set of date periods units.

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.

UnsupportedTemporalTypeException

UnsupportedTemporalTypeException indicates that a ChronoField or ChronoUnit is not supported for a Temporal class.

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.

Interfaces

ITemporal

Framework-level interface defining read-write access to a temporal object, such as a date, time, offset or some combination of these.

ITemporalAccessor

Framework-level interface defining read-only access to a temporal object, such as a date, time, offset or some combination of these.

ITemporalAdjuster

Strategy for adjusting a temporal object.

ITemporalAmount

Framework-level interface defining an amount of time, such as "6 hours", "8 days" or "2 years and 3 months".

ITemporalField

A field of date-time, such as month-of-year or minute-of-hour.

ITemporalQuery

Strategy for querying a temporal object.

ITemporalUnit

A unit of date-time, such as Days or Hours.