E - The java.time class this formatter handles.public abstract class AbstractFormatter<E> extends Object
Adapters supporting formatters will extend this class.
| Constructor and Description |
|---|
AbstractFormatter(E obj,
ZoneStrategy strategy) |
| Modifier and Type | Method and Description |
|---|---|
E |
getObject()
Get the
java.time object that should be formated. |
ZoneStrategy |
getStrategy()
Get the Zone strategy to be used when formatting the object.
|
ZoneId |
getTargetZoneId(List argumentList,
ZoneId zoneId) |
public AbstractFormatter(E obj, ZoneStrategy strategy)
public E getObject()
java.time object that should be formated.java.time object.public ZoneStrategy getStrategy()
Copyright © 2022. All rights reserved.