public class OffsetTimeFactory extends AbstractTemporalFactory<OffsetTime>
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, zoneId| Constructor and Description |
|---|
OffsetTimeFactory() |
OffsetTimeFactory(DateTimeFormatter dateFormatter,
ZoneId zoneId)
Specify zone if you don't want system default
|
| Modifier and Type | Method and Description |
|---|---|
protected OffsetTime |
fromJsonObject(JsonObject job,
ReaderContext context) |
protected OffsetTime |
fromNumber(Number l) |
protected OffsetTime |
fromString(String s) |
convertToZonedDateTime, isObjectFinal, newInstanceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgatherRemainingValues, newInstancepublic OffsetTimeFactory(DateTimeFormatter dateFormatter, ZoneId zoneId)
public OffsetTimeFactory()
protected OffsetTime fromNumber(Number l)
fromNumber in class AbstractTemporalFactory<OffsetTime>protected OffsetTime fromString(String s)
fromString in class AbstractTemporalFactory<OffsetTime>protected OffsetTime fromJsonObject(JsonObject job, ReaderContext context)
fromJsonObject in class AbstractTemporalFactory<OffsetTime>Copyright © 2023. All rights reserved.