public class Utils extends Object
Constructor and Description |
---|
Utils() |
Modifier and Type | Method and Description |
---|---|
static String |
calendarToXSDDateString(Calendar cal) |
static String |
calendarToXSDDateTimeString(Calendar cal) |
static String |
calendarToXSDTimeString(Calendar cal) |
static String |
className(Object obj) |
static String |
classShortName(Class<?> cls) |
static String |
nowAsString()
Return "now" as readable string (date in yyyy/MM/dd format)
|
static String |
nowAsString(org.apache.commons.lang3.time.FastDateFormat dateFormat) |
static String |
nowAsString(String formatString) |
static String |
nowAsXSDDateTimeString() |
static String |
stringForm(BigDecimal decimal) |
static String |
stringForm(double d) |
static String |
stringForm(float f) |
static String |
todayAsXSDDateString() |
static String |
XSDDateTime2String(XSDDateTime xdt) |
public static String nowAsXSDDateTimeString()
public static String todayAsXSDDateString()
public static String XSDDateTime2String(XSDDateTime xdt)
public static String nowAsString()
public static String nowAsString(org.apache.commons.lang3.time.FastDateFormat dateFormat)
public static String stringForm(BigDecimal decimal)
public static String stringForm(double d)
public static String stringForm(float f)
Licenced under the Apache License, Version 2.0