TimeOnly

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

  • LocalTime objects are returned unchanged.

  • Instant objects are converted by removing their date component.

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

  • strings are parsed if they match the ISO 8601 format, HH:MM:SS.

  • all other types are converted to null.

Since

200.4.0