public final class DateUtils extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FORMAT_1 |
static String |
FORMAT_2 |
static String |
FORMAT_3 |
static String |
FORMAT_4 |
static String |
FORMAT_5 |
static String |
FORMAT_6 |
Modifier and Type | Method and Description |
---|---|
static String |
format(GregorianCalendar calendar) |
static String |
formatISO(GregorianCalendar calendar) |
static Date |
parseDate(String atomPubDate) |
static Date |
parseDate(String atomPubDate,
Locale locale) |
static Date |
parseDate(String date,
SimpleDateFormat sdf) |
static Date |
parseDate(String date,
String format) |
static Date |
parseJsonDate(String jsonDate) |
public static final String FORMAT_1
public static final String FORMAT_2
public static final String FORMAT_3
public static final String FORMAT_4
public static final String FORMAT_5
public static final String FORMAT_6
public static Date parseDate(String atomPubDate, Locale locale)
atomPubDate
- public static Date parseDate(String date, SimpleDateFormat sdf)
atomPubDate
- public static String format(GregorianCalendar calendar)
public static String formatISO(GregorianCalendar calendar)
Copyright © 2012-2018 Alfresco Software. All Rights Reserved.