public class

ReplyDateFormat

extends BaseDateFormat
java.lang.Object
   ↳ com.pdftron.collab.utils.date.BaseDateFormat
     ↳ com.pdftron.collab.utils.date.ReplyDateFormat

Summary

Public Constructors
ReplyDateFormat(Date today, Locale locale)
Public Methods
String getDateString(Date date)
static DateFormat getSimpleDateFormat(Context context)
Returns a DateFormat formatted as yyyy-MM-dd.
static boolean isSameYear(Date date1, Date date2)
static ReplyDateFormat newInstance(Context context)
[Expand]
Inherited Methods
From class com.pdftron.collab.utils.date.BaseDateFormat
From class java.lang.Object

Public Constructors

public ReplyDateFormat (Date today, Locale locale)

Public Methods

public String getDateString (Date date)

public static DateFormat getSimpleDateFormat (Context context)

Returns a DateFormat formatted as yyyy-MM-dd.

Parameters
context to get device locale
Returns
  • DateFormat formatted as yyyy-MM-dd.

public static boolean isSameYear (Date date1, Date date2)

public static ReplyDateFormat newInstance (Context context)