Uses of Class
net.time4j.engine.CalendarFamily
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 CalendarFamily in net.time4j
Modifier 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)
.<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 CalendarFamily in net.time4j.calendar
Modifier and TypeMethodDescriptionstatic CalendarFamily<HijriCalendar>
HijriCalendar.family()
Returns the associated calendar family.static CalendarFamily<HistoricCalendar>
HistoricCalendar.family()
Returns the associated calendar family. -
Uses of CalendarFamily in net.time4j.calendar.hindu
Modifier and TypeMethodDescriptionstatic CalendarFamily<HinduCalendar>
HinduCalendar.family()
Returns the associated calendar family. -
Uses of CalendarFamily in net.time4j.engine
Modifier and TypeMethodDescriptionCalendarFamily.Builder.build()
Creates and registers a calendar family.Modifier 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.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 CalendarFamily in net.time4j.format.expert
Modifier 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 CalendarFamily in net.time4j.range
Modifier 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.