Removed Debug messages
This commit is contained in:
parent
ee9662e73d
commit
ea6085723b
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue