Uses of Interface
net.time4j.engine.AttributeKey
Packages that use 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
Fields in net.time4j.calendar declared as AttributeKeyModifier and TypeFieldDescriptionstatic AttributeKey<Character>EastAsianMonth.LEAP_MONTH_INDICATORFormat attribute which defines a symbol character for the leap month deviating from standard.static AttributeKey<Boolean>EastAsianMonth.LEAP_MONTH_IS_TRAILINGFormat attribute which defines if the symbol character for the leap month should be printed after the month (default isfalsefor most languages).static AttributeKey<Nengo.Selector>Nengo.SELECTORFormat attribute which helps to resolve possible ambivalences in parsing.Methods in net.time4j.calendar that return AttributeKeyModifier 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
Fields in net.time4j.calendar.bahai declared as AttributeKeyModifier and TypeFieldDescriptionstatic AttributeKey<FormattedContent>BadiCalendar.TEXT_CONTENT_ATTRIBUTEFormat attribute which controls the content of some text elements like months or weekdays. -
Uses of AttributeKey in net.time4j.calendar.frenchrev
Methods in net.time4j.calendar.frenchrev that return AttributeKeyModifier and TypeMethodDescriptionFrenchRepublicanAlgorithm.attribute()Format attribute which helps to resolve algorithmic differences between various French republican dates. -
Uses of AttributeKey in net.time4j.calendar.hindu
Fields in net.time4j.calendar.hindu declared as AttributeKeyModifier and TypeFieldDescriptionstatic AttributeKey<Character>HinduPrimitive.ADHIKA_INDICATORFormat attribute which defines a symbol character for leap months or leap days.static AttributeKey<Boolean>HinduPrimitive.ADHIKA_IS_TRAILINGFormat attribute which defines if the symbol character for leap months or leap days should be printed after the element (default isfalsefor most languages).static AttributeKey<Boolean>HinduMonth.RASI_NAMESFormat 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
Methods in net.time4j.engine with parameters of type AttributeKeyModifier and TypeMethodDescriptionbooleanAttributeQuery.contains(AttributeKey<?> key)Queries if a format attribute exists for given key.<A> AAttributeQuery.get(AttributeKey<A> key)Yields a format attribute for given key.<A> AAttributeQuery.get(AttributeKey<A> key, A defaultValue)Yields a format attribute for given key. -
Uses of AttributeKey in net.time4j.format
Fields in net.time4j.format declared as AttributeKeyModifier and TypeFieldDescriptionstatic AttributeKey<String>Attributes.CALENDAR_TYPEAttribute for the calendar type.static AttributeKey<String>Attributes.CALENDAR_VARIANTDefines a read-only attribute key which can be used in queries for the calendar variant.static AttributeKey<Character>Attributes.DECIMAL_SEPARATORDetermines the unicode char for the decimal separator.static AttributeKey<String>Attributes.FORMAT_PATTERNDefines 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_YEARThis attribute controls if style-driven date patterns should always have four-digit-years or not.static AttributeKey<Locale>Attributes.LANGUAGEAttribute controlling the language output and parsing of chronological texts (for example month names).static AttributeKey<Leniency>Attributes.LENIENCYAttribute which controls the leniency in parsing.static AttributeKey<Boolean>Attributes.NO_GMT_PREFIXThis attribute controls if the formatter will stop using the localized GMT prefix for representations of localized timezone offsets.static AttributeKey<NumberSystem>Attributes.NUMBER_SYSTEMDetermines the number system.static AttributeKey<OutputContext>Attributes.OUTPUT_CONTEXTDetermines the output context to be used in formatting and parsing.static AttributeKey<Character>Attributes.PAD_CHARDetermines the pad char to be used for non-decimal elements if a formatted representation is shorter than specified.static AttributeKey<Boolean>Attributes.PARSE_CASE_INSENSITIVEThis attribute controls if the case of text is irrelevant in parsing or not.static AttributeKey<Boolean>Attributes.PARSE_MULTIPLE_CONTEXTThis attribute controls if the parser will also try alternative output contexts if parsing with the original one fails.static AttributeKey<Boolean>Attributes.PARSE_PARTIAL_COMPAREThis attribute controls if the parser will only check the start of a chronological text.static AttributeKey<Integer>Attributes.PIVOT_YEARDetermines the pivot year for the representation of two-digit-years.static AttributeKey<Integer>Attributes.PROTECTED_CHARACTERSDetermines 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_DAYDefines an attribute key which can be used in queries for the start of day during formatting or parsing.static AttributeKey<TextWidth>Attributes.TEXT_WIDTHDetermines the text width to be used in formatting and parsing.static AttributeKey<TimeScale>Attributes.TIME_SCALEAttribute for the time scale to be used in parsing or formatting universal timestamps.static AttributeKey<TZID>Attributes.TIMEZONE_IDAttribute denoting the timezone identifier for display purposes.static AttributeKey<Boolean>Attributes.TRAILING_CHARACTERSControls if any trailing unparsed characters will be tolerated or not.static AttributeKey<TransitionStrategy>Attributes.TRANSITION_STRATEGYAttribute for the conflict strategy to be used in resolving ambivalent or invalid local timestamps.static AttributeKey<Character>Attributes.ZERO_DIGITDetermines the unicode char for the zero digit.Methods in net.time4j.format that return AttributeKeyMethods in net.time4j.format with parameters of type AttributeKeyModifier and TypeMethodDescriptionbooleanAttributes.contains(AttributeKey<?> key)<A> AAttributes.get(AttributeKey<A> key)<A> AAttributes.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
Methods in net.time4j.format.expert with parameters of type AttributeKeyModifier 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
Fields in net.time4j.history declared as AttributeKeyModifier and TypeFieldDescriptionstatic AttributeKey<YearDefinition>ChronoHistory.YEAR_DEFINITIONFormat attribute controlling the type of historic year used in parsing or formatting.