getAsDateTime method
Converts array element into a DateTime or returns the current date if conversion is not possible.
index
an index of element to get. Returns DateTime value ot the element or the current date if conversion is not supported.
Implementation
DateTime getAsDateTime(int index) {
return getAsDateTimeWithDefault(index, DateTime.now().toUtc());
}