| 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 | Class and Description |
|---|---|
class |
PlainDate
Represents a plain calendar date in conformance to ISO-8601-standard using the gregorian calendar rules
for all times.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CalendarVariant<D extends CalendarVariant<D>>
Represents an immutable calendar variant.
|
class |
Calendrical<U,D extends Calendrical<U,D>>
Abstract base class of all plain calendar date types which are
convertible via their day epoch numbers.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<Chronology<? extends CalendarDate>> |
CalendarProvider.findChronology(String name)
Obtains a suitable chronology for given name.
|
| Modifier and Type | Method and Description |
|---|---|
static CalendarDays |
CalendarDays.between(CalendarDate start,
CalendarDate end)
Calculates the delta of calendar days between given calendar dates.
|
boolean |
Calendrical.isAfter(CalendarDate date) |
boolean |
CalendarVariant.isAfter(CalendarDate other) |
boolean |
Calendrical.isBefore(CalendarDate date) |
boolean |
CalendarVariant.isBefore(CalendarDate other) |
boolean |
Calendrical.isSimultaneous(CalendarDate date) |
boolean |
CalendarVariant.isSimultaneous(CalendarDate other) |
| 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.
|
Copyright © 2014–2017. All rights reserved.