DateOnly

The return type is expected to be a LocalDate value. Arcade converts the return type to a LocalDate via the following transformations:

  • LocalDate objects are returned unchanged.

  • Instant objects are converted by removing their time component.

  • OffsetDateTime objects are converted by removing their time component and offset.

  • strings are parsed if they match the ISO 8601 format, YYYY-MM-DD.

  • all other types are converted to null.

Since

200.4.0