Parses a String to a DateTime object
DateTime? parseDateTime(String? dateString) { if (dateString == null) return null; return _parseRfc822DateTime(dateString) ?? _parseIso8601DateTime(dateString); }