Uses of Class
net.time4j.engine.CalendarVariant
Packages that use CalendarVariant
Package
Description
The main package contains four basic types of ISO-8601, namely
PlainDate
, PlainTime
, PlainTimestamp
and Moment
.Support for various regional calendars.
Support for the traditional Hindu calendar family.
Defines the common generic schemes and interfaces of chronological
systems.
This package contains the expert-level format- and parse engine of Time4J.
Interval support.
-
Uses of CalendarVariant in net.time4j
Methods in net.time4j with type parameters of type CalendarVariantModifier and TypeMethodDescription<C extends CalendarVariant<C>>
GeneralTimestamp<C>ZonalClock.now(CalendarFamily<C> family, String variant, StartOfDay startOfDay)
Gets the current timestamp in the associated timezone and given chronology taking into account given calendar variant and start of day.<C extends CalendarVariant<C>>
GeneralTimestamp<C>ZonalClock.now(CalendarFamily<C> family, VariantSource variantSource, StartOfDay startOfDay)
Equivalent tonow(chronology, variantSource.getVariant(), startOfDay)
.static <C extends CalendarVariant<C>>
GeneralTimestamp<C>Creates a new timestamp consisting of a calendar variant and a time component.<C extends CalendarVariant<C>>
GeneralTimestamp<C>Moment.toGeneralTimestamp(CalendarFamily<C> family, String variant, TZID tzid, StartOfDay startOfDay)
Converts this instance to a general timestamp in given timezone. -
Uses of CalendarVariant in net.time4j.calendar
Subclasses of CalendarVariant in net.time4j.calendarModifier and TypeClassDescriptionclass
Represents the Hijri calendar used in many islamic countries.class
Represents the historic christian calendar used in most European countries. -
Uses of CalendarVariant in net.time4j.calendar.hindu
Subclasses of CalendarVariant in net.time4j.calendar.hinduModifier and TypeClassDescriptionclass
The traditional Hindu calendar which exists in many regional variants throughout the Indian subcontinent. -
Uses of CalendarVariant in net.time4j.engine
Classes in net.time4j.engine with type parameters of type CalendarVariantModifier and TypeClassDescriptionclass
CalendarFamily<T extends CalendarVariant<T>>
Represents a set of various calendar systems as members of a family.static class
CalendarFamily.Builder<T extends CalendarVariant<T>>
Creates a builder for a new calendar family and will only be used during loading a class of a calendar variant in a static initializer.class
CalendarVariant<D extends CalendarVariant<D>>
Represents an immutable calendar variant.Methods in net.time4j.engine with type parameters of type CalendarVariantModifier and TypeMethodDescriptionstatic <T extends CalendarVariant<T>>
TCalendarDate.from(ChronoLocalDate threeten, CalendarFamily<T> target, String variant)
Converts the calendar date corresponding toChronoLocalDate
in given target chronology and variant.static <T extends CalendarVariant<T>>
TCalendarDate.from(ChronoLocalDate threeten, CalendarFamily<T> target, VariantSource variantSource)
Converts the calendar date corresponding toChronoLocalDate
in given target chronology and variant.static <T extends CalendarVariant<T>>
CalendarFamily.Builder<T>CalendarFamily.Builder.setUp(Class<T> chronoType, ChronoMerger<T> merger, Map<String,? extends CalendarSystem<T>> calendars)
Creates a builder for building a calendar family.default <T extends CalendarVariant<T>>
TConverts this calendar date to the given target type based on the count of days relative to UTC epoch [1972-01-01].default <T extends CalendarVariant<T>>
TCalendarDate.transform(Class<T> target, VariantSource variantSource)
Converts this calendar date to the given target type based on the count of days relative to UTC epoch [1972-01-01].default <T extends CalendarVariant<T>>
TCalendarDate.transform(CalendarFamily<T> target, String variant)
Converts this calendar date to the given target chronology based on the count of days relative to UTC epoch [1972-01-01].default <T extends CalendarVariant<T>>
TCalendarDate.transform(CalendarFamily<T> target, VariantSource variantSource)
Converts this calendar date to the given target chronology based on the count of days relative to UTC epoch [1972-01-01]. -
Uses of CalendarVariant in net.time4j.format.expert
Methods in net.time4j.format.expert with type parameters of type CalendarVariantModifier and TypeMethodDescriptionstatic <C extends CalendarVariant<C>>
ChronoFormatter.Builder<Moment>ChronoFormatter.setUpWithOverride(Locale locale, CalendarFamily<C> overrideCalendar)
Constructs a builder for creating global formatters with usage of given calendar type. -
Uses of CalendarVariant in net.time4j.range
Methods in net.time4j.range with type parameters of type CalendarVariantModifier and TypeMethodDescriptionstatic <D extends CalendarVariant<D>>
CalendarPeriod.Factory<D>CalendarPeriod.on(CalendarFamily<D> family, String variant)
Defines a timeline on which new generic calendar intervals can be created.static <D extends CalendarVariant<D>>
CalendarPeriod.Factory<D>CalendarPeriod.on(CalendarFamily<D> family, VariantSource variant)
Defines a timeline on which new generic calendar intervals can be created.