public class DateTextUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
SIMULATOR_DATE_FORMAT |
| Constructor and Description |
|---|
DateTextUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Date |
getDateFromText(String dateStr)
Gets a date from an string using the platform format
|
static String |
getTextDate(Date date)
Returns the string representation of a date.
|
static String |
getTextDate(long timeInMs)
Returns the string representation of a date.
|
public static String SIMULATOR_DATE_FORMAT
public static Date getDateFromText(String dateStr)
dateStr - The string representation of the datepublic static String getTextDate(long timeInMs)
timeInMs - The date expressed in milliseconds.Copyright © 2012-2013 ADELE Research Group. All Rights Reserved.