Package net.time4j.format
Class RawValues
java.lang.Object
net.time4j.format.RawValues
- All Implemented Interfaces:
Consumer<ChronoDisplay>
,Supplier<ChronoDisplay>
Stores any kind of raw values as ChronoDisplay
.
Note: This class is mutable.
- Since:
- 3.0
- Author:
- Meno Hochschild
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
accept(ChronoDisplay rawValues)
Consumes given chronological raw values.get()
Yields the chronological raw values.
-
Constructor Details
-
RawValues
public RawValues()Initially this instance has no defined raw values.
-
-
Method Details
-
accept
Consumes given chronological raw values.
- Specified by:
accept
in interfaceConsumer<ChronoDisplay>
- Parameters:
rawValues
- raw chronological values- Since:
- 3.0
-
get
Yields the chronological raw values.
- Specified by:
get
in interfaceSupplier<ChronoDisplay>
- Returns:
- raw chronological values, never
null
- Since:
- 3.0
-