Package net.time4j.engine
Interface VariantSource
- All Known Implementing Classes:
CalendarVariant
,ChronoHistory
,GeneralTimestamp
,HijriAdjustment
,HijriAlgorithm
,HijriCalendar
,HinduCalendar
,HinduVariant
,HistoricCalendar
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Provides the name of any calendar variant.
- Since:
- 3.6/4.4
- Author:
- Meno Hochschild
-
Method Summary
Modifier and TypeMethodDescriptionYields the variant name of a calendar system.
-
Method Details
-
getVariant
String getVariant()Yields the variant name of a calendar system.
- Returns:
- String which is empty if there are no variants
- Since:
- 3.6/4.4
-