Back to project page DailySelfie.
The source code is released under:
Apache License
If you think the Android project DailySelfie listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package it.lusio.android.dailyselfie.ui; /* w w w . j a v a 2 s . c o m*/ import android.net.Uri; import java.text.SimpleDateFormat; import java.util.Date; public class Selfie { private final long mId; private final String mName; private final long mTime; private final Uri mImageUri; public Selfie(long time, Uri imageUri) { this.mId = time; this.mTime = time; this.mName = new SimpleDateFormat("MM/dd/yyyy HH:mm:ss").format(new Date(time)); this.mImageUri = imageUri; } public String getName() { return mName; } public long getTime() { return mTime; } public Uri getImageUri() { return mImageUri; } public long getId() { return mId; } }