Here you can find the source of parseSearchApiDateTime(String dateString)
public static final Date parseSearchApiDateTime(String dateString)
//package com.java2s; import java.text.DateFormat; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Locale; import android.util.Log; public class Main { private static final String TAG = "DateTimeHelper"; public static final DateFormat TWITTER_SEARCH_API_DATE_FORMATTER = new SimpleDateFormat( "E, d MMM yyyy HH:mm:ss Z", Locale.US); public static final Date parseSearchApiDateTime(String dateString) { try {// w w w .j a va 2s . c o m return TWITTER_SEARCH_API_DATE_FORMATTER.parse(dateString); } catch (ParseException e) { Log.w(TAG, "Could not parse Twitter search date string: " + dateString); return null; } } }