2

Where can I find any information about an instant in JDL? And how does it relate to a Date format...?

Besides this: https://www.jhipster.tech/jdl/

Available field types and constraints Here are the types supported in the JDL:

SQL          MongoDB    Cassandra   Validations
Instant      Instant    Instant     required

LocalDate   LocalDate   required    required
ZonedDateTime   ZonedDateTime       required

Thanks

1 Answer 1

5

All of the JDL data types are simply Java types. So an "Instant" refers to a Java "Instant" as described in the Java docs

An instantaneous point on the time-line.

This class models a single instantaneous point on the time-line. This might be used to record event time-stamps in the application.

1
  • Thanks Jon. Nice to meet you instant, never heard of you before .-)
    – Mike
    May 9, 2018 at 16:14

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.