public function parseDateAndTime($dateAndTimeToParse, I18n\Locale $locale, $formatLength = DatesReader::FORMAT_LENGTH_DEFAULT, $strictMode = true)
    {
        DatesReader::validateFormatLength($formatLength);
        return $this->doParsingWithParsedFormat($dateAndTimeToParse, $this->datesReader->parseFormatFromCldr($locale, DatesReader::FORMAT_TYPE_DATETIME, $formatLength), $this->datesReader->getLocalizedLiteralsForLocale($locale), $strictMode);
    }
public function parseDateAndTime($dateAndTimeToParse, I18n\Locale $locale, $formatLength = DatesReader::FORMAT_LENGTH_DEFAULT, $strictMode = true)
    {
        DatesReader::validateFormatLength($formatLength);
        return $this->doParsingWithParsedFormat($dateAndTimeToParse, $this->datesReader->parseFormatFromCldr($locale, DatesReader::FORMAT_TYPE_DATETIME, $formatLength), $this->datesReader->getLocalizedLiteralsForLocale($locale), $strictMode);
    }
public function parseDateAndTime ( $ dateAndTimeToParse , I18n \ Locale $ locale , $ formatLength = DatesReader :: FORMAT_LENGTH_DEFAULT , $ strictMode = true ) { DatesReader :: validateFormatLength ( $ formatLength ) ; return $ this -> doParsingWithParsedFormat ( $ dateAndTimeToParse , $ this -> datesReader -> parseFormatFromCldr ( $ locale , DatesReader :: FORMAT_TYPE_DATETIME , $ formatLength ) , $ this -> datesReader -> getLocalizedLiteralsForLocale ( $ locale ) , $ strictMode ) ; }
Parses dateTime with format string for date and time defined in CLDR for
particular locale.

@param string $dateAndTimeToParse Date and time to be parsed
@param I18n\Locale $locale
@param string $formatLength One of: full, long, medium, short, or 'default' in order to use default length from CLDR
@param boolean $strictMode Work mode (strict when true, lenient when false)
@return mixed Array of parsed date and time elements, false on failure
Parses dateTime with format string for date and time defined in CLDR for particular locale .