public class KeepingZoneStrategy extends Object implements ZoneStrategy
| Constructor and Description |
|---|
KeepingZoneStrategy() |
| Modifier and Type | Method and Description |
|---|---|
ZoneId |
getZoneId()
Return the ZoneId to use for formatting a java.time object, when no zone information exists on object and are
not given as a parameter.
|
ZoneId |
getZoneId(ZoneId input)
Return the ZoneId to use for formatting a java.time object.
|
public ZoneId getZoneId(ZoneId input)
ZoneStrategygetZoneId in interface ZoneStrategyinput - The current ZoneId provided by a java.time object or method parameter.ZoneId that should be used for formatting the ZonedDateTime object.public ZoneId getZoneId()
ZoneStrategygetZoneId in interface ZoneStrategyZoneId that should be used for formatting the object.Copyright © 2022. All rights reserved.