@Nullable
    private static Date getDate(final Cursor cursor, final String column) {
        String sDate = null;
        Date oDate = null;
        final int idx = cursor.getColumnIndex(column);
        if (idx >= 0) {
            sDate = cursor.getString(idx);
        }
        if (sDate != null) {
            try {
                final long logDateMillis = Long.parseLong(sDate);
                oDate = new Date(logDateMillis);
            } catch (final NumberFormatException e) {
                Log.e("createTrackableFromDatabaseContent", e);
            }
        }
        return oDate;
    }
@return an immutable, non null list of logs
main/src/main/java/cgeo/geocaching/storage/DataStore.java