Home | History | Annotate | Download | only in temporal

Lines Matching refs:time

65  * Access to date and time using fields and units, and date time adjusters.
72 * <li>Units of date-time, such as years, months, days and hours</li>
73 * <li>Fields of date-time, such as month-of-year, day-of-week or hour-of-day</li>
74 * <li>Date-time adjustment functions</li>
81 * A unit is used to measure an amount of time, such as years, days or minutes.
82 * All units implement {@link java.time.temporal.TemporalUnit}.
83 * The set of well known units is defined in {@link java.time.temporal.ChronoUnit}, such as {@code DAYS}.
87 * A field is used to express part of a larger date-time, such as year, month-of-year or second-of-minute.
88 * All fields implement {@link java.time.temporal.TemporalField}.
89 * The set of well known fields are defined in {@link java.time.temporal.ChronoField}, such as {@code HOUR_OF_DAY}.
90 * Additional fields are defined by {@link java.time.temporal.JulianFields}, {@link java.time.temporal.WeekFields}
91 * and {@link java.time.temporal.IsoFields}.
95 * This package provides tools that allow the units and fields of date and time to be accessed
97 * {@link java.time.temporal.Temporal} provides the abstraction for date time types that support fields.
98 * Its methods support getting the value of a field, creating a new date time with the value of
99 * a field modified, and querying for additional information, typically used to extract the offset or time-zone.
111 * A key part of the date-time problem space is adjusting a date to a new, related value,
113 * These are modeled as functions that adjust a base date-time.
114 * The functions implement {@link java.time.temporal.TemporalAdjuster} and operate on {@code Temporal}.
115 * A set of common functions are provided in {@link java.time.temporal.TemporalAdjusters}.
117 * {@link java.time.temporal.TemporalAdjusters#next(DayOfWeek)}, such as
119 * Applications can also define adjusters by implementing {@link java.time.temporal.TemporalAdjuster}.
122 * The {@link java.time.temporal.TemporalAmount} interface models amounts of relative time.
125 * In addition to adjusting a date-time, an interface is provided to enable querying via
126 * {@link java.time.temporal.TemporalQuery}.
130 * Further implementations are provided in {@link java.time.temporal.TemporalQueries} as static methods.
131 * Applications can also define queries by implementing {@link java.time.temporal.TemporalQuery}.
138 * The {@link java.time.temporal.WeekFields} class models this distinction.
143 * This is modeled in {@link java.time.temporal.IsoFields}.
155 * or a {@link java.time.DateTimeException}.
159 package java.time.temporal;