| Package | Description |
|---|---|
| net.time4j.engine |
Defines the common generic schemes and interfaces of chronological
systems.
|
| net.time4j.format |
Defines common interfaces for any format support of Time4J.
|
| Modifier and Type | Method and Description |
|---|---|
T |
ChronoMerger.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing)
Creates a new entity of type T based on given chronological
data.
|
T |
Chronology.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing) |
default T |
ChronoMerger.createFrom(TemporalAccessor threeten,
AttributeQuery attributes)
Creates a new entity of type T based on given chronological
data.
|
T |
Chronology.createFrom(TemporalAccessor threeten,
AttributeQuery attributes) |
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.
|
ChronoDisplay |
ChronoMerger.preformat(T context,
AttributeQuery attributes)
Transforms the current context/entity into another set of chronological
values which finally shall be formatted using given attributes.
|
ChronoDisplay |
Chronology.preformat(T context,
AttributeQuery attributes) |
<T extends ChronoEntity<T>> |
ChronoExtension.resolve(T entity,
Locale locale,
AttributeQuery attributes)
Updates the given value source if necessary in order to resolve
the values of extension elements to values of standard elements.
|
| 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.
|
AttributeQuery |
TemporalFormatter.getAttributes()
Determines all global format attributes if available.
|
| Modifier and Type | Method and Description |
|---|---|
V |
TextElement.parse(CharSequence text,
ParsePosition status,
AttributeQuery attributes)
Interpretes the given text as element value.
|
<V extends Enum<V>> |
TextAccessor.parse(CharSequence parseable,
ParsePosition status,
Class<V> valueType,
AttributeQuery attributes)
Interpretes given text form as enum-based element value.
|
void |
TextElement.print(ChronoDisplay context,
Appendable buffer,
AttributeQuery attributes)
Converts the element value in given context to a formatted text.
|
Copyright © 2014–2015. All rights reserved.