public class ZonedDateTimeFactory extends AbstractTemporalFactory<ZonedDateTime>
All custom writers for json-io subclass this class. Special writers are not needed for handling user-defined classes. However, special writers are built/supplied by json-io for many of the primitive types and other JDK classes simply to allow for a more concise form.
dateTimeFormatter
Constructor and Description |
---|
ZonedDateTimeFactory() |
ZonedDateTimeFactory(DateTimeFormatter dateFormatter) |
Modifier and Type | Method and Description |
---|---|
protected ZonedDateTime |
fromJsonObject(JsonObject job) |
protected ZonedDateTime |
fromString(String s) |
fromNumber, isObjectFinal, newInstance
public ZonedDateTimeFactory(DateTimeFormatter dateFormatter)
public ZonedDateTimeFactory()
protected ZonedDateTime fromString(String s)
fromString
in class AbstractTemporalFactory<ZonedDateTime>
protected ZonedDateTime fromJsonObject(JsonObject job)
fromJsonObject
in class AbstractTemporalFactory<ZonedDateTime>
Copyright © 2023. All rights reserved.