public class KeepingZonedDateTimeStrategy extends Object implements ZonedDateTimeStrategy
| Constructor and Description |
|---|
KeepingZonedDateTimeStrategy() |
| Modifier and Type | Method and Description |
|---|---|
ZoneId |
getZoneId(ZoneId input)
Return the ZoneId to use when formatting a
ZonedDateTime |
public ZoneId getZoneId(ZoneId input)
ZonedDateTimeStrategyZonedDateTimegetZoneId in interface ZonedDateTimeStrategyinput - The current ZoneId from a ZonedDateTime object.ZoneId that should be used when formatting the ZonedDateTime object.Copyright © 2020. All rights reserved.