public class FormatUtil
extends java.lang.Object
Constructor and Description |
---|
FormatUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
formatBoolean(java.lang.Object val,
UserInfo userInfo) |
static java.lang.String |
formatDateTime(java.lang.Object val,
UserInfo userInfo) |
static java.lang.String |
formatDateTimeUTC(java.lang.Object val,
UserInfo userInfo) |
static java.lang.String |
formatDuration(java.lang.Double durationInDouble) |
static java.lang.String |
formatNumber(java.lang.Object val,
UserInfo userInfo) |
static java.lang.String |
formatObject(java.lang.Object val,
int dataType,
UserInfo userInfo,
boolean fmtDateAsUTC) |
static java.lang.String |
formatObject(java.lang.Object val,
UserInfo userInfo,
boolean fmtDateAsUTC) |
public static java.lang.String formatDateTime(java.lang.Object val, UserInfo userInfo)
public static java.lang.String formatDateTimeUTC(java.lang.Object val, UserInfo userInfo)
public static java.lang.String formatBoolean(java.lang.Object val, UserInfo userInfo)
public static java.lang.String formatNumber(java.lang.Object val, UserInfo userInfo)
public static java.lang.String formatDuration(java.lang.Double durationInDouble)
public static java.lang.String formatObject(java.lang.Object val, UserInfo userInfo, boolean fmtDateAsUTC)
public static java.lang.String formatObject(java.lang.Object val, int dataType, UserInfo userInfo, boolean fmtDateAsUTC)