main/core/Library/Normalizer/DateRangeNormalizer.php
public static function denormalize($dateRange = [])
    {
        if (!empty($dateRange)) {
            return [
                DateNormalizer::denormalize($dateRange[0]),
                DateNormalizer::denormalize($dateRange[1]),
            ];
        }

        return [null, null];
    }
public static function denormalize($dateRange = [])
    {
        if (!empty($dateRange)) {
            return [
                DateNormalizer::denormalize($dateRange[0]),
                DateNormalizer::denormalize($dateRange[1]),
            ];
        }

        return [null, null];
    }
public static function denormalize ( $ dateRange = [ ] ) { if ( ! empty ( $ dateRange ) ) { return [ DateNormalizer :: denormalize ( $ dateRange [ 0 ] ) , DateNormalizer :: denormalize ( $ dateRange [ 1 ] ) , ] ; } return [ null , null ] ; }
Denormalizes an array of date strings into DateTime objects.

@param array $dateRange

@return array
Denormalizes an array of date strings into DateTime objects .