Package | Description |
---|---|
javax.time.calendar |
Provides classes to manage the human time scale including date, time,
date-time and time-zone representations.
|
Modifier and Type | Class and Description |
---|---|
class |
LocalDateTime
A date-time without a time-zone in the ISO-8601 calendar system,
such as
2007-12-03T10:15:30 . |
class |
LocalTime
A time without time-zone in the ISO-8601 calendar system,
such as
10:15:30 . |
class |
OffsetDateTime
A date-time with a zone offset from UTC in the ISO-8601 calendar system,
such as
2007-12-03T10:15:30+01:00 . |
class |
OffsetTime
A time with a zone offset from UTC in the ISO-8601 calendar system,
such as
10:15:30+01:00 . |
Modifier and Type | Method and Description |
---|---|
LocalTime |
LocalTime.with(TimeAdjuster adjuster)
Returns a copy of this
LocalTime with the time altered using the adjuster. |
ZonedDateTime |
ZonedDateTime.with(TimeAdjuster adjuster)
Returns a copy of this
ZonedDateTime with the time altered using the adjuster. |
OffsetTime |
OffsetTime.with(TimeAdjuster adjuster)
Returns a copy of this
OffsetTime with the time altered using the adjuster. |
LocalDateTime |
LocalDateTime.with(TimeAdjuster adjuster)
Returns a copy of this
LocalDateTime with the time altered using the adjuster. |
OffsetDateTime |
OffsetDateTime.with(TimeAdjuster adjuster)
Returns a copy of this OffsetDateTime with the time altered using the adjuster.
|
ZonedDateTime |
ZonedDateTime.with(TimeAdjuster adjuster,
ZoneResolver resolver)
Returns a copy of this
ZonedDateTime with the time altered using the
adjuster, providing a resolver to handle an invalid date-time. |
Copyright © 2014. All rights reserved.