| Package | Description |
|---|---|
| net.time4j |
The main package contains four basic types of ISO-8601, namely
PlainDate, PlainTime, PlainTimestamp
and Moment. |
| net.time4j.range |
Interval support.
|
| Modifier and Type | Field and Description |
|---|---|
static Weekcycle |
Weekcycle.YEARS
Constant for week-based years which either have 364 or 371 days.
|
| Modifier and Type | Method and Description |
|---|---|
static Years<Weekcycle> |
Years.between(CalendarWeek w1,
CalendarWeek w2)
Determines the difference in years between given calendar weeks.
|
static Years<Weekcycle> |
Years.ofWeekBased(int years)
Obtains a time span in given week-based years.
|
static Years<Weekcycle> |
Years.parseWeekBased(String period)
Like
parseGregorian(period) but interpretes years as week-based. |
| Modifier and Type | Method and Description |
|---|---|
CalendarWeek |
CalendarWeek.minus(Years<Weekcycle> years)
Subtracts given years from this calendar week.
|
CalendarWeek |
CalendarWeek.plus(Years<Weekcycle> years)
Adds given years to this calendar week.
|
Copyright © 2014–2021. All rights reserved.