class KMLSpatialTemporalUtils {

    static synchronized Date parseDateString(final String dateString)
    {
        Date date = null;

        if (!StringUtils.isBlank(dateString))
        {
            Matcher m = KML_TIME_PATTERN.matcher(dateString.trim());
            if (m.matches())
            {
                Calendar calendar = getCalendarFromMatcher(m);
                date = calendar.getTime();
            }
        }

        return date;
    }

    private  KMLSpatialTemporalUtils();

}