| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| Modifier and Type | Field and Description |
|---|---|
static TemporalType<ZonedDateTime,ZonalDateTime> |
TemporalType.ZONED_DATE_TIME
Bridge between the JSR-310-class
java.time.ZonedDateTime and
the class ZonalDateTime. |
| Modifier and Type | Method and Description |
|---|---|
static ZonalDateTime |
ZonalDateTime.from(ZonedDateTime zdt)
Short cut for
TemporalType.ZONED_DATE_TIME.translate(zdt). |
ZonalDateTime |
Moment.inLocalView()
Creates a combination of this moment and system timezone.
|
ZonalDateTime |
Moment.inZonalView(String tzid)
Creates a combination of this moment and given timezone.
|
ZonalDateTime |
Moment.inZonalView(TZID tzid)
Creates a combination of this moment and given timezone.
|
static ZonalDateTime |
ZonalDateTime.parse(String text,
TemporalFormatter<Moment> parser)
Parses given text to a
ZonalDateTime. |
static ZonalDateTime |
ZonalDateTime.read(ObjectInput input)
This is the reverse operation of
write(ObjectOutput). |
Copyright © 2014–2015. All rights reserved.