getAsNullableDuration method

Duration getAsNullableDuration (int index)

Converts array element into a Duration or returns null if conversion is not possible.

  • index an index of element to get. Returns Duration value of the element or null if conversion is not supported.

See DurationConverter.toNullableDuration