public class SystemZonedDateTimeStrategy extends Object implements ZonedDateTimeStrategy
ZonedDateTimeStrategy that always will transform the input ZoneId to the ZoneId provided by
ZoneId.systemDefault().| Constructor and Description |
|---|
SystemZonedDateTimeStrategy() |
| 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.