| Package | Description |
|---|---|
| net.time4j.calendar.hindu |
Support for the traditional Hindu calendar family.
|
| Modifier and Type | Field and Description |
|---|---|
static ChronoElement<HinduEra> |
HinduCalendar.ERA
Represents the Hindu era.
|
| Modifier and Type | Method and Description |
|---|---|
HinduEra |
HinduVariant.getDefaultEra()
Obtains the default era.
|
HinduEra |
HinduCalendar.getEra()
Obtains the era from the current Hindu variant.
|
static HinduEra |
HinduEra.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HinduEra[] |
HinduEra.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static boolean |
HinduCalendar.isValid(HinduVariant variant,
HinduEra era,
int yearOfEra,
HinduMonth month,
HinduDay dayOfMonth)
Queries if given parameter values form a well defined Hindu date before instantiating the date.
|
static HinduCalendar |
HinduCalendar.of(HinduVariant variant,
HinduEra era,
int yearOfEra,
HinduMonth month,
HinduDay dayOfMonth)
Creates an Hindu calendar with given components.
|
HinduVariant |
HinduVariant.with(HinduEra defaultEra)
Creates a copy of this variant with given preferred era.
|
int |
HinduEra.yearOfEra(HinduEra era,
int yearOfEra)
Scales given year of era to another year related to this era.
|
Copyright © 2014–2021. All rights reserved.