Skip to content

Commit

Permalink
[Feature #10] Javadoc correction.
Browse files Browse the repository at this point in the history
  • Loading branch information
ledsoft committed Feb 1, 2022
1 parent da87cab commit 7dc5aa5
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions src/main/java/cz/cvut/kbss/jsonld/ConfigParam.java
Original file line number Diff line number Diff line change
Expand Up @@ -83,19 +83,21 @@ public enum ConfigParam {

/**
* Whether to serialize date/time values as the number of milliseconds since epoch (if applicable).
*
* <p>
* Serialization as the number of millis since epoch is the default way for {@link java.util.Date}, but is not very
* useful for the Java 8 datetime API. If set to {@code false}, date/time values will be serialized as String in the
* ISO 8601 format.
*
* <p>
* To provide consistent behavior of various datetime representations, this property defaults to false.
*/
SERIALIZE_DATETIME_AS_MILLIS("serializeDatetimeAsMillis"),

/**
* Format string used to serialize and deserialize datetime (date, time, datetime) values.
*
* Format string used to serialize and deserialize datetime values.
* <p>
* Note that if {@link #SERIALIZE_DATETIME_AS_MILLIS} is enabled, this parameter has no effect on serialization of datetime.
* <p>
* Also note that this format applies only to full datetime values. Date or time values have to be formatted per-attribute.
*/
DATE_TIME_FORMAT("dateTimeFormat");

Expand Down

0 comments on commit 7dc5aa5

Please sign in to comment.