public class DateUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
COMMONS_RESOUCE_BUNDLE_NAME |
| Constructor and Description |
|---|
DateUtils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getRelativeTimeLabel(Locale locale,
long postedTime)
Gets prettyTime by timestamp.
|
static TimeZone |
getTimeZone(String ID)
This method is similar to
TimeZone.getTimeZone(String) with less contention |
public static final String COMMONS_RESOUCE_BUNDLE_NAME
public static TimeZone getTimeZone(String ID)
TimeZone.getTimeZone(String) with less contentionCopyright © 2003–2021 eXo Platform SAS. All rights reserved.