Interface JsonDateValue

All Superinterfaces:
JsonElement<String>, de.espirit.firstspirit.json.JsonOutput, JsonStringValue

@NonExtendable @Experimental public interface JsonDateValue extends JsonStringValue
This class represents a JSON value that is a date. As there is no such value in JSON the given date is transformed to an ISO 8601 String and passed to the constructor of the super class. CAUTION: This class is still in development and may change drastically without any further notice.
Since:
5.2.191206
See Also:
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static @NotNull JsonDateValue
    of(@NotNull Date date)
    Returns a new json element wrapping the given date.

    Methods inherited from interface de.espirit.firstspirit.json.JsonElement

    getValue

    Methods inherited from interface de.espirit.firstspirit.json.JsonOutput

    json, writeTo
  • Method Details