| Package | Description |
|---|---|
| net.time4j.calendar.hindu |
Support for the traditional Hindu calendar family.
|
| Modifier and Type | Method and Description |
|---|---|
static HinduVariant |
HinduVariant.from(String variant)
Parses given variant string.
|
HinduVariant |
HinduRule.variant()
Creates the associated and customizable variant of Hindu calendar.
|
HinduVariant |
AryaSiddhanta.variant()
Obtains the associated non-customizable variant of Hindu calendar.
|
HinduVariant |
HinduVariant.with(HinduEra defaultEra)
Creates a copy of this variant with given preferred era.
|
HinduVariant |
HinduVariant.withAlternativeHinduSunrise()
Deprecated.
Use
withModernAstronomy(double) instead |
HinduVariant |
HinduVariant.withAlternativeLocation(GeoLocation location)
Creates a copy of this variant with an alternative geographical location.
|
HinduVariant |
HinduVariant.withCurrentYears()
Creates a copy of this variant with current years.
|
HinduVariant |
HinduVariant.withElapsedYears()
Creates a copy of this variant with elapsed years.
|
HinduVariant |
HinduVariant.withModernAstronomy(double depressionAngle)
Creates a copy of this variant based on modern astronomy which also deploys an alternative
internal calculation for the sunrise or sunset.
|
| 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.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.
|
Copyright © 2014–2021. All rights reserved.