List of usage examples for org.apache.http.impl.cookie DateUtils PATTERN_ASCTIME
String PATTERN_ASCTIME
To view the source code for org.apache.http.impl.cookie DateUtils PATTERN_ASCTIME.
Click Source Link
From source file:com.orange.labs.sample.entry.EntryRow.java
public void setExtraInfo(final OrangeCloudAPI.Entry entry) { // Add Date//from ww w .j a v a 2s. c o m String creationDate = DateUtils.formatDate(entry.creationDate, DateUtils.PATTERN_ASCTIME); mDateView.setText(creationDate); // Add size mExtraView.setText(entry.size); // ask thumbnail mApi.thumbnail(entry, new OrangeListener.Success<Bitmap>() { @Override public void onResponse(Bitmap response) { if (mEntry.equals(entry)) { mImageView.setImageBitmap(response); } } }, new OrangeListener.Error() { @Override public void onErrorResponse(OrangeAPIException error) { // do nothing ! } }); }