| Package | Description |
|---|---|
| net.time4j.calendar |
Support for various regional calendars.
|
| Modifier and Type | Field and Description |
|---|---|
static StdCalendarElement<Integer,ChineseCalendar> |
ChineseCalendar.DAY_OF_MONTH
Represents the Chinese day of month.
|
static StdCalendarElement<Weekday,ChineseCalendar> |
ChineseCalendar.DAY_OF_WEEK
Represents the Chinese day of week.
|
static StdCalendarElement<Integer,ChineseCalendar> |
ChineseCalendar.DAY_OF_YEAR
Represents the Chinese day of year.
|
static StdCalendarElement<Integer,ChineseCalendar> |
ChineseCalendar.MONTH_AS_ORDINAL
Represents the ordinal index of a Chinese month in the range
1-12/13. |
static OrdinalWeekdayElement<ChineseCalendar> |
ChineseCalendar.WEEKDAY_IN_MONTH
Element with the ordinal day-of-week within given calendar month.
|
static StdCalendarElement<Integer,ChineseCalendar> |
ChineseCalendar.YEAR_OF_ERA
Represents the Chinese year related to the Chinese era.
|
| Modifier and Type | Method and Description |
|---|---|
static ChineseCalendar |
ChineseCalendar.nowInSystemTime()
Obtains the current calendar date in system time.
|
static ChineseCalendar |
ChineseCalendar.of(EastAsianYear year,
EastAsianMonth month,
int dayOfMonth)
Creates a new instance of a Chinese calendar date.
|
static ChineseCalendar |
ChineseCalendar.ofNewYear(int gregorianYear)
Creates a new instance of a Chinese calendar date on traditional New Year.
|
static ChineseCalendar |
ChineseCalendar.ofQingMing(int gregorianYear)
Creates a new instance of a Chinese calendar date on first day of QingMing-festival.
|
| Modifier and Type | Method and Description |
|---|---|
static TimeAxis<ChineseCalendar.Unit,ChineseCalendar> |
ChineseCalendar.axis()
Returns the associated time axis.
|
| Modifier and Type | Method and Description |
|---|---|
int |
ChineseCalendar.Unit.between(ChineseCalendar start,
ChineseCalendar end)
Calculates the difference between given Chinese dates in this unit.
|
Copyright © 2014–2021. All rights reserved.