Removed Debug messages

This commit is contained in:
daniel oeh 2012-06-14 14:46:32 +02:00
parent ee9662e73d
commit ea6085723b
1 changed files with 12 additions and 20 deletions

View File

@ -19,7 +19,6 @@ public class SyndDateUtils {
/** RFC 3339 date format for localtime dates with offset. */
public static final String RFC3339LOCAL = "yyyy-MM-dd'T'HH:mm:ssZ";
public static Date parseRFC822Date(final String date) {
Date result = null;
SimpleDateFormat format = new SimpleDateFormat(RFC822DAY);
@ -33,15 +32,7 @@ public class SyndDateUtils {
e1.printStackTrace();
}
}
if (result != null) {
Log.d(TAG, "Day is " + result.getDay());
Log.d(TAG, "Hours is " + result.getHours());
Log.d(TAG, "Minutes is " + result.getMinutes());
Log.d(TAG, "Seconds is" + result.getSeconds());
Log.d(TAG, "Month is " + result.getMonth());
Log.d(TAG, "Year is " + result.getYear());
Log.d(TAG, format.format(result));
}
return result;
}
@ -61,7 +52,8 @@ public class SyndDateUtils {
StringBuffer buf = new StringBuffer(date.length() - 1);
int colonIdx = date.lastIndexOf(':');
for (int x = 0; x < date.length(); x++) {
if (x != colonIdx) buf.append(date.charAt(x));
if (x != colonIdx)
buf.append(date.charAt(x));
}
String bufStr = buf.toString();
try {