public class LocalTimeFactory extends AbstractTemporalFactory<LocalTime>
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 |
---|
LocalTimeFactory() |
LocalTimeFactory(DateTimeFormatter dateFormatter) |
Modifier and Type | Method and Description |
---|---|
protected LocalTime |
fromJsonObject(JsonObject job) |
protected LocalTime |
fromNumber(Number l) |
protected LocalTime |
fromString(String s) |
isObjectFinal, newInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
gatherRemainingValues
public LocalTimeFactory(DateTimeFormatter dateFormatter)
public LocalTimeFactory()
protected LocalTime fromString(String s)
fromString
in class AbstractTemporalFactory<LocalTime>
protected LocalTime fromNumber(Number l)
fromNumber
in class AbstractTemporalFactory<LocalTime>
protected LocalTime fromJsonObject(JsonObject job)
fromJsonObject
in class AbstractTemporalFactory<LocalTime>
Copyright © 2023. All rights reserved.