Uses of Class
net.time4j.calendar.hindu.HinduVariant
-
Uses of HinduVariant in net.time4j.calendar.hindu
Modifier and TypeMethodDescriptionstatic HinduVariant
Parses given variant string.AryaSiddhanta.variant()
Obtains the associated non-customizable variant of Hindu calendar.HinduRule.variant()
Creates the associated and customizable variant of Hindu calendar.Creates a copy of this variant with given preferred era.HinduVariant.withAlternativeHinduSunrise()
Deprecated.HinduVariant.withAlternativeLocation(GeoLocation location)
Creates a copy of this variant with an alternative geographical location.HinduVariant.withCurrentYears()
Creates a copy of this variant with current years.HinduVariant.withElapsedYears()
Creates a copy of this variant with elapsed years.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 TypeMethodDescriptionstatic 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.
withModernAstronomy(double)
instead