Uses of Interface
net.time4j.engine.AttributeKey
Package
Description
Support for various regional calendars.
Support for the Badi calendar.
Support for the French revolutionary calendar.
Support for the traditional Hindu calendar family.
Defines the common generic schemes and interfaces of chronological
systems.
Defines common interfaces for any format support of Time4J.
This package contains the expert-level format- and parse engine of Time4J.
Support for the historical ancestors of modern ISO-8601-standard.
-
Uses of AttributeKey in net.time4j.calendar
Modifier and TypeFieldDescriptionstatic AttributeKey<Character>
EastAsianMonth.LEAP_MONTH_INDICATOR
Format attribute which defines a symbol character for the leap month deviating from standard.static AttributeKey<Boolean>
EastAsianMonth.LEAP_MONTH_IS_TRAILING
Format attribute which defines if the symbol character for the leap month should be printed after the month (default isfalse
for most languages).static AttributeKey<Nengo.Selector>
Nengo.SELECTOR
Format attribute which helps to resolve possible ambivalences in parsing.Modifier and TypeMethodDescriptionstatic AttributeKey<PersianAlgorithm>
PersianAlgorithm.attribute()
Format attribute which helps to resolve algorithmic differences between various Persian dates.static AttributeKey<HebrewMonth.Order>
HebrewMonth.order()
Format attribute which expects months to be numerical with a specific order. -
Uses of AttributeKey in net.time4j.calendar.bahai
Modifier and TypeFieldDescriptionstatic AttributeKey<FormattedContent>
BadiCalendar.TEXT_CONTENT_ATTRIBUTE
Format attribute which controls the content of some text elements like months or weekdays. -
Uses of AttributeKey in net.time4j.calendar.frenchrev
Modifier and TypeMethodDescriptionFrenchRepublicanAlgorithm.attribute()
Format attribute which helps to resolve algorithmic differences between various French republican dates. -
Uses of AttributeKey in net.time4j.calendar.hindu
Modifier and TypeFieldDescriptionstatic AttributeKey<Character>
HinduPrimitive.ADHIKA_INDICATOR
Format attribute which defines a symbol character for leap months or leap days.static AttributeKey<Boolean>
HinduPrimitive.ADHIKA_IS_TRAILING
Format attribute which defines if the symbol character for leap months or leap days should be printed after the element (default isfalse
for most languages).static AttributeKey<Boolean>
HinduMonth.RASI_NAMES
Format attribute which controls if Rasi names or traditional lunisolar names are used for Hindu months in the solar calendar. -
Uses of AttributeKey in net.time4j.engine
Modifier and TypeMethodDescriptionboolean
AttributeQuery.contains(AttributeKey<?> key)
Queries if a format attribute exists for given key.<A> A
AttributeQuery.get(AttributeKey<A> key)
Yields a format attribute for given key.<A> A
AttributeQuery.get(AttributeKey<A> key, A defaultValue)
Yields a format attribute for given key. -
Uses of AttributeKey in net.time4j.format
Modifier and TypeFieldDescriptionstatic AttributeKey<String>
Attributes.CALENDAR_TYPE
Attribute for the calendar type.static AttributeKey<String>
Attributes.CALENDAR_VARIANT
Defines a read-only attribute key which can be used in queries for the calendar variant.static AttributeKey<Character>
Attributes.DECIMAL_SEPARATOR
Determines the unicode char for the decimal separator.static AttributeKey<String>
Attributes.FORMAT_PATTERN
Defines a read-only attribute key which can show the global format pattern when the formatter was directly constructed by a format pattern.static AttributeKey<Boolean>
Attributes.FOUR_DIGIT_YEAR
This attribute controls if style-driven date patterns should always have four-digit-years or not.static AttributeKey<Locale>
Attributes.LANGUAGE
Attribute controlling the language output and parsing of chronological texts (for example month names).static AttributeKey<Leniency>
Attributes.LENIENCY
Attribute which controls the leniency in parsing.static AttributeKey<Boolean>
Attributes.NO_GMT_PREFIX
This attribute controls if the formatter will stop using the localized GMT prefix for representations of localized timezone offsets.static AttributeKey<NumberSystem>
Attributes.NUMBER_SYSTEM
Determines the number system.static AttributeKey<OutputContext>
Attributes.OUTPUT_CONTEXT
Determines the output context to be used in formatting and parsing.static AttributeKey<Character>
Attributes.PAD_CHAR
Determines the pad char to be used for non-decimal elements if a formatted representation is shorter than specified.static AttributeKey<Boolean>
Attributes.PARSE_CASE_INSENSITIVE
This attribute controls if the case of text is irrelevant in parsing or not.static AttributeKey<Boolean>
Attributes.PARSE_MULTIPLE_CONTEXT
This attribute controls if the parser will also try alternative output contexts if parsing with the original one fails.static AttributeKey<Boolean>
Attributes.PARSE_PARTIAL_COMPARE
This attribute controls if the parser will only check the start of a chronological text.static AttributeKey<Integer>
Attributes.PIVOT_YEAR
Determines the pivot year for the representation of two-digit-years.static AttributeKey<Integer>
Attributes.PROTECTED_CHARACTERS
Determines how many remaining chars in a given text are reserved and cannot be consumed by the current format step.static AttributeKey<StartOfDay>
Attributes.START_OF_DAY
Defines an attribute key which can be used in queries for the start of day during formatting or parsing.static AttributeKey<TextWidth>
Attributes.TEXT_WIDTH
Determines the text width to be used in formatting and parsing.static AttributeKey<TimeScale>
Attributes.TIME_SCALE
Attribute for the time scale to be used in parsing or formatting universal timestamps.static AttributeKey<TZID>
Attributes.TIMEZONE_ID
Attribute denoting the timezone identifier for display purposes.static AttributeKey<Boolean>
Attributes.TRAILING_CHARACTERS
Controls if any trailing unparsed characters will be tolerated or not.static AttributeKey<TransitionStrategy>
Attributes.TRANSITION_STRATEGY
Attribute for the conflict strategy to be used in resolving ambivalent or invalid local timestamps.static AttributeKey<Character>
Attributes.ZERO_DIGIT
Determines the unicode char for the zero digit.Modifier and TypeMethodDescriptionboolean
Attributes.contains(AttributeKey<?> key)
<A> A
Attributes.get(AttributeKey<A> key)
<A> A
Attributes.get(AttributeKey<A> key, A defaultValue)
Attributes.Builder.remove(AttributeKey<?> key)
Removes the specified attribute.<A extends Enum<A>>
Attributes.BuilderAttributes.Builder.set(AttributeKey<A> key, A value)
Sets an attribute ofenum
-type.Attributes.Builder.set(AttributeKey<Boolean> key, boolean value)
Sets an attribute ofboolean
-type.Attributes.Builder.set(AttributeKey<Character> key, char value)
Sets an attribute ofchar
-type.Attributes.Builder.set(AttributeKey<Integer> key, int value)
Sets an attribute ofint
-type. -
Uses of AttributeKey in net.time4j.format.expert
Modifier and TypeMethodDescriptionChronoFormatter.Builder.addLiteral(AttributeKey<Character> attribute)
Defines a literal element with a char which will be searched in given format attribute.<A extends Enum<A>>
ChronoFormatter.Builder<T>ChronoFormatter.Builder.startSection(AttributeKey<A> key, A value)
Starts a new section with given sectional attribute.ChronoFormatter.Builder.startSection(AttributeKey<Boolean> key, boolean value)
Starts a new section with given sectional attribute.ChronoFormatter.Builder.startSection(AttributeKey<Character> key, char value)
Starts a new section with given sectional attribute.ChronoFormatter.Builder.startSection(AttributeKey<Integer> key, int value)
Starts a new section with given sectional attribute.<A extends Enum<A>>
ChronoFormatter<T>ChronoFormatter.with(AttributeKey<A> key, A value)
Creates a copy of this formatter with given enum-attribute.ChronoFormatter.with(AttributeKey<Boolean> key, boolean value)
Creates a copy of this formatter with given boolean-attribute.ChronoFormatter.with(AttributeKey<Character> key, char value)
Creates a copy of this formatter with given char-attribute.ChronoFormatter.with(AttributeKey<Integer> key, int value)
Creates a copy of this formatter with given int-attribute. -
Uses of AttributeKey in net.time4j.history
Modifier and TypeFieldDescriptionstatic AttributeKey<YearDefinition>
ChronoHistory.YEAR_DEFINITION
Format attribute controlling the type of historic year used in parsing or formatting.