Package de.xima.fc.utils
Class XDateFormatter
- java.lang.Object
-
- de.xima.fc.utils.XDateFormatter
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description String
format(Date date)
String
format(Date date, String pattern)
static XDateFormatter
newFormatter(Locale locale)
Deprecated.static XDateFormatter
newFormatter(Locale locale, ZoneId zone)
Get a new instance of anXDateFormatter
-
-
-
Method Detail
-
newFormatter
@Deprecated public static final XDateFormatter newFormatter(Locale locale)
Deprecated.Get a new instance of anXDateFormatter
- Parameters:
locale
-Locale
to be used. Ifnull
the default Locale will be used- Returns:
XDateFormatter
-
newFormatter
public static final XDateFormatter newFormatter(Locale locale, ZoneId zone)
Get a new instance of anXDateFormatter
- Parameters:
locale
-Locale
to be used. Ifnull
the default Locale will be usedzone
- Time zone to use for formatting.- Returns:
XDateFormatter
-
-