public class DateUtilFormatter extends Object
Modifier and Type | Field and Description |
---|---|
static com.google.gwt.i18n.client.DateTimeFormat |
formatDate |
static com.google.gwt.i18n.client.DateTimeFormat |
formatTime |
Constructor and Description |
---|
DateUtilFormatter() |
Modifier and Type | Method and Description |
---|---|
static String |
getDateTimeToString(long time)
Gets the date time to string.
|
static String |
getDateToString(long time)
Gets the date to string.
|
public static com.google.gwt.i18n.client.DateTimeFormat formatDate
public static com.google.gwt.i18n.client.DateTimeFormat formatTime
public static String getDateTimeToString(long time)
time
- the timepublic static String getDateToString(long time)
time
- the timeCopyright © 2016. All Rights Reserved.