| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| Modifier and Type | Method and Description |
|---|---|
static AnnualDate |
AnnualDate.from(GregorianDate date)
Converts given gregorian date to an annual date.
|
static AnnualDate |
AnnualDate.from(MonthDay monthDay)
Converts given JSR-310 type to an annual date.
|
static AnnualDate |
AnnualDate.nowInSystemTime()
Obtains the current annual date in system time.
|
static AnnualDate |
AnnualDate.of(int month,
int dayOfMonth)
Creates a new annual date.
|
static AnnualDate |
AnnualDate.of(Month month,
int dayOfMonth)
Creates a new annual date.
|
static AnnualDate |
AnnualDate.parseXML(String xml)
Parses given string to an annual date where the input is in XML-format "--MM-dd".
|
| Modifier and Type | Method and Description |
|---|---|
static Chronology<AnnualDate> |
AnnualDate.chronology()
Yields the associated chronology.
|
| Modifier and Type | Method and Description |
|---|---|
int |
AnnualDate.compareTo(AnnualDate other) |
boolean |
AnnualDate.isAfter(AnnualDate temporal) |
boolean |
AnnualDate.isBefore(AnnualDate temporal) |
boolean |
AnnualDate.isSimultaneous(AnnualDate temporal) |
Copyright © 2014–2021. All rights reserved.