D
- the concrete type for the date of this date-timepublic interface ChronoLocalDateTime<D extends ChronoLocalDate> extends Temporal, TemporalAdjuster, Comparable<ChronoLocalDateTime<?>>
Most applications should declare method signatures, fields and variables
as LocalDateTime
, not this interface.
A ChronoLocalDateTime
is the abstract representation of a local date-time
where the Chronology chronology
, or calendar system, is pluggable.
The date-time is defined in terms of fields expressed by TemporalField
,
where most common implementations are defined in ChronoField
.
The chronology defines how the calendar system operates and the meaning of
the standard fields.
LocalDateTime
rather than this
interface, even in the case where the application needs to deal with multiple
calendar systems. The rationale for this is explored in detail in ChronoLocalDate
.
Ensure that the discussion in ChronoLocalDate
has been read and understood
before using this interface.
Modifier and Type | Method | Description |
---|---|---|
default Temporal |
adjustInto(Temporal temporal) |
Adjusts the specified temporal object to have the same date and time as this object.
|
ChronoZonedDateTime<D> |
atZone( |