Class FormatTime
- java.lang.Object
-
- org.fugerit.java.core.util.fun.helper.FormatTime
-
- All Implemented Interfaces:
Serializable
,StringFormat<Number>
public class FormatTime extends Object implements StringFormat<Number>, Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static FormatTime
DEFAULT
static FormatTime
INSTANCE_ISO_TZ
-
Constructor Summary
Constructors Constructor Description FormatTime(String formatString)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
convert(Number input)
String
getFormatString()
DateFormat
newDateFormat()
-
-
-
Field Detail
-
INSTANCE_ISO_TZ
public static final FormatTime INSTANCE_ISO_TZ
-
DEFAULT
public static final FormatTime DEFAULT
-
-
Constructor Detail
-
FormatTime
public FormatTime(String formatString)
-
-
Method Detail
-
getFormatString
public String getFormatString()
-
newDateFormat
public DateFormat newDateFormat()
-
convert
public String convert(Number input)
- Specified by:
convert
in interfaceStringFormat<Number>
-
-