Interface Described

All Known Subinterfaces:
ChristianHolidayConfiguration, EthiopianOrthodoxHolidayConfiguration, FixedHolidayConfiguration, FixedWeekdayBetweenFixedHolidayConfiguration, FixedWeekdayInMonthHolidayConfiguration, FixedWeekdayRelativeToFixedHolidayConfiguration, IslamicHolidayConfiguration, RelativeToEasterSundayHolidayConfiguration, RelativeToFixedHolidayConfiguration, RelativeToWeekdayInMonthHolidayConfiguration

public interface Described
Provides the functionality to describe a holiday with a name represented by the `descriptionPropertiesKey` and a `holidayType` holiday type that can be one of the provides HolidayTypes
  • Method Details

    • descriptionPropertiesKey

      @NonNull String descriptionPropertiesKey()
      The properties key will be used to translate the holiday into the requested language
      Returns:
      the properties key to use to translate
    • holidayType

      @NonNull HolidayType holidayType()
      Represents the type of the holiday. Different holiday types are available in HolidayType
      Returns:
      the holiday type
    • descriptionPropertiesKeyPrefix

      default @NonNull String descriptionPropertiesKeyPrefix()
    • descriptionPropertiesKeyPrefixSeparator

      default @NonNull String descriptionPropertiesKeyPrefixSeparator()