| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| Modifier and Type | Class and Description |
|---|---|
class |
CalendarUnit
Represents the most common time units related to a standard
ISO-8601-calendar.
|
| Modifier and Type | Method and Description |
|---|---|
IsoDateUnit |
CalendarUnit.atEndOfMonth()
Defines a variation of this unit which always sets the resulting
date in additions and subtractions to the end of month even if there
is no day overflow.
|
IsoDateUnit |
CalendarUnit.nextValidDate()
Defines a variation of this unit which resolves invalid intermediate
dates in additions and subtractions to the first valid date after
(the first day of following month).
|
IsoDateUnit |
CalendarUnit.unlessInvalid()
Defines a variation of this unit which handles invalid
intermediate dates in additions and subtractions by throwing
a
ChronoException. |
static IsoDateUnit |
CalendarUnit.weekBasedYears()
Defines a special calendar unit for week-based years which are
not bound to the calendar year but to the week cycle of a year
preserving the day of week and (if possible) the week of year.
|
IsoDateUnit |
CalendarUnit.withCarryOver()
Defines a variation of this unit which resolves invalid intermediate
dates in additions and subtractions by transferring any day overflow
to the following month.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeAxis<IsoDateUnit,PlainDate> |
PlainDate.axis()
Provides a static access to the associated chronology on base of
epoch days which contains the chronological rules.
|
Copyright © 2014. All rights reserved.