Converts array element into a Date or returns default value if conversion is not possible.

        :param index: an index of element to get.

        :param default_value: the default value

        :return: Date value ot the element or default value if conversion is not supported.

def get_as_datetime_with_default(self, index, default_value):
        """
        Converts array element into a Date or returns default value if conversion is not possible.

        :param index: an index of element to get.

        :param default_value: the default value

        :return: Date value ot the element or default value if conversion is not supported.
        """
        value = self[index]
        return DateTimeConverter.to_datetime_with_default(value, default_value)