| 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 |
TimeAxis.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing)
Deprecated.
|
T |
ChronoMerger.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing)
Deprecated.
|
T |
Chronology.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing)
Deprecated.
|
S |
BridgeChronology.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean preparsing)
Deprecated.
|
T |
TimeAxis.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean lenient,
boolean preparsing) |
default T |
ChronoMerger.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean lenient,
boolean preparsing)
Creates a new entity of type T based on given chronological data.
|
T |
Chronology.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean lenient,
boolean preparsing) |
S |
BridgeChronology.createFrom(ChronoEntity<?> entity,
AttributeQuery attributes,
boolean lenient,
boolean preparsing) |
default T |
ChronoMerger.createFrom(TemporalAccessor threeten,
AttributeQuery attributes)
Deprecated.
Use new
bridge chronology |
T |
Chronology.createFrom(TemporalAccessor threeten,
AttributeQuery attributes)
Deprecated.
|
S |
BridgeChronology.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) |
S |
BridgeChronology.createFrom(TimeSource<?> clock,
AttributeQuery attributes) |
Set<ChronoElement<?>> |
ChronoExtension.getElements(Locale locale,
AttributeQuery attributes)
Returns the element set for given configuration.
|
ChronoDisplay |
BridgeChronology.preformat(S context,
AttributeQuery attributes) |
default 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) |
ChronoEntity<?> |
ChronoExtension.resolve(ChronoEntity<?> 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 |
|---|---|
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.
|
default int |
NumericalElement.printToInt(V value,
ChronoDisplay context,
AttributeQuery attributes)
Translates given element value to a numerical integer.
|
Copyright © 2014–2017. All rights reserved.