| Package | Description |
|---|---|
| net.time4j.calendar.hindu |
Support for the traditional Hindu calendar family.
|
| Modifier and Type | Field and Description |
|---|---|
static StdCalendarElement<Weekday,HinduCalendar> |
HinduCalendar.DAY_OF_WEEK
Represents the Hindu day of week.
|
static StdCalendarElement<Integer,HinduCalendar> |
HinduCalendar.DAY_OF_YEAR
Represents the Hindu day of year.
|
static StdCalendarElement<Integer,HinduCalendar> |
HinduCalendar.YEAR_OF_ERA
Represents the Hindu year.
|
| Modifier and Type | Method and Description |
|---|---|
HinduCalendar |
HinduCalendar.nextDay()
Obtains the next day.
|
HinduCalendar |
HinduCalendar.nextMonth()
Obtains the corresponding date of next month.
|
HinduCalendar |
HinduCalendar.nextYear()
Obtains the corresponding date of next year.
|
static HinduCalendar |
HinduCalendar.nowInSystemTime(HinduVariant variant)
Obtains the current calendar date in system time.
|
static HinduCalendar |
HinduCalendar.nowInSystemTime(HinduVariant variant,
StartOfDay startOfDay)
Obtains the current calendar date in system time.
|
static HinduCalendar |
HinduCalendar.of(HinduVariant variant,
HinduEra era,
int yearOfEra,
HinduMonth month,
HinduDay dayOfMonth)
Creates an Hindu calendar with given components.
|
static HinduCalendar |
HinduCalendar.ofOldLunar(int year,
HinduMonth month,
int dayOfMonth)
Creates an old lunisolar Hindu calendar with given components.
|
static HinduCalendar |
HinduCalendar.ofOldSolar(int year,
int month,
int dayOfMonth)
Creates an old solar Hindu calendar with given components.
|
HinduCalendar |
HinduCalendar.previousDay()
Obtains the previous day.
|
HinduCalendar |
HinduCalendar.previousMonth()
Obtains the corresponding date of previous month.
|
HinduCalendar |
HinduCalendar.previousYear()
Obtains the corresponding date of previous year.
|
| Modifier and Type | Method and Description |
|---|---|
GeneralTimestamp<HinduCalendar> |
HinduCalendar.at(PlainTime time)
Creates a new local timestamp with this date and given civil time.
|
GeneralTimestamp<HinduCalendar> |
HinduCalendar.atTime(int hour,
int minute)
Is equivalent to
at(PlainTime.of(hour, minute)). |
static CalendarFamily<HinduCalendar> |
HinduCalendar.family()
Returns the associated calendar family.
|
default ChronoOperator<HinduCalendar> |
AdjustableTextElement.maximized()
Sets the Hindu calendar date to the maximum of this element.
|
default ChronoOperator<HinduCalendar> |
AdjustableTextElement.minimized()
Sets the Hindu calendar date to the minimum of this element.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
HinduMonth.test(HinduCalendar context) |
boolean |
HinduDay.test(HinduCalendar context) |
Copyright © 2014–2021. All rights reserved.