iscomar001
12/1/2018 - 12:12 AM

DateFormatUtils

DateFormatUtils Apache commons

https://commons.apache.org/proper/commons-lang/apidocs/org/apache/commons/lang3/time/DateFormatUtils.html

org.apache.commons.lang3.time
Class DateFormatUtils

static String	format(Calendar calendar, String pattern)
Formats a calendar into a specific pattern.
static String	format(Calendar calendar, String pattern, Locale locale)
Formats a calendar into a specific pattern in a locale.
static String	format(Calendar calendar, String pattern, TimeZone timeZone)
Formats a calendar into a specific pattern in a time zone.
static String	format(Calendar calendar, String pattern, TimeZone timeZone, Locale locale)
Formats a calendar into a specific pattern in a time zone and locale.
static String	format(Date date, String pattern)
Formats a date/time into a specific pattern.
static String	format(Date date, String pattern, Locale locale)
Formats a date/time into a specific pattern in a locale.
static String	format(Date date, String pattern, TimeZone timeZone)
Formats a date/time into a specific pattern in a time zone.
static String	format(Date date, String pattern, TimeZone timeZone, Locale locale)
Formats a date/time into a specific pattern in a time zone and locale.
static String	format(long millis, String pattern)
Formats a date/time into a specific pattern.
static String	format(long millis, String pattern, Locale locale)
Formats a date/time into a specific pattern in a locale.
static String	format(long millis, String pattern, TimeZone timeZone)
Formats a date/time into a specific pattern in a time zone.
static String	format(long millis, String pattern, TimeZone timeZone, Locale locale)
Formats a date/time into a specific pattern in a time zone and locale.
static String	formatUTC(Date date, String pattern)
Formats a date/time into a specific pattern using the UTC time zone.
static String	formatUTC(Date date, String pattern, Locale locale)
Formats a date/time into a specific pattern using the UTC time zone.
static String	formatUTC(long millis, String pattern)
Formats a date/time into a specific pattern using the UTC time zone.
static String	formatUTC(long millis, String pattern, Locale locale)
Formats a date/time into a specific pattern using the UTC time zone.