| Package | Description |
|---|---|
| net.time4j.engine |
Defines the common generic schemes and interfaces of chronological
systems.
|
| net.time4j.format |
Format support of Time4J.
|
| Modifier and Type | Method and Description |
|---|---|
T |
ChronoMerger.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing)
Konstruiert eine neue Entität basierend auf den angegebenen
chronologischen Daten.
|
T |
Chronology.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing) |
T |
ChronoMerger.createFrom(TimeSource<?> clock,
AttributeQuery attributes)
Creates a new entity which reflects current time.
|
T |
Chronology.createFrom(TimeSource<?> clock,
AttributeQuery attributes) |
Set<ChronoElement<?>> |
ChronoExtension.getElements(Locale locale,
AttributeQuery attributes)
Returns the element set for given configuration.
|
ChronoEntity<?> |
ChronoMerger.preformat(T context,
AttributeQuery attributes)
Transforms the current context/entity into another entity which
finally shall be formatted using given attributes.
|
ChronoEntity<?> |
Chronology.preformat(T context,
AttributeQuery attributes) |
| Modifier and Type | Class and Description |
|---|---|
class |
Attributes
A collection of format attributes for controlling the formatting
and parsing.
|
| Modifier and Type | Method and Description |
|---|---|
static AttributeQuery |
Attributes.empty()
Represents an empty collection of format attributes.
|
| Modifier and Type | Method and Description |
|---|---|
V |
TextElement.parse(CharSequence text,
ParseLog status,
AttributeQuery attributes)
Interpretes the given text as element value.
|
T |
ChronoParser.parse(CharSequence text,
ParseLog status,
AttributeQuery attributes)
Interpretes given text starting at the position defined in
parse-log.
|
T |
ChronoFormatter.parse(CharSequence text,
ParseLog status,
AttributeQuery attributes)
Interpretes given text as chronological entity starting
at the specified position in parse log.
|
<V extends Enum<V>> |
CalendarText.Accessor.parse(CharSequence parseable,
ParseLog status,
Class<V> valueType,
AttributeQuery attributes)
Interpretes given text form as enum-based element value.
|
void |
TextElement.print(ChronoEntity<?> context,
Appendable buffer,
AttributeQuery attributes)
Converts the element value in given context to a formatted text.
|
Object |
ChronoPrinter.print(T formattable,
Appendable buffer,
AttributeQuery attributes)
Creates a text output and writes it into given buffer.
|
Set<ElementPosition> |
ChronoFormatter.print(T formattable,
Appendable buffer,
AttributeQuery attributes)
Prints given chronological entity as formatted text and writes
the text into given buffer.
|
Copyright © 2014. All rights reserved.