| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.engine |
Defines the common generic schemes and interfaces of chronological
systems.
|
| Modifier and Type | Method and Description |
|---|---|
ChronoFunction<ChronoDisplay,String> |
DayPeriod.approximate()
Equivalent to
approximate(TextWidth.WIDE, OutputContext.FORMAT). |
ChronoFunction<ChronoDisplay,String> |
DayPeriod.approximate(TextWidth width,
OutputContext outputContext)
Represents a flexible day period (in the afternoon, at night etc).
|
ChronoFunction<Moment,V> |
ZonalElement.at(ZonalOffset offset)
Creates a function which can query a
Moment at the
given timezone offset. |
ChronoFunction<Moment,V> |
ZonalElement.atUTC()
Equivalent to
at(ZonalOffset.UTC). |
ChronoFunction<ChronoDisplay,String> |
DayPeriod.fixed()
Equivalent to
fixed(TextWidth.WIDE, OutputContext.FORMAT). |
ChronoFunction<ChronoDisplay,String> |
DayPeriod.fixed(TextWidth width,
OutputContext outputContext)
Represents a fixed day period (am / pm / midnight / noon).
|
ChronoFunction<Moment,V> |
ZonalElement.in(Timezone tz)
Creates a function which can query a
Moment in the
given timezone. |
ChronoFunction<Moment,V> |
ZonalElement.inStdTimezone()
Creates a function which can query a
Moment in the
system timezone. |
ChronoFunction<Moment,V> |
ZonalElement.inTimezone(TZID tzid)
Creates a function which can query a
Moment in the
given timezone. |
ChronoFunction<ChronoEntity<?>,BigDecimal> |
ProportionalElement.ratio()
Defines a query which interpretes the value of this element as
proportional rational number within the range between minimum and
maximum.
|
| Modifier and Type | Method and Description |
|---|---|
static <T extends UnixTime> |
StartOfDay.definedBy(ChronoFunction<CalendarDate,Optional<T>> event)
Obtains the start of a calendar day as determined by given date function.
|
<R> R |
ChronoEntity.get(ChronoFunction<? super T,R> function)
Lets given query evaluate this entity.
|
Copyright © 2014–2017. All rights reserved.